| javax.swing.JCheckBox net.xoetrope.swing.XCheckbox
XCheckbox | public XCheckbox()(Code) | | Construct a new checkbox
|
getComponentState | public Object getComponentState()(Code) | | Get the component state
Parameters: the - new component state |
getValue | public Object getValue()(Code) | | Get the checkbox's value if it has one or else get the text
the value for this button |
setAttribute | public void setAttribute(String attribName, String attribValue)(Code) | | Set one or more attributes of the component. Currently this handles the
attributes
- selected, value=true|false
- alignment, values=left|right|center|leading|trailing
Parameters: attribName - the attribute name Parameters: attribValue - the attribute value |
setComponentState | public void setComponentState(Object o)(Code) | | Set the component state
the object state |
setText | public void setText(String s)(Code) | | Set the checkbox text
Parameters: s - the new text |
setValue | public void setValue(Object newValue)(Code) | | Set the value associated with this button
Parameters: newValue - the new button value |
Fields inherited from javax.swing.JCheckBox | final public static String BORDER_PAINTED_FLAT_CHANGED_PROPERTY(Code)(Java Doc)
|
|
|