|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.DefaultButtonModel
com.jidesoft.swing.DefaultSplitButtonModel
public class DefaultSplitButtonModel
| Field Summary | |
|---|---|
static int |
BUTTON_ENABLED
Indicates that the button part of the split button is enabled or disabled. |
static int |
BUTTON_ROLLOVER
Indicates that the button part of the split button is rollover. |
static int |
BUTTON_SELECTED
Indicates that the button part of the split button has been selected. |
| Fields inherited from class javax.swing.DefaultButtonModel |
|---|
actionCommand, ARMED, changeEvent, ENABLED, group, listenerList, mnemonic, PRESSED, ROLLOVER, SELECTED, stateMask |
| Constructor Summary | |
|---|---|
DefaultSplitButtonModel()
|
|
| Method Summary | |
|---|---|
boolean |
isButtonEnabled()
Indicates if the button part of the JideSplitButton has been enabled. |
boolean |
isButtonRollover()
Indicates if the button part of the JideSplitButton is rollover. |
boolean |
isButtonSelected()
Indicates if the button part of the JideSplitButton has been selected. |
void |
setButtonEnabled(boolean b)
Selects or deselects the button part of the JideSplitButton. |
void |
setButtonRollover(boolean b)
Sets the button part of the JideSplitButton as rollover. |
void |
setButtonSelected(boolean b)
Selects or deselects the button part of the JideSplitButton. |
void |
setRollover(boolean b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.ButtonModel |
|---|
addActionListener, addChangeListener, addItemListener, getActionCommand, getMnemonic, isArmed, isEnabled, isPressed, isRollover, isSelected, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setPressed, setSelected |
| Methods inherited from interface java.awt.ItemSelectable |
|---|
getSelectedObjects |
| Field Detail |
|---|
public static final int BUTTON_SELECTED
public static final int BUTTON_ENABLED
public static final int BUTTON_ROLLOVER
| Constructor Detail |
|---|
public DefaultSplitButtonModel()
| Method Detail |
|---|
public void setButtonSelected(boolean b)
setButtonSelected in interface SplitButtonModelb - true selects the button, false deselects the buttonpublic boolean isButtonSelected()
isButtonSelected in interface SplitButtonModelpublic void setButtonEnabled(boolean b)
setButtonEnabled in interface SplitButtonModelb - true selects the button, false deselects the buttonpublic boolean isButtonEnabled()
isButtonEnabled in interface SplitButtonModelpublic void setButtonRollover(boolean b)
setButtonRollover in interface SplitButtonModelb - true set the button as rollover, false set the button as not rolloverpublic boolean isButtonRollover()
isButtonRollover in interface SplitButtonModelpublic void setRollover(boolean b)
setRollover in interface ButtonModelsetRollover in class DefaultButtonModel
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||