com.levigo.util.swing.action
Class TreeSelectionContextUpdater

java.lang.Object
  extended by com.levigo.util.swing.action.TreeSelectionContextUpdater
All Implemented Interfaces:
EventListener, TreeSelectionListener

public class TreeSelectionContextUpdater
extends Object
implements TreeSelectionListener

A TreeSelectionListenerwhich updates the given context whenever the tree selection changes.


Constructor Summary
TreeSelectionContextUpdater(Context c)
           
 
Method Summary
protected  Object treeNodeToContextObject(Object node)
          This method may be overridden to perform implementation-specific "unpacking" of the node objects.
 void valueChanged(TreeSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSelectionContextUpdater

public TreeSelectionContextUpdater(Context c)
Method Detail

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.