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.TreeWillExpandListener
A 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 aTreeWillExpandListenerAction
that is initialized withtree
as the jtree component, androotDirectory
as the EDAL Directory.
-
Method Summary
Modifier and Type Method Description void
treeWillCollapse(javax.swing.event.TreeExpansionEvent e)
void
treeWillExpand(javax.swing.event.TreeExpansionEvent e)
-
-
-
Constructor Detail
-
TreeWillExpandListenerAction
public TreeWillExpandListenerAction(javax.swing.JTree tree, ClientPrimaryDataDirectory rootDirectory)
Constructs aTreeWillExpandListenerAction
that is initialized withtree
as the jtree component, androotDirectory
as the EDAL Directory. If any of the parameters arenull
this 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:
treeWillCollapse
in 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:
treeWillExpand
in interfacejavax.swing.event.TreeWillExpandListener
- Throws:
javax.swing.tree.ExpandVetoException
-
-