FTreeExpansionListener
Keywords: com.fg.ftree.FTreeExpansionListener interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Method Summary
`void` | `nodeCollapsed(FTreeNodeEvent e)`
`void` | `nodeExpanded(FTreeNodeEvent e)`
`void` | `nodeWillCollapse(FTreeNodeEvent e)`
`void` | `nodeWillExpand(FTreeNodeEvent e)`

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD