void
addChangeListener(ChangeListener l)
Adds a ChangeListener
.
protected void
fireStateChanged()
Runs each ChangeListener
's stateChanged
method.
ChangeListener[]
getChangeListeners()
Returns an array of all the change listeners registered on this DefaultBoundedRangeModel
.
int
getExtent()
Returns the model's extent.
<T extends EventListener>
T[]
getListeners(Class<T> listenerType)
Returns an array of all the objects currently registered as FooListener
s upon this model.
int
getMaximum()
Returns the model's maximum.
int
getMinimum()
Returns the model's minimum.
int
getValue()
Returns the model's current value.
boolean
getValueIsAdjusting()
Returns true if the value is in the process of changing as a result of actions being taken by the user.
void
removeChangeListener(ChangeListener l)
Removes a ChangeListener
.
void
setExtent(int n)
Sets the extent to n after ensuring that n is greater than or equal to zero and falls within the model's constraints:
void
setMaximum(int n)
Sets the maximum to n after ensuring that n that the other three properties obey the model's constraints:
void
setMinimum(int n)
Sets the minimum to n after ensuring that n that the other three properties obey the model's constraints:
void
setRangeProperties(int newValue, int newExtent, int newMin, int newMax, boolean adjusting)
Sets all of the BoundedRangeModel
properties after forcing the arguments to obey the usual constraints:
void
setValue(int n)
Sets the current value of the model.
void
setValueIsAdjusting(boolean b)
Sets the valueIsAdjusting
property.
String
toString()
Returns a string that displays all of the BoundedRangeModel
properties.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4