Example usage for Java javax.swing BoundedRangeModel fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addChangeListener(ChangeListener x) Adds a ChangeListener to the model's listener list. |
int | getExtent() Returns the model's extent, the length of the inner range that begins at the model's value. |
int | getMaximum() Returns the model's maximum. |
int | getMinimum() Returns the minimum acceptable value. |
int | getValue() Returns the model's current value. |
boolean | getValueIsAdjusting() Returns true if the current changes to the value property are part of a series of changes. |
void | removeChangeListener(ChangeListener x) Removes a ChangeListener from the model's listener list. |
void | setExtent(int newExtent) Sets the model's extent. |
void | setMaximum(int newMaximum) Sets the model's maximum to newMaximum. |
void | setMinimum(int newMinimum) Sets the model's minimum to newMinimum. |
void | setRangeProperties(int value, int extent, int min, int max, boolean adjusting) This method sets all of the model's data with a single method call. |
void | setValue(int newValue) Sets the model's current value to newValue if newValue satisfies the model's constraints. |
void | setValueIsAdjusting(boolean b) This attribute indicates that any upcoming changes to the value of the model should be considered a single event. |
String | toString() Returns a string representation of the object. |