bibliothek.gui.dock.station.flap
Class AbstractFlapLayoutManager
java.lang.Object
bibliothek.gui.dock.station.flap.AbstractFlapLayoutManager
- All Implemented Interfaces:
- FlapLayoutManager
- Direct Known Subclasses:
- CFlapLayoutManager, DefaultFlapLayoutManager
public abstract class AbstractFlapLayoutManager
- extends Object
- implements FlapLayoutManager
Abstract implementation of FlapLayoutManager
, providing support for listeners.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFlapLayoutManager
public AbstractFlapLayoutManager()
addListener
public void addListener(FlapLayoutManagerListener listener)
- Description copied from interface:
FlapLayoutManager
- Adds an observer to this manager, the observer is to be informed if an important property
changes.
- Specified by:
addListener
in interface FlapLayoutManager
- Parameters:
listener
- the new observer, not null
removeListener
public void removeListener(FlapLayoutManagerListener listener)
- Description copied from interface:
FlapLayoutManager
- Removes the observer
listener
from this manager.
- Specified by:
removeListener
in interface FlapLayoutManager
- Parameters:
listener
- the observer to remove
fireHoldSwitchableChanged
protected void fireHoldSwitchableChanged(FlapDockStation station,
Dockable dockable)
- Invokes the method
FlapLayoutManagerListener.holdSwitchableChanged(FlapLayoutManager, FlapDockStation, Dockable)
on all listeners that are currently registered.
- Parameters:
station
- the station to which the event belongs or null
dockable
- the affected dockable or null