|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Added Methods | |
ActionListener[] getActionListeners() |
Returns an array of all the ActionListener s added to this AbstractButton with addActionListener(). |
ChangeListener[] getChangeListeners() |
Returns an array of all the ChangeListener s added to this AbstractButton with addChangeListener(). |
int getDisplayedMnemonicIndex() |
Returns the character as an index that the look and feel should provide decoration for as representing the mnemonic character. |
int getIconTextGap() |
Returns the amount of space between the text and the icon displayed in this button. |
ItemListener[] getItemListeners() |
Returns an array of all the ItemListener s added to this AbstractButton with addItemListener(). |
long getMultiClickThreshhold() |
Gets the amount of time (in milliseconds) required between mouse press events for the button to generate the corresponding action events. |
void setDisplayedMnemonicIndex(int ) |
Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic. |
void setIconTextGap(int ) |
If both the icon and text properties are set this property defines the space between them. |
void setMultiClickThreshhold(long ) |
Sets the amount of time (in milliseconds) required between mouse press events for the button to generate the corresponding action events. |
Changed Methods | ||
void configurePropertiesFromAction(Action ) |
Documentation changed from old to new. |
Factory method which sets the ActionEvent source's properties according to values from the Action instance. |
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. |
Icon getDisabledSelectedIcon() |
Documentation changed from old to new. |
Returns the icon used by the button when it's disabled and selected. |
int getHorizontalTextPosition() |
Documentation changed from old to new. |
Returns the horizontal position of the text relative to the icon. |
boolean isBorderPainted() |
Documentation changed from old to new. |
Gets the borderPainted property. |
boolean isContentAreaFilled() |
Documentation changed from old to new. |
Gets the contentAreaFilled property. |
boolean isFocusPainted() |
Documentation changed from old to new. |
Gets the paintFocus property. |
boolean isFocusTraversable() |
Documentation changed from old to new. Method was locally defined, but is now inherited from Component. Now deprecated. |
As of 1.4, replaced by isFocusable() . |
boolean isRolloverEnabled() |
Documentation changed from old to new. |
Gets the rolloverEnabled property. |
void paintBorder(Graphics ) |
Documentation changed from old to new. |
Paint the button's border if BorderPainted property is true and the button has a border. |
void setBorderPainted(boolean ) |
Documentation changed from old to new. |
Sets the borderPainted property. |
void setContentAreaFilled(boolean ) |
Documentation changed from old to new. |
Sets the contentAreaFilled property. |
void setFocusPainted(boolean ) |
Documentation changed from old to new. |
Sets the paintFocus property which must be true for the focus state to be painted. |
void setHorizontalTextPosition(int ) |
Documentation changed from old to new. |
Sets the horizontal position of the text relative to the icon. |
void setRolloverEnabled(boolean ) |
Documentation changed from old to new. |
Sets the rolloverEnabled property which must be true for rollover effects to occur. |
void updateUI() |
Documentation changed from old to new. |
Resets the UI property to a value from the current look and feel. |
void setMnemonic(char ) |
Documentation changed from old to new. |
This method is now obsolete please use setMnemonic(int) to set the mnemonic for a button. |
void setMnemonic(int ) |
Documentation changed from old to new. |
Sets the keyboard mnemonic on the current model. |
void setUI(ButtonUI ) |
Documentation changed from old to new. |
Sets the L&F object that renders this component. |
Changed Fields | ||
String CONTENT_AREA_FILLED_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies a change to having the button paint the content area. |
String ROLLOVER_ENABLED_CHANGED_PROPERTY |
Documentation changed from old to new. |
Identifies a change from rollover enabled to disabled or back to enabled. |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |