ButtonModel
, ItemSelectable
DefaultSplitButtonModel
, JideToggleSplitButton.ToggleSplitButtonModel
public interface SplitButtonModel extends ButtonModel
Modifier and Type | Method | Description |
---|---|---|
boolean |
isButtonEnabled() |
Indicates if the button is enabled.
|
boolean |
isButtonRollover() |
Indicates if the button part of the JideSplitButton is rollover.
|
boolean |
isButtonSelected() |
Indicates if the button has been selected.
|
void |
setButtonEnabled(boolean b) |
Enables or disables the button.
|
void |
setButtonRollover(boolean b) |
Sets the button part of the JideSplitButton as rollover.
|
void |
setButtonSelected(boolean b) |
Selects or deselects the button.
|
addActionListener, addChangeListener, addItemListener, getActionCommand, getMnemonic, isArmed, isEnabled, isPressed, isRollover, isSelected, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setPressed, setRollover, setSelected
getSelectedObjects
void setButtonSelected(boolean b)
b
- true selects the button,
false deselects the button.boolean isButtonSelected()
void setButtonEnabled(boolean b)
b
- true enables the button,
false disables the button.boolean isButtonEnabled()
void setButtonRollover(boolean b)
b
- true set the button as rollover,
false set the button as not rolloverboolean isButtonRollover()