public class DefaultCommonDockable extends DefaultDockable implements CommonDockable
CommonDockable, based on a DefaultDockable.| Constructor and Description |
|---|
DefaultCommonDockable(CDockable dockable,
DockActionSource... sources)
Creates a new dockable
|
| Modifier and Type | Method and Description |
|---|---|
CommonDockable |
asDockable() |
CommonDockStation<?,?> |
asDockStation() |
CActionSource |
getActions()
Gets the action source for actions that are added by the client.
|
CDockable |
getDockable()
Gets the model of this dockable.
|
DockActionSource[] |
getSources()
Gets a set of
DockActionSources which are to be displayed
on this CommonDockable. |
CStation<?> |
getStation()
Gets the model of this dockable as station.
|
void |
requestDockTitle(DockTitleRequest request) |
String |
toString() |
add, add, createRootHandler, createTitleIcon, getClientComponent, getComponent, getComponent, getComponentCount, getContentPane, getFactoryID, remove, setController, setFactoryID, setLayoutaccept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, addMouseInputListener, bind, configureDisplayerHints, fireTitleBound, fireTitleExchanged, fireTitleExchanged, fireTitleIconChanged, fireTitleTextChanged, fireTitleTooltipChanged, fireTitleUnbound, getComponentConfiguration, getConfigurableDisplayerHints, getController, getDockableStateListeners, getDockElementObserver, getDockParent, getElement, getGlobalActionOffers, getLocalActionOffers, getPopupLocation, getRootHandler, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, isUsedAsTitle, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeKeyListener, removeMouseInputListener, requestDisplayer, resetTitleIcon, setActionOffers, setComponentConfiguration, setDockParent, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFactoryIDaccept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addMouseInputListener, bind, configureDisplayerHints, getComponent, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeMouseInputListener, requestDisplayer, setController, setDockParent, unbindgetElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocusgetComponentConfiguration, setComponentConfigurationpublic DefaultCommonDockable(CDockable dockable, DockActionSource... sources)
dockable - the model of this elementsources - action source which shows the close actionpublic CActionSource getActions()
nullpublic CDockable getDockable()
CommonDockablegetDockable in interface CommonDockablepublic CommonDockable asDockable()
asDockable in interface CommonElementasDockable in interface DockElementasDockable in interface PlaceholderListItem<Dockable>asDockable in class AbstractDockablepublic CommonDockStation<?,?> asDockStation()
asDockStation in interface CommonElementasDockStation in interface DockElementasDockStation in class DefaultDockablepublic CStation<?> getStation()
CommonDockablegetStation in interface CommonDockablenullpublic DockActionSource[] getSources()
CommonDockableDockActionSources which are to be displayed
on this CommonDockable. Note that every call to this
method should return the same array of sources. Callers should not
modify the result.getSources in interface CommonDockablepublic void requestDockTitle(DockTitleRequest request)
requestDockTitle in interface DockablerequestDockTitle in class AbstractDockableCopyright © 2018. All rights reserved.