public class DockStationListenerManager extends Object
DockStationListeners
and provides methods to invoke the listeners.| Constructor and Description |
|---|
DockStationListenerManager(DockStation station)
Constructs a new manager.
|
public DockStationListenerManager(DockStation station)
station - The station which shall be used as origin, not nullpublic 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.dockableShowingChanged(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 DockStationListeners.oldSelected - the element which was selected earliernewSelected - the selected Dockablepublic void fireDockablesRepositioned(Dockable... dockables)
DockStationListener.dockablesRepositioned(DockStation, Dockable[]) on all
registered DockStationListeners.dockables - the elements that have a new positionCopyright © 2017 Docking Frames. All rights reserved.