|
|
javax > javax.swing > javax.swing.defaultbuttonmodel >
Class: javax.swing.DefaultButtonModel java.lang.Object javax.swing.DefaultButtonModel
public class DefaultButtonModel extends Object implements ButtonModel, Serializable
FIELDS:
public static final int ARMED : 1 public static final int ENABLED : 8 public static final int PRESSED : 4 public static final int ROLLOVER : 16 public static final int SELECTED : 2 protected String actionCommand protected ChangeEvent changeEvent protected ButtonGroup group protected EventListenerList listenerList protected int mnemonic protected int stateMask |
|
|
|
CONSTRUCTORS:
| | | public | DefaultButtonModel() |
| |
|
|
|
METHODS:
| | | | public | void | addActionListener(ActionListener l) |
| | public | void | addChangeListener(ChangeListener l) |
| | public | void | addItemListener(ItemListener l) |
| | protected | void | fireActionPerformed(ActionEvent e) |
| | protected | void | fireItemStateChanged(ItemEvent e) |
| | protected | void | fireStateChanged() |
| | public | String | getActionCommand() |
| | public | ActionListener[] | getActionListeners() |
| | public | ChangeListener[] | getChangeListeners() |
| | public | ButtonGroup | getGroup() |
| | public | ItemListener[] | getItemListeners() |
| | public | Object[] | getListeners(Class listenerType) Throws: ClassCastException |
| | public | int | getMnemonic() |
| | public | Object[] | getSelectedObjects() |
| | public | boolean | isArmed() |
| | public | boolean | isEnabled() |
| | public | boolean | isPressed() |
| | public | boolean | isRollover() |
| | public | boolean | isSelected() |
| | public | void | removeActionListener(ActionListener l) |
| | public | void | removeChangeListener(ChangeListener l) |
| | public | void | removeItemListener(ItemListener l) |
| | public | void | setActionCommand(String actionCommand) |
| | public | void | setArmed(boolean b) |
| | public | void | setEnabled(boolean b) |
| | public | void | setGroup(ButtonGroup group) |
| | public | void | setMnemonic(int key) |
| | public | void | setPressed(boolean b) |
| | public | void | setRollover(boolean b) |
| | public | void | setSelected(boolean b) |
| |
|
|
|
INHERITED METHODS:
| getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|