Class TreeWillExpandListenerAction
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.TreeWillExpandListenerAction
-
- All Implemented Interfaces:
java.util.EventListener,javax.swing.event.TreeWillExpandListener
public class TreeWillExpandListenerAction extends java.lang.Object implements javax.swing.event.TreeWillExpandListenerA class which implements TreeWillExpandListener interface, The listener that's notified when a tree expands or collapses a node.
-
-
Constructor Summary
Constructors Constructor Description TreeWillExpandListenerAction(javax.swing.JTree tree, ClientPrimaryDataDirectory rootDirectory)Constructs aTreeWillExpandListenerActionthat is initialized withtreeas the jtree component, androotDirectoryas the EDAL Directory.
-
Method Summary
Modifier and Type Method Description voidtreeWillCollapse(javax.swing.event.TreeExpansionEvent e)voidtreeWillExpand(javax.swing.event.TreeExpansionEvent e)
-
-
-
Constructor Detail
-
TreeWillExpandListenerAction
public TreeWillExpandListenerAction(javax.swing.JTree tree, ClientPrimaryDataDirectory rootDirectory)Constructs aTreeWillExpandListenerActionthat is initialized withtreeas the jtree component, androotDirectoryas the EDAL Directory. If any of the parameters arenullthis method will not initialize.- Parameters:
tree- the jtree componentrootDirectory- the EDAL Directory
-
-
Method Detail
-
treeWillCollapse
public void treeWillCollapse(javax.swing.event.TreeExpansionEvent e) throws javax.swing.tree.ExpandVetoException- Specified by:
treeWillCollapsein interfacejavax.swing.event.TreeWillExpandListener- Throws:
javax.swing.tree.ExpandVetoException
-
treeWillExpand
public void treeWillExpand(javax.swing.event.TreeExpansionEvent e) throws javax.swing.tree.ExpandVetoException- Specified by:
treeWillExpandin interfacejavax.swing.event.TreeWillExpandListener- Throws:
javax.swing.tree.ExpandVetoException
-
-