bibliothek.gui.dock.station
Class SplitDockStation.VisibleListener

java.lang.Object
  extended by bibliothek.gui.dock.event.DockStationAdapter
      extended by bibliothek.gui.dock.station.SplitDockStation.VisibleListener
All Implemented Interfaces:
DockStationListener
Enclosing class:
SplitDockStation

private class SplitDockStation.VisibleListener
extends DockStationAdapter

This listener is added to the parent of this station, and ensures that the visibility-state of the children of this station is always correct.

Author:
Benjamin Sigg

Constructor Summary
private SplitDockStation.VisibleListener()
           
 
Method Summary
 void dockableVisibiltySet(DockStation station, Dockable dockable, boolean visible)
          Invoked if the visibility of a child has been changed.
 
Methods inherited from class bibliothek.gui.dock.event.DockStationAdapter
dockableAdded, dockableAdding, dockableRemoved, dockableRemoving
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitDockStation.VisibleListener

private SplitDockStation.VisibleListener()
Method Detail

dockableVisibiltySet

public void dockableVisibiltySet(DockStation station,
                                 Dockable dockable,
                                 boolean visible)
Description copied from interface: DockStationListener
Invoked if the visibility of a child has been changed. The visibility has to be implemented in a global scale. Callers may use the class DockableVisibilityManager to organize the calls in an easy way.

Specified by:
dockableVisibiltySet in interface DockStationListener
Overrides:
dockableVisibiltySet in class DockStationAdapter
Parameters:
station - the station whose children have changed their visibility
dockable - the Dockable whose visibility has changed
visible - the new visibility-state