diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-20 15:19:25 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-20 15:19:25 +0000 |
commit | e90397d85b7a3044d041b7fbda82b400de618ba6 (patch) | |
tree | d11a60c0b846c98d6e8032a373e8fea0c4cbf1dc | |
parent | d5871f4048bc6a2633f1791bb0e6796f55cc5659 (diff) | |
download | gcc-e90397d85b7a3044d041b7fbda82b400de618ba6.tar.gz |
2004-02-20 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractButton.java: Made several constants final.
(getRolloverSelectedIcon): Made public.
(getSelectedIcon): Made public.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78169 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/javax/swing/AbstractButton.java | 42 |
2 files changed, 27 insertions, 21 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9e7199860a1..1a4fc99cb34 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-02-20 Michael Koch <konqueror@gmx.de> + + * javax/swing/AbstractButton.java: Made several constants final. + (getRolloverSelectedIcon): Made public. + (getSelectedIcon): Made public. + 2004-02-16 Per Bothner <per@bothner.com> * java/nio/CharBufferImpl.java: Inline super constructor. diff --git a/libjava/javax/swing/AbstractButton.java b/libjava/javax/swing/AbstractButton.java index 12244b3133e..de0be6350bb 100644 --- a/libjava/javax/swing/AbstractButton.java +++ b/libjava/javax/swing/AbstractButton.java @@ -233,61 +233,61 @@ public abstract class AbstractButton extends JComponent PropertyChangeListener actionPropertyChangeListener; /** Fired in a PropertyChangeEvent when the "borderPainted" property changes. */ - public static String BORDER_PAINTED_CHANGED_PROPERTY = "borderPainted"; + public static final String BORDER_PAINTED_CHANGED_PROPERTY = "borderPainted"; /** Fired in a PropertyChangeEvent when the "contentAreaFilled" property changes. */ - public static String CONTENT_AREA_FILLED_CHANGED_PROPERTY = "contentAreaFilled"; + public static final String CONTENT_AREA_FILLED_CHANGED_PROPERTY = "contentAreaFilled"; /** Fired in a PropertyChangeEvent when the "disabledIcon" property changes. */ - public static String DISABLED_ICON_CHANGED_PROPERTY = "disabledIcon"; + public static final String DISABLED_ICON_CHANGED_PROPERTY = "disabledIcon"; /** Fired in a PropertyChangeEvent when the "disabledSelectedIcon" property changes. */ - public static String DISABLED_SELECTED_ICON_CHANGED_PROPERTY = "disabledSelectedIcon"; + public static final String DISABLED_SELECTED_ICON_CHANGED_PROPERTY = "disabledSelectedIcon"; /** Fired in a PropertyChangeEvent when the "focusPainted" property changes. */ - public static String FOCUS_PAINTED_CHANGED_PROPERTY = "focusPainted"; + public static final String FOCUS_PAINTED_CHANGED_PROPERTY = "focusPainted"; /** Fired in a PropertyChangeEvent when the "horizontalAlignment" property changes. */ - public static String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY = "horizontalAlignment"; + public static final String HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY = "horizontalAlignment"; /** Fired in a PropertyChangeEvent when the "horizontalTextPosition" property changes. */ - public static String HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY = "horizontalTextPosition"; + public static final String HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY = "horizontalTextPosition"; /** Fired in a PropertyChangeEvent when the "icon" property changes. */ - public static String ICON_CHANGED_PROPERTY = "icon"; + public static final String ICON_CHANGED_PROPERTY = "icon"; /** Fired in a PropertyChangeEvent when the "margin" property changes. */ - public static String MARGIN_CHANGED_PROPERTY = "margin"; + public static final String MARGIN_CHANGED_PROPERTY = "margin"; /** Fired in a PropertyChangeEvent when the "mnemonic" property changes. */ - public static String MNEMONIC_CHANGED_PROPERTY = "mnemonic"; + public static final String MNEMONIC_CHANGED_PROPERTY = "mnemonic"; /** Fired in a PropertyChangeEvent when the "model" property changes. */ - public static String MODEL_CHANGED_PROPERTY = "model"; + public static final String MODEL_CHANGED_PROPERTY = "model"; /** Fired in a PropertyChangeEvent when the "pressedIcon" property changes. */ - public static String PRESSED_ICON_CHANGED_PROPERTY = "pressedIcon"; + public static final String PRESSED_ICON_CHANGED_PROPERTY = "pressedIcon"; /** Fired in a PropertyChangeEvent when the "rolloverEnabled" property changes. */ - public static String ROLLOVER_ENABLED_CHANGED_PROPERTY = "rolloverEnabled"; + public static final String ROLLOVER_ENABLED_CHANGED_PROPERTY = "rolloverEnabled"; /** Fired in a PropertyChangeEvent when the "rolloverIcon" property changes. */ - public static String ROLLOVER_ICON_CHANGED_PROPERTY = "rolloverIcon"; + public static final String ROLLOVER_ICON_CHANGED_PROPERTY = "rolloverIcon"; /** Fired in a PropertyChangeEvent when the "rolloverSelectedIcon" property changes. */ - public static String ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY = "rolloverSelectedIcon"; + public static final String ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY = "rolloverSelectedIcon"; /** Fired in a PropertyChangeEvent when the "selectedIcon" property changes. */ - public static String SELECTED_ICON_CHANGED_PROPERTY = "selectedIcon"; + public static final String SELECTED_ICON_CHANGED_PROPERTY = "selectedIcon"; /** Fired in a PropertyChangeEvent when the "text" property changes. */ - public static String TEXT_CHANGED_PROPERTY = "text"; + public static final String TEXT_CHANGED_PROPERTY = "text"; /** Fired in a PropertyChangeEvent when the "verticalAlignment" property changes. */ - public static String VERTICAL_ALIGNMENT_CHANGED_PROPERTY = "verticalAlignment"; + public static final String VERTICAL_ALIGNMENT_CHANGED_PROPERTY = "verticalAlignment"; /** Fired in a PropertyChangeEvent when the "verticalTextPosition" property changes. */ - public static String VERTICAL_TEXT_POSITION_CHANGED_PROPERTY = "verticalTextPosition"; + public static final String VERTICAL_TEXT_POSITION_CHANGED_PROPERTY = "verticalTextPosition"; /** * A Java Accessibility extension of the AbstractButton. @@ -1612,7 +1612,7 @@ public abstract class AbstractButton extends JComponent * * @return The current rollover selected icon */ - Icon getRolloverSelectedIcon() + public Icon getRolloverSelectedIcon() { return rollover_selected_icon; } @@ -1648,7 +1648,7 @@ public abstract class AbstractButton extends JComponent * * @return The current selected icon */ - Icon getSelectedIcon() + public Icon getSelectedIcon() { return selected_icon; } |