| 
 | Generated by JDiff | ||||||||
| PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS | ||||||||
| Added Methods | |
| voidconfigurePropertiesFromAction(Action) | Factory method which sets the ActionEventsource's properties according to values from theActioninstance. | 
| PropertyChangeListenercreateActionPropertyChangeListener(Action) | Factory method which creates the PropertyChangeListenerused to update theActionEventsource as properties change on itsActioninstance. | 
| ActiongetAction() | Returns the currently set Actionfor thisActionEventsource ornullif noActionis set. | 
| voidsetAction(Action) | Sets the Actionfor theActionEventsource. | 
| Changed Methods | ||
| voidaddActionListener(ActionListener) | Documentation changed from old to new. | Adds an ActionListenerto the button. | 
| voidaddChangeListener(ChangeListener) | Documentation changed from old to new. | Adds a ChangeListenerto the button. | 
| voidaddItemListener(ItemListener) | Documentation changed from old to new. | Adds an ItemListenerto thecheckbox. | 
| intcheckHorizontalKey(int, | Documentation changed from old to new. | Verify that key is a legal value for the horizontalAlignmentproperties. | 
| intcheckVerticalKey(int, | Documentation changed from old to new. | Ensures that the key is a valid. | 
| ChangeListenercreateChangeListener() | Documentation changed from old to new. | Subclasses that want to handle ChangeEventsdifferently can override this to return anotherChangeListenerimplementation. | 
| voidfireActionPerformed(ActionEvent) | Documentation changed from old to new. | Notifies all listeners that have registered interest for notification on this event type. | 
| voidfireItemStateChanged(ItemEvent) | Documentation changed from old to new. | Notifies all listeners that have registered interest for notification on this event type. | 
| voidfireStateChanged() | Documentation changed from old to new. | Notifies all listeners that have registered interest for notification on this event type. | 
| StringgetActionCommand() | Documentation changed from old to new. | Returns the action command for this button. | 
| IcongetDisabledIcon() | Documentation changed from old to new. | Returns the icon used by the button when it's disabled. | 
| IcongetDisabledSelectedIcon() | Documentation changed from old to new. | Returns the icon used by the button when it's disabled and selected. | 
| intgetHorizontalAlignment() | Documentation changed from old to new. | Returns the horizontal alignment of the icon and text. | 
| intgetHorizontalTextPosition() | Documentation changed from old to new. | Returns the horizontal position of the text relative to the icon. | 
| IcongetIcon() | Documentation changed from old to new. | Returns the default icon. | 
| StringgetLabel() | Documentation changed from old to new. | - Replaced by getText | 
| InsetsgetMargin() | Documentation changed from old to new. | Returns the margin between the button's border and the label. | 
| intgetMnemonic() | Documentation changed from old to new. | Returns the keyboard mnemonic from the the current model. | 
| ButtonModelgetModel() | Documentation changed from old to new. | Returns the model that this button represents. | 
| IcongetPressedIcon() | Documentation changed from old to new. | Returns the pressed icon for the button. | 
| IcongetRolloverIcon() | Documentation changed from old to new. | Returns the rollover icon for the button. | 
| IcongetRolloverSelectedIcon() | Documentation changed from old to new. | Returns the rollover selection icon for the button. | 
| IcongetSelectedIcon() | Documentation changed from old to new. | Returns the selected icon for the button. | 
| Object[]getSelectedObjects() | Documentation changed from old to new. Changed from synchronized to non-synchronized. | Returns an array (length 1) containing the label or nullif the button is not selected. | 
| StringgetText() | Documentation changed from old to new. | Returns the button's text. | 
| ButtonUIgetUI() | Documentation changed from old to new. | Returns the L&F object that renders this component. | 
| intgetVerticalAlignment() | Documentation changed from old to new. | Returns the vertical alignment of the text and icon. | 
| intgetVerticalTextPosition() | Documentation changed from old to new. | Returns the vertical position of the text relative to the icon. | 
| booleanimageUpdate(Image, | Documentation changed from old to new. Method was inherited from Component, but is now defined locally. | This is overridden to return false if the current Icon'sImageis not equal to the passed inImageimg. | 
| booleanisBorderPainted() | Documentation changed from old to new. | Returns whether the border should be painted. | 
| booleanisContentAreaFilled() | Documentation changed from old to new. | Checks whether the "content area" of the button should be filled. | 
| booleanisFocusPainted() | Documentation changed from old to new. | Returns whether focus should be painted. | 
| booleanisFocusTraversable() | Documentation changed from old to new. Method was inherited from JComponent, but is now defined locally. | Identifies whether or not this component can receive the focus. | 
| booleanisRolloverEnabled() | Documentation changed from old to new. | Checks whether rollover effects are enabled. | 
| booleanisSelected() | Documentation changed from old to new. | Returns the state of the button. | 
| voidpaintBorder(Graphics) | Documentation changed from old to new. | Paint the button's border if BorderPaintedproperty is true. | 
| StringparamString() | Documentation changed from old to new. | Returns a string representation of this AbstractButton. | 
| voidremoveActionListener(ActionListener) | Documentation changed from old to new. | Removes an ActionListenerfrom the button. | 
| voidremoveChangeListener(ChangeListener) | Documentation changed from old to new. | Removes a ChangeListener from the button. | 
| voidremoveItemListener(ItemListener) | Documentation changed from old to new. | Removes an ItemListenerfrom the button. | 
| voidsetActionCommand(String) | Documentation changed from old to new. | Sets the action command for this button. | 
| voidsetBorderPainted(boolean) | Documentation changed from old to new. | Sets whether the border should be painted. | 
| voidsetContentAreaFilled(boolean) | Documentation changed from old to new. | Sets whether the button should paint the content area or leave it transparent. | 
| voidsetDisabledIcon(Icon) | Documentation changed from old to new. | Sets the disabled icon for the button. | 
| voidsetDisabledSelectedIcon(Icon) | Documentation changed from old to new. | Sets the disabled selection icon for the button. | 
| voidsetEnabled(boolean) | Documentation changed from old to new. | Enables (or disables) the button. | 
| voidsetFocusPainted(boolean) | Documentation changed from old to new. | Sets whether focus should be painted. | 
| voidsetHorizontalAlignment(int) | Documentation changed from old to new. | Sets the horizontal alignment of the icon and text. | 
| voidsetHorizontalTextPosition(int) | Documentation changed from old to new. | Sets the horizontal position of the text relative to the icon. | 
| voidsetIcon(Icon) | Documentation changed from old to new. | Sets the button's default icon. | 
| voidsetLabel(String) | Documentation changed from old to new. | - Replaced by setText(text) | 
| voidsetMargin(Insets) | Documentation changed from old to new. | Sets space for margin between the button's border and the label. | 
| voidsetModel(ButtonModel) | Documentation changed from old to new. | Sets the model that this button represents. | 
| voidsetPressedIcon(Icon) | Documentation changed from old to new. | Sets the pressed icon for the button. | 
| voidsetRolloverEnabled(boolean) | Documentation changed from old to new. | Sets whether rollover effects should be enabled. | 
| voidsetRolloverIcon(Icon) | Documentation changed from old to new. | Sets the rollover icon for the button. | 
| voidsetRolloverSelectedIcon(Icon) | Documentation changed from old to new. | Sets the rollover selected icon for the button. | 
| voidsetSelected(boolean) | Documentation changed from old to new. | Sets the state of the button. | 
| voidsetSelectedIcon(Icon) | Documentation changed from old to new. | Sets the selected icon for the button. | 
| voidsetVerticalAlignment(int) | Documentation changed from old to new. | Sets the vertical alignment of the icon and text. | 
| voidsetVerticalTextPosition(int) | Documentation changed from old to new. | Sets the vertical position of the text relative to the icon. | 
| voidupdateUI() | Documentation changed from old to new. | Notification from the UIFactorythat the L&F has changed. | 
| voiddoClick() | Documentation changed from old to new. | Programmatically perform a "click". | 
| voiddoClick(int) | Documentation changed from old to new. | Programmatically perform a "click". | 
| voidsetMnemonic(char) | Documentation changed from old to new. | Specifies the mnemonic value. | 
| voidsetMnemonic(int) | Documentation changed from old to new. | Sets the keyboard mnemonic on the current model. | 
| voidsetUI(ButtonUI) | Documentation changed from old to new. | Sets the L&F object that renders this component. | 
| Changed Fields | ||
| StringROLLOVER_SELECTED_ICON_CHANGED_PROPERTY | Documentation changed from old to new. | Identifies a change to the icon used when the cursor is over the button and it has been selected. | 
| ActionListeneractionListener | Documentation changed from old to new. | The button model's ActionListener. | 
| ChangeEventchangeEvent | Documentation changed from old to new. | Only one ChangeEventis needed per button instance since the event's only state is the source property. | 
| ChangeListenerchangeListener | Documentation changed from old to new. | The button model's changeListener. | 
| ItemListeneritemListener | Documentation changed from old to new. | The button model's ItemListener. | 
| 
 | |||||||||
| PREV CLASS NEXT CLASS FRAMES NO FRAMES | |||||||||