bibliothek.gui.dock.station
Class StackDockStation.VisibleListener
java.lang.Object
bibliothek.gui.dock.event.DockStationAdapter
bibliothek.gui.dock.station.StackDockStation.VisibleListener
- All Implemented Interfaces:
- DockStationListener, java.util.EventListener, javax.swing.event.ChangeListener
- Enclosing class:
- StackDockStation
private class StackDockStation.VisibleListener
- extends DockStationAdapter
- implements javax.swing.event.ChangeListener
A listener for the parent of this station. This listener will fire
events if the visibility-state of this station changes.
This listener is also added to the stack-component
of the station, and ensures that the visible child has the focus.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackDockStation.VisibleListener
private StackDockStation.VisibleListener()
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 visibilitydockable
- the Dockable
whose visibility has changedvisible
- the new visibility-state
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- Specified by:
stateChanged
in interface javax.swing.event.ChangeListener