ch.randelshofer.undo
Class UndoCoalescingBoundedRangeModel
java.lang.Object
javax.swing.DefaultBoundedRangeModel
ch.randelshofer.undo.UndoCoalescingBoundedRangeModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.BoundedRangeModel
public class UndoCoalescingBoundedRangeModel
- extends javax.swing.DefaultBoundedRangeModel
- Author:
- werni
- See Also:
- Serialized Form
Field Summary |
protected javax.swing.event.EventListenerList |
listenerList
|
Fields inherited from class javax.swing.DefaultBoundedRangeModel |
changeEvent |
Methods inherited from class javax.swing.DefaultBoundedRangeModel |
addChangeListener, fireStateChanged, getChangeListeners, getExtent, getListeners, getMaximum, getMinimum, getValue, getValueIsAdjusting, removeChangeListener, setExtent, setMaximum, setMinimum, setRangeProperties, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
listenerList
protected javax.swing.event.EventListenerList listenerList
UndoCoalescingBoundedRangeModel
public UndoCoalescingBoundedRangeModel()
- Creates a new instance of UndoCoalescingBoundedRangeModel
UndoCoalescingBoundedRangeModel
public UndoCoalescingBoundedRangeModel(int value,
int extent,
int min,
int max)
setValueIsAdjusting
public void setValueIsAdjusting(boolean b)
- Specified by:
setValueIsAdjusting
in interface javax.swing.BoundedRangeModel
- Overrides:
setValueIsAdjusting
in class javax.swing.DefaultBoundedRangeModel
removeUndoableEditListener
public void removeUndoableEditListener(javax.swing.event.UndoableEditListener l)
- Removes an UndoableEditListener.
addUndoableEditListener
public void addUndoableEditListener(javax.swing.event.UndoableEditListener l)
- Adds an UndoableEditListener.
fireUndoableEditEvent
public void fireUndoableEditEvent(javax.swing.undo.UndoableEdit edit)
- Notify all listeners that have registered interest for
notification on this event type. The event instance
is lazily created using the parameters passed into
the fire method.