bibliothek.gui.dock.station.split
Interface SplitDockPerspective.EntryListener

Enclosing class:
SplitDockPerspective

public static interface SplitDockPerspective.EntryListener

A listener that can be added to a SplitDockPerspective and that will receive events whenever the tree of the perspective changes.

Author:
Benjamin Sigg

Method Summary
 void added(SplitDockPerspective.Entry parent, SplitDockPerspective.Entry child)
          Called after child was added to parent.
 void modified(SplitDockPerspective.Leaf leaf, PerspectiveDockable oldDockable, PerspectiveDockable newDockable)
          Called if the content of leaf has been modified.
 void removed(SplitDockPerspective.Entry parent, SplitDockPerspective.Entry child)
          Called after child was removed from parent.
 

Method Detail

added

void added(SplitDockPerspective.Entry parent,
           SplitDockPerspective.Entry child)
Called after child was added to parent. This implies that the entire subtree below child was added to this perspective.

Parameters:
parent - the parent, either a Root or a Node
child - the child, either a Node or a Leaf

removed

void removed(SplitDockPerspective.Entry parent,
             SplitDockPerspective.Entry child)
Called after child was removed from parent. This implies that the entire subtree below child was removed from this perspective

Parameters:
parent - the parent, either a Root or a Node
child - the child, either a Node or a Leaf

modified

void modified(SplitDockPerspective.Leaf leaf,
              PerspectiveDockable oldDockable,
              PerspectiveDockable newDockable)
Called if the content of leaf has been modified.

Parameters:
leaf - the leaf whose children changed
oldDockable - the old element, can be null
newDockable - the new element, can be null