|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Changed Constructors | ||
void ) |
Documentation changed from old to new. |
Constructs a default JButtonModel . |
Added Methods | |
ActionListener[] getActionListeners() |
Returns an array of all the action listeners registered on this DefaultButtonModel . |
ChangeListener[] getChangeListeners() |
Returns an array of all the change listeners registered on this DefaultButtonModel . |
ItemListener[] getItemListeners() |
Returns an array of all the item listeners registered on this DefaultButtonModel . |
Changed Methods | ||
void addActionListener(ActionListener ) |
Documentation changed from old to new. |
Adds an ActionListener to the button. |
void addChangeListener(ChangeListener ) |
Documentation changed from old to new. |
Adds a ChangeListener to the button. |
void addItemListener(ItemListener ) |
Documentation changed from old to new. |
Adds an ItemListener to the button. |
void fireActionPerformed(ActionEvent ) |
Documentation changed from old to new. |
Notifies all listeners that have registered interest for notification on this event type. |
void fireItemStateChanged(ItemEvent ) |
Documentation changed from old to new. |
Notifies all listeners that have registered interest for notification on this event type. |
void fireStateChanged() |
Documentation changed from old to new. |
Notifies all listeners that have registered interest for notification on this event type. |
String getActionCommand() |
Documentation changed from old to new. |
Returns the action command for this button. |
ButtonGroup getGroup() |
Documentation changed from old to new. |
Returns the group that this button belongs to. |
EventListener[] getListeners(Class ) |
Documentation changed from old to new. |
Returns an array of all the objects currently registered as FooListener s upon this model. |
Object[] getSelectedObjects() |
Documentation changed from old to new. |
Overridden to return null . |
boolean isEnabled() |
Documentation changed from old to new. |
Indicates whether the button can be selected or pressed by an input device (such as a mouse pointer). |
boolean isPressed() |
Documentation changed from old to new. |
Indicates whether button has been pressed. |
void removeActionListener(ActionListener ) |
Documentation changed from old to new. |
Removes an ActionListener from the button. |
void removeChangeListener(ChangeListener ) |
Documentation changed from old to new. |
Removes a ChangeListener from the button. |
void removeItemListener(ItemListener ) |
Documentation changed from old to new. |
Removes an ItemListener from the button. |
void setActionCommand(String ) |
Documentation changed from old to new. |
Sets the actionCommand string that gets sent as part of the event when the button is pressed. |
void setGroup(ButtonGroup ) |
Documentation changed from old to new. |
Identifies the group this button belongs to -- needed for radio buttons which are mutually exclusive within their group. |
void setSelected(boolean ) |
Documentation changed from old to new. |
Selects or deselects the button. |
Changed Fields | ||
ChangeEvent changeEvent |
Documentation changed from old to new. |
Only one ChangeEvent is needed per button model instance since the event's only state is the source property. |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |