cmu.survey.objects
Class ButtonObject

java.lang.Object
  extended by cmu.survey.objects.ButtonObject

public class ButtonObject
extends java.lang.Object


Field Summary
static int DELETE
           
static int SUBMIT
           
static int UNDEFINED
           
 
Constructor Summary
ButtonObject()
           
 
Method Summary
 java.lang.String getButtonImage()
           
 java.lang.String getButtonImageDown()
           
 java.lang.String getButtonImageRollover()
           
 java.lang.String getButtonText()
           
 boolean getShowButtonOnlyIfNoJavaScript()
           
 int getType()
           
 boolean isShowButtonOnlyIfNoJavaScript()
           
 void setButtonImage(java.lang.String string)
           
 void setButtonImageDown(java.lang.String string)
           
 void setButtonImageRollover(java.lang.String string)
           
 void setButtonText(java.lang.String string)
           
 void setShowButtonOnlyIfNoJavaScript(boolean b)
           
 void setType(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED

public static final int UNDEFINED
See Also:
Constant Field Values

SUBMIT

public static final int SUBMIT
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values
Constructor Detail

ButtonObject

public ButtonObject()
Method Detail

getButtonImage

public java.lang.String getButtonImage()
Returns:

getButtonImageDown

public java.lang.String getButtonImageDown()
Returns:

getButtonImageRollover

public java.lang.String getButtonImageRollover()
Returns:

getButtonText

public java.lang.String getButtonText()
Returns:

isShowButtonOnlyIfNoJavaScript

public boolean isShowButtonOnlyIfNoJavaScript()
Returns:

setButtonImage

public void setButtonImage(java.lang.String string)
Parameters:
string -

setButtonImageDown

public void setButtonImageDown(java.lang.String string)
Parameters:
string -

setButtonImageRollover

public void setButtonImageRollover(java.lang.String string)
Parameters:
string -

setButtonText

public void setButtonText(java.lang.String string)
Parameters:
string -

setShowButtonOnlyIfNoJavaScript

public void setShowButtonOnlyIfNoJavaScript(boolean b)
Parameters:
b -

getShowButtonOnlyIfNoJavaScript

public boolean getShowButtonOnlyIfNoJavaScript()

getType

public int getType()
Returns:

setType

public void setType(int i)
Parameters:
i -