public abstract class AbstractFlapLayoutManager extends java.lang.Object implements FlapLayoutManager
FlapLayoutManager
, providing support for listeners.Constructor and Description |
---|
AbstractFlapLayoutManager() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(FlapLayoutManagerListener listener)
Adds an observer to this manager, the observer is to be informed if an important property
changes.
|
protected void |
fireHoldSwitchableChanged(FlapDockStation station,
Dockable dockable)
Invokes the method
FlapLayoutManagerListener.holdSwitchableChanged(FlapLayoutManager, FlapDockStation, Dockable)
on all listeners that are currently registered. |
void |
removeListener(FlapLayoutManagerListener listener)
Removes the observer
listener from this manager. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSize, install, isHold, isHoldSwitchable, setHold, setSize, uninstall
public void addListener(FlapLayoutManagerListener listener)
FlapLayoutManager
addListener
in interface FlapLayoutManager
listener
- the new observer, not null
public void removeListener(FlapLayoutManagerListener listener)
FlapLayoutManager
listener
from this manager.removeListener
in interface FlapLayoutManager
listener
- the observer to removeprotected void fireHoldSwitchableChanged(FlapDockStation station, Dockable dockable)
FlapLayoutManagerListener.holdSwitchableChanged(FlapLayoutManager, FlapDockStation, Dockable)
on all listeners that are currently registered.station
- the station to which the event belongs or null
dockable
- the affected dockable or null