| javax.swing.JRadioButton net.xoetrope.swing.XRadioButton
XRadioButton | public XRadioButton()(Code) | | |
associate | public void associate(Object cb)(Code) | | Adds the checkbox to the same group as this component.
Parameters: cb - the checkbox/radiobutton to be added to the group |
createGroup | public Object createGroup()(Code) | | Create a new checkbox group and adds this radio button top the new group
the new group |
getComponentState | public Object getComponentState()(Code) | | Get the component state
Parameters: the - new component state |
getRadioButtonGroup | public Object getRadioButtonGroup()(Code) | | Gets the group controlling this radio button
the ButtonGroup |
getSelectedObject | public Object getSelectedObject()(Code) | | Gets the selected radio button
the selected radio button |
getValue | public Object getValue()(Code) | | Get the radiobutton'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 |
setRadioButtonGroup | public void setRadioButtonGroup(Object grp)(Code) | | Set the button group
Parameters: grp - the group control this radio button |
setSelected | public void setSelected()(Code) | | Selects this radio button
|
setSelectedObject | public void setSelectedObject(Object object)(Code) | | Select an item
Parameters: i - the index of the item to select |
setValue | public void setValue(Object newValue)(Code) | | Set the value associated with this button
Parameters: newValue - the new button value |
|
|