com.fg.ftree
Interface FTreeExpansionListener
- All Superinterfaces:
- java.util.EventListener
- public interface FTreeExpansionListener
- extends java.util.EventListener
Interface defines an object which listens for the FTree
node expansion events - "will expand", "expanded", "will collapse",
"collapsed". User code can prevent a node from expansion and
collapsion by throwing FCancelException
from the nodeWillExpand(FTreeNodeEvent) and
nodeWillCollapse(FTreeNodeEvent) methods.
- Version:
- 1.0
- Author:
- Felix Golubov
- See Also:
FTreeNodeEvent,
FCancelException,
FTree
nodeWillExpand
public void nodeWillExpand(FTreeNodeEvent e)
throws FCancelException
- Throws:
FCancelException
nodeWillCollapse
public void nodeWillCollapse(FTreeNodeEvent e)
throws FCancelException
- Throws:
FCancelException
nodeExpanded
public void nodeExpanded(FTreeNodeEvent e)
nodeCollapsed
public void nodeCollapsed(FTreeNodeEvent e)