fri.gui.swing.polytreetable
Interface PolyTreeWillExpandListener

All Known Implementing Classes:
FileTreeTable

public interface PolyTreeWillExpandListener

Listen for a node about to be expanded or collapsed. This can be vetoed by throwing an VetoException.

Author:
Ritzberger Fritz
See Also:
PolyTreeExpansionEvent

Method Summary
 void treeWillCollapse(PolyTreeExpansionEvent event)
          Called when a tree node is about to be collapsed.
 void treeWillExpand(PolyTreeExpansionEvent event)
          Called when a tree node is about to be expanded.
 void treeWillStructureChange(PolyTreeExpansionEvent event)
          Called when the tree changes root ("lead term").
 

Method Detail

treeWillExpand

public void treeWillExpand(PolyTreeExpansionEvent event)
                    throws javax.swing.tree.ExpandVetoException
Called when a tree node is about to be expanded. Throw an ExpandVetoException from here if this should not happen.

javax.swing.tree.ExpandVetoException

treeWillCollapse

public void treeWillCollapse(PolyTreeExpansionEvent event)
                      throws javax.swing.tree.ExpandVetoException
Called when a tree node is about to be collapsed. Throw an ExpandVetoException from here if this should not happen.

javax.swing.tree.ExpandVetoException

treeWillStructureChange

public void treeWillStructureChange(PolyTreeExpansionEvent event)
                             throws javax.swing.tree.ExpandVetoException
Called when the tree changes root ("lead term").

javax.swing.tree.ExpandVetoException