|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.action.AbstractDockActionSource
bibliothek.gui.dock.action.DefaultDockActionSource
bibliothek.gui.dock.station.flap.FlapDockStationSource
public class FlapDockStationSource
This DockActionSource
is used by the FlapDockStation
to show the hold-action
for a Dockable
.
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.action.AbstractDockActionSource |
---|
listeners |
Constructor Summary | |
---|---|
FlapDockStationSource(FlapDockStation station,
Dockable dockable,
DockAction holdAction)
Creates a new FlapDockStationSource . |
Method Summary | |
---|---|
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) . |
Methods inherited from class bibliothek.gui.dock.action.DefaultDockActionSource |
---|
add, add, addSeparator, addSeparator, getDockAction, getDockActionCount, getLocationHint, indexOf, iterator, remove, remove, remove, removeAll, setHint |
Methods inherited from class bibliothek.gui.dock.action.AbstractDockActionSource |
---|
addDockActionSourceListener, fireAdded, fireRemoved, hasListeners, removeDockActionSourceListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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 null
Method Detail |
---|
public void setHoldAction(DockAction holdAction)
holdAction
- the new action to show, can be null
public void updateHoldSwitchable()
FlapLayoutManager.isHoldSwitchable(FlapDockStation, Dockable)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |