protected class FlapDockStation.DockableHandle extends Object implements PlaceholderListItem<Dockable>
Dockable.| Constructor and Description |
|---|
DockableHandle(Dockable dockable)
Creates a new wrapper around
dockable |
DockableHandle(Dockable dockable,
boolean forceActionSourceCreation)
Creates a new wrapper around
dockable |
| Modifier and Type | Method and Description |
|---|---|
Dockable |
asDockable()
Gets the
Dockable that is associated with this item. |
FlapDockStationSource |
getActions()
Gets the
DockActionSource that should be shown on the Dockable. |
Dockable |
getDockable() |
DockTitle |
getTitle() |
void |
resetHoldAction()
Sets the action of
getActions() back to the action that was created
by FlapDockStation.createHoldAction(). |
void |
setTitle(DockTitleVersion version) |
public DockableHandle(Dockable dockable)
dockabledockable - the dockable to wrappublic DockableHandle(Dockable dockable, boolean forceActionSourceCreation)
dockabledockable - the dockable to wrapforceActionSourceCreation - whether getActions() must always return a value other
than nullpublic FlapDockStationSource getActions()
DockActionSource that should be shown on the Dockable.nullpublic void resetHoldAction()
getActions() back to the action that was created
by FlapDockStation.createHoldAction().public Dockable getDockable()
public Dockable asDockable()
PlaceholderListItemDockable that is associated with this item.asDockable in interface PlaceholderListItem<Dockable>nullpublic DockTitle getTitle()
public void setTitle(DockTitleVersion version)
Copyright © 2017 Docking Frames. All rights reserved.