|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.list.UndoableListInstaller
public class UndoableListInstaller
The installer to make a JList have undoable feature.
Constructor Summary | |
---|---|
UndoableListInstaller(JList list)
The constructor. |
Method Summary | |
---|---|
void |
addUndo(UndoableEdit edit)
Adds an undoable edit to JideTable for further undo/redo. |
void |
addUndoableEditListener(UndoableEditListener listener)
Adds the undoable edit listener. |
void |
contentsChanged(ListDataEvent e)
|
protected ListTransferHandler |
createDefaultTransferHandler()
Creates the default transfer handler. |
UndoManager |
getUndoManager()
Gets the undo manager. |
void |
intervalAdded(ListDataEvent e)
|
void |
intervalRemoved(ListDataEvent e)
|
void |
propertyChange(PropertyChangeEvent evt)
|
void |
removeUndoableEditListener(UndoableEditListener listener)
Removes the undoable edit listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UndoableListInstaller(JList list)
list
- the list to install undoable featureMethod Detail |
---|
protected ListTransferHandler createDefaultTransferHandler()
BasicListUI.ListTransferHandler
.
public void intervalAdded(ListDataEvent e)
intervalAdded
in interface ListDataListener
public void intervalRemoved(ListDataEvent e)
intervalRemoved
in interface ListDataListener
public void contentsChanged(ListDataEvent e)
contentsChanged
in interface ListDataListener
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void addUndo(UndoableEdit edit)
edit
- the UndoableEditpublic UndoManager getUndoManager()
public void addUndoableEditListener(UndoableEditListener listener)
listener
- the listenerpublic void removeUndoableEditListener(UndoableEditListener listener)
listener
- the listener
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |