* <p>
* Notifies any listeners if the model changes.
*
* @param newExtent the model's new extent
* @see #getExtent
* @see #setValue
*/
void setExtent(int newExtent);
/**
* This method sets all of the model's data with a single method call.
* The method results in a single change event being generated. This is
* convenient when you need to adjust all the model data simultaneously and
* do not want individual change events to occur.
*
* @param value an int giving the current value
* @param extent an int giving the amount by which the value can "jump"
* @param min an int giving the minimum value
* @param max an int giving the maximum value
* @param adjusting a boolean, true if a series of changes are in
* progress
*
* @see #setValue
* @see #setExtent
* @see #setMinimum
* @see #setMaximum
* @see #setValueIsAdjusting
*/
void setRangeProperties(int value, int extent, int min, int max, boolean adjusting);
/**
* Adds a ChangeListener to the model's listener list.
*
* @param x the ChangeListener to add
* @see #removeChangeListener
*/
void addChangeListener(ChangeListener x);
/**
* Removes a ChangeListener from the model's listener list.
*
* @param x the ChangeListener to remove
* @see #addChangeListener
*/
void removeChangeListener(ChangeListener x);
}
=3=
THE END |