com.sas.servlet.beans
Interface CheckboxInterface

All Known Implementing Classes:
BaseCheckbox

public interface CheckboxInterface
extends TransformationInterface, ComponentInterface

Transformation bean definition for creating a Checkbox.


Method Summary
 String getLabel()
          Gets the displayed text associated with the checkbox
 boolean getSelected()
          Gets the state of the target 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 target object : TRUE is selected
 void setValue(String value)
          Sets the value that is assigned to a checkbox that is on/selected
 
Methods inherited from interface com.sas.servlet.beans.TransformationInterface
getCustomAttributes, getDescription, getName, getParent, getRequest, getResponse, setCustomAttributes, setDescription, setName, setParent, setRequest, setResponse, write, write, write, write
 

Method Detail

setValue

public void setValue(String value)
Sets the value that is assigned to a checkbox that is on/selected
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
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
Parameters:
value - The label

getLabel

public String getLabel()
Gets the displayed text associated with the checkbox
Returns:
The label

setSelected

public void setSelected(boolean value)
Sets the state of the target object : TRUE is selected
Parameters:
value - true if the object is marked as selected

getSelected

public boolean getSelected()
Gets the state of the target object : TRUE is selected
Returns:
true if the object is marked as selected


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