| java.lang.Object javax.swing.ButtonGroup com.jidesoft.swing.SplitButtonGroup
SplitButtonGroup | public class SplitButtonGroup extends ButtonGroup (Code) | | SplitButtonGroup extends ButtonGroup to provide the same button grouping function
for JideToggleSplitButton.
SplitButtonGroup supports regular JButton or JideButton as well.
|
SplitButtonGroup | public SplitButtonGroup()(Code) | | Creates a new ButtonGroup .
|
add | public void add(AbstractButton b)(Code) | | Adds the button to the group.
Parameters: b - the button to be added |
isSelected | public boolean isSelected(ButtonModel m)(Code) | | Returns whether a ButtonModel is selected.
true if the button is selected,otherwise returns false |
remove | public void remove(AbstractButton b)(Code) | | Removes the button from the group.
Parameters: b - the button to be removed |
setSelected | public void setSelected(ButtonModel m, boolean b)(Code) | | Sets the selected value for the ButtonModel .
Only one button in the group may be selected at a time.
Parameters: m - the ButtonModel Parameters: b - true if this button is to beselected, otherwise false |
|
|