com.sas.servlet.beans
Class BaseCheckbox

java.lang.Object
  |
  +--com.sas.Component
        |
        +--com.sas.servlet.beans.BaseTransformation
              |
              +--com.sas.servlet.beans.BaseCheckbox
Direct Known Subclasses:
Checkbox

public abstract class BaseCheckbox
extends BaseTransformation
implements CheckboxInterface

Transformation bean base object for creating a checkbox

See Also:
Serialized Form

Constructor Summary
BaseCheckbox()
           
 
Method Summary
 String getLabel()
          Gets the displayed text associated with the checkbox
 boolean getSelected()
          Gets the state of the HTML object : TRUE is selected
 String getValue()
          Gets the value that is assigned to a checkbox that is on/selected
 void setLabel(String value)
          Sets the displayed text associated with the checkbox
 void setSelected(boolean value)
          Sets the state of the HTML object : TRUE is selected
 void setValue(String value)
          Sets the value that is assigned to a checkbox that is on/selected
 
Methods inherited from class com.sas.servlet.beans.BaseTransformation
getCustomAttributes, getDescription, getName, getParent, getRequest, getResponse, setCustomAttributes, setDescription, setName, setParent, setRequest, setResponse, toString, write, write, write, write
 
Methods inherited from class com.sas.Component
addLink, addPropertyChangeListener, addVetoableChangeListener, anyPropertyChangeListeners, attachModel, attachView, beansIsDesignTime, beansSetDesignTime, clone, clone, detachModel, detachView, dumpComponent, firePropertyChange, firePropertyChange, fireVetoableChange, getComponentDescription, getComponentSupportInfo, getEventMethod, getEventValues, getExtendedBeanInfo, getLinkInfo, getModelInterface, getRequiredInterfaces, getResources, getStringResource, getViewInterfaceSupportInfo, initialize, initializeComponent, isDesignTime, isLinked, propertyChange, queryLinks, queryLinks, refresh, removeAllLinks, removeInterfaceTraps, removeLink, removePropertyChangeListener, removeVetoableChangeListener, setComponentDescription, setComponentSupportInfo, setDefaultValues, setLinkInfo, setModelInterface, setRequiredInterfaces, setViewInterfaceSupportInfo, supportsListenerInterface, supportsRequiredInterfaces, trapInterfaceEvents, validateObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseCheckbox

public BaseCheckbox()
Method Detail

setValue

public void setValue(String value)
Sets the value that is assigned to a checkbox that is on/selected
Specified by:
setValue in interface CheckboxInterface
Parameters:
value - The value associated with the checkbox when it is on

getValue

public String getValue()
Gets the value that is assigned to a checkbox that is on/selected
Specified by:
getValue in interface CheckboxInterface
Returns:
The value associated with the checkbox when it is on

setLabel

public void setLabel(String value)
Sets the displayed text associated with the checkbox
Specified by:
setLabel in interface CheckboxInterface
Parameters:
value - The label

getLabel

public String getLabel()
Gets the displayed text associated with the checkbox
Specified by:
getLabel in interface CheckboxInterface
Returns:
The label

setSelected

public void setSelected(boolean value)
Sets the state of the HTML object : TRUE is selected
Specified by:
setSelected in interface CheckboxInterface
Parameters:
value - true if the HTML object is marked as selected

getSelected

public boolean getSelected()
Gets the state of the HTML object : TRUE is selected
Specified by:
getSelected in interface CheckboxInterface
Returns:
true if the HTML object is marked as selected


Version: 1.2.20000317.001 Formatted: 2000/07/06 15:57:33PM