com.levigo.util.swing.action
Class TreeSelectionContextUpdater
java.lang.Object
com.levigo.util.swing.action.TreeSelectionContextUpdater
- All Implemented Interfaces:
- EventListener, TreeSelectionListener
public class TreeSelectionContextUpdater
- extends Object
- implements TreeSelectionListener
A TreeSelectionListener
which updates the given
context whenever the tree selection changes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeSelectionContextUpdater
public TreeSelectionContextUpdater(Context c)
valueChanged
public void valueChanged(TreeSelectionEvent e)
- Specified by:
valueChanged
in interface TreeSelectionListener
treeNodeToContextObject
protected Object treeNodeToContextObject(Object node)
- This method may be overridden to perform implementation-specific
"unpacking" of the node objects.
- Parameters:
node
-
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.