|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.support.DockStationListenerManager
public class DockStationListenerManager
This manager stores DockStationListeners
and provides methods to invoke the listeners.
Constructor Summary | |
---|---|
DockStationListenerManager(DockStation station)
Constructs a new manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DockStationListenerManager(DockStation station)
station
- The station which shall be used as origin, not null
Method Detail |
---|
public DockStation getStation()
public void addListener(DockStationListener listener)
listener
- the new listenerpublic void removeListener(DockStationListener listener)
listener
- the listener to removepublic void fireDockableVisibilitySet(Dockable dockable, boolean value)
DockStationListener.dockableVisibiltySet(DockStation, Dockable, boolean)
on all registered DockStationListeners
.
dockable
- the Dockable
whose visibility has changedvalue
- the new statepublic void fireDockableAdded(Dockable dockable)
DockStationListener.dockableAdded(DockStation, Dockable)
on all registered DockStationListeners
.
dockable
- the Dockable
which was addedpublic void fireDockableRemoved(Dockable dockable)
DockStationListener.dockableRemoved(DockStation, Dockable)
on all registered DockStationListeners
.
dockable
- the Dockable
which was removedpublic void fireDockableAdding(Dockable dockable)
DockStationListener.dockableAdding(DockStation, Dockable)
on all registered DockStationListeners
.
dockable
- the Dockable
which will be addedpublic void fireDockableRemoving(Dockable dockable)
DockStationListener.dockableRemoving(DockStation, Dockable)
on all registered DockStationListeners
.
dockable
- the Dockable
which will be removedpublic void fireDockableSelected(Dockable oldSelected, Dockable newSelected)
DockStationListener.dockableSelected(DockStation, Dockable, Dockable)
on all registered DockStationListener
s.
oldSelected
- the element which was selected earliernewSelected
- the selected Dockable
public void fireDockablesRepositioned(Dockable... dockables)
DockStationListener.dockablesRepositioned(DockStation, Dockable[])
on all
registered DockStationListener
s.
dockables
- the elements that have a new position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |