diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-01-16 15:14:51 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-01-16 15:14:51 +0000 |
commit | f3bca904add8a1e256b2c245c169e8e5a69efcd7 (patch) | |
tree | 4b18335ee421c49bcc9a418d9abc4193634986f7 /javax/swing/BoundedRangeModel.java | |
parent | e38101c185b90d301bac951b84a77ed711d18e54 (diff) | |
download | classpath-f3bca904add8a1e256b2c245c169e8e5a69efcd7.tar.gz |
2005-01-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
Final merge of HEAD patches to generics branch
All changes are listed in merged Changelog.
In addition,
* java/lang/System.java:
(getenv()): changed Runtime.securityManager to
SecurityManager.current
(getenv(String)): likewise
(remove(String)): pointed to SystemProperties
* gnu/classpath/SystemProperties.java:
(remove(String)): implemented and documented
Diffstat (limited to 'javax/swing/BoundedRangeModel.java')
-rw-r--r-- | javax/swing/BoundedRangeModel.java | 219 |
1 files changed, 125 insertions, 94 deletions
diff --git a/javax/swing/BoundedRangeModel.java b/javax/swing/BoundedRangeModel.java index 907e7045d..92cf69df8 100644 --- a/javax/swing/BoundedRangeModel.java +++ b/javax/swing/BoundedRangeModel.java @@ -35,103 +35,134 @@ this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ + package javax.swing; import javax.swing.event.ChangeListener; /** - * BoundedRangeModel - * @author Andrew Selkirk - * @version 1.0 + * @author Andrew Selkirk */ -public interface BoundedRangeModel { - - //------------------------------------------------------------- - // Methods ---------------------------------------------------- - //------------------------------------------------------------- - - /** - * getValue - * @returns int - */ - int getValue(); - - /** - * setValue - * @param value TODO - */ - void setValue(int value); - - /** - * getMinimum - * @returns int - */ - int getMinimum(); - - /** - * setMinimum - * @param minimum TODO - */ - void setMinimum(int minimum); - - /** - * getMaximum - * @returns int - */ - int getMaximum(); - - /** - * setMaximum - * @param maximum TODO - */ - void setMaximum(int maximum); - - /** - * getValueIsAdjusting - * @returns boolean - */ - boolean getValueIsAdjusting(); - - /** - * setValueIsAdjusting - * @param adjusting TODO - */ - void setValueIsAdjusting(boolean adjusting); - - /** - * getExtent - * @returns int - */ - int getExtent(); - - /** - * setExtent - * @param extent TODO - */ - void setExtent(int extent); - - /** - * setRangeProperties - * @param value TODO - * @param extent TODO - * @param min TODO - * @param max TODO - * @param adjusting TODO - */ - void setRangeProperties(int value, int extent, int min, - int max, boolean adjusting); - - /** - * addChangeListener - * @param listener TODO - */ - void addChangeListener(ChangeListener listener); - - /** - * removeChangeListener - * @param listener TODO - */ - void removeChangeListener(ChangeListener listener); - - -} // BoundedRangeModel +public interface BoundedRangeModel +{ + /** + * getValue + * + * @return int + * + * @see #setValue(int) + */ + int getValue(); + + /** + * setValue + * + * @param value the value + * + * @see #getValue() + */ + void setValue(int value); + + /** + * getMinimum + * + * @return int + * + * @see #setMinimum(int) + */ + int getMinimum(); + + /** + * setMinimum + * + * @param minimum the minimum value + * + * @see #getMinimum() + */ + void setMinimum(int minimum); + + /** + * getMaximum + * + * @return int + * + * @see #setMaximum(int) + */ + int getMaximum(); + + /** + * setMaximum + * + * @param maximum the maximum value + * + * @see #getMaximum() + */ + void setMaximum(int maximum); + + /** + * Returns the value of the <code>valueIsAdjusting</code> property. + * + * @return <code>true</code> if value is adjusting, + * otherwise <code>false</code> + * + * @see setValueIsAdjusting(boolean) + */ + boolean getValueIsAdjusting(); + + /** + * setValueIsAdjusting + * + * @param adjusting <code>true</code> if adjusting, + * <code>false</code> otherwise + * + * @see #getValueIsAdjusting() + */ + void setValueIsAdjusting(boolean adjusting); + + /** + * Returns the current extent. + * + * @return the extent + * + * @see #setExtent(int) + */ + int getExtent(); + + /** + * setExtent + * + * @param extent the extent + * + * @see #getExtent() + */ + void setExtent(int extent); + + /** + * setRangeProperties + * @param value the value + * @param extent the extent + * @param minnimum the minimum value + * @param maximum the maximum value + * @param adjusting TODO + */ + void setRangeProperties(int value, int extent, int minimum, int maximum, + boolean adjusting); + + /** + * Adds a <code>ChangeListener</code> to this object. + * + * @param listener the listener to add + * + * @see #removeChangeListener(javax.swing.event.ChangeListener) + */ + void addChangeListener(ChangeListener listener); + + /** + * Removes a <code>ChangeListener</code> from this object. + * + * @param listener the listener to remove + * + * @see #addChangeListener(javax.swing.event.ChangeListener) + */ + void removeChangeListener(ChangeListener listener); +} |