public abstract class IlvAbstractBoundedRangeModel extends Object implements BoundedRangeModel, Serializable
JScrollBar
, JSlider
, and JProgressBar
with their contents.Constructor and Description |
---|
IlvAbstractBoundedRangeModel()
Creates a new
IlvAbstractBoundedRangeModel . |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds the specified listener to receive change events from this model.
|
protected void |
fireStateChanged()
Call this method to fire a
stateChanged event to all
registered listeners . |
void |
removeChangeListener(ChangeListener listener)
Removes the specified listener so that it will no longer receive
change events from this model.
|
String |
toString()
Returns a string representation of this model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtent, getMaximum, getMinimum, getValue, getValueIsAdjusting, setExtent, setMaximum, setMinimum, setRangeProperties, setValue, setValueIsAdjusting
public IlvAbstractBoundedRangeModel()
IlvAbstractBoundedRangeModel
.public void addChangeListener(ChangeListener listener)
addChangeListener
in interface BoundedRangeModel
listener
- The listener that will be subscribed to subsequent
change events.removeChangeListener(javax.swing.event.ChangeListener)
public void removeChangeListener(ChangeListener listener)
removeChangeListener
in interface BoundedRangeModel
listener
- The listener that will be unsubscribed from receiving
change events.addChangeListener(javax.swing.event.ChangeListener)
protected void fireStateChanged()
stateChanged
event to all
registered listeners
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.