public class FlapDockStationSource extends DefaultDockActionSource
listeners| Constructor and Description |
|---|
FlapDockStationSource(FlapDockStation station,
Dockable dockable,
DockAction holdAction)
Creates a new
FlapDockStationSource. |
| Modifier and Type | Method and Description |
|---|---|
void |
setHoldAction(DockAction holdAction)
Changes the action that is shown in this source
|
void |
updateHoldSwitchable()
Adds or removes the only action of this source depending on the result
of
FlapLayoutManager.isHoldSwitchable(FlapDockStation, Dockable). |
add, add, addSeparator, addSeparator, getDockAction, getDockActionCount, getLocationHint, indexOf, iterator, remove, remove, remove, removeAll, setHintaddDockActionSourceListener, fireAdded, fireRemoved, hasListeners, removeDockActionSourceListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FlapDockStationSource(FlapDockStation station, Dockable dockable, DockAction holdAction)
FlapDockStationSource.station - the owner of this sourcedockable - the element for which this source is usedholdAction - the action to show, can be nullpublic void setHoldAction(DockAction holdAction)
holdAction - the new action to show, can be nullpublic void updateHoldSwitchable()
FlapLayoutManager.isHoldSwitchable(FlapDockStation, Dockable).Copyright © 2017 Docking Frames. All rights reserved.