Interface TreeExpansionListener

  • All Superinterfaces:
    EventListener, FormEventListener

    public interface TreeExpansionListener
    extends FormEventListener

    An event listener interface to be implemented by objects that are interested in changes of the expansion state of tree nodes.

    Listeners of this type are notified whenever a node of a tree is expanded or collapsed. The single method defined by this interface tells the listener that the expansion state of a node has changed. The type property of the provided event object can be inspected to find out whether the node was expanded or collapsed.

    Version:
    $Id: TreeExpansionListener.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Method Detail

      • expansionStateChanged

        void expansionStateChanged​(TreeExpansionEvent event)
        The expansion state of a node has changed. The passed in event object contains all information available. Especially the affected tree control, the type of the event, and the path to the node in question can be queried.
        Parameters:
        event - the event