Class DefaultCommonDockable
java.lang.Object
bibliothek.gui.dock.dockable.AbstractDockable
bibliothek.gui.dock.DefaultDockable
bibliothek.gui.dock.common.intern.DefaultCommonDockable
- All Implemented Interfaces:
CommonDockable,CommonElement,DockComponentRoot,DockElement,DockElementRepresentative,PlaceholderListItem<Dockable>,Dockable
A default implementation of
CommonDockable, based on a DefaultDockable.- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCommonDockable(CDockable dockable, DockActionSource... sources) Creates a new dockable -
Method Summary
Modifier and TypeMethodDescriptionCommonDockStation<?,?> Gets the action source for actions that are added by the client.Gets the model of this dockable.Gets a set ofDockActionSources which are to be displayed on thisCommonDockable.CStation<?>Gets the model of this dockable as station.voidrequestDockTitle(DockTitleRequest request) toString()Methods inherited from class bibliothek.gui.dock.DefaultDockable
add, add, createRootHandler, createTitleIcon, getClientComponent, getComponent, getComponent, getComponentCount, getContentPane, getFactoryID, remove, setController, setFactoryID, setLayoutMethods inherited from class bibliothek.gui.dock.dockable.AbstractDockable
accept, 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, unbindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface bibliothek.gui.dock.common.intern.CommonDockable
getFactoryIDMethods inherited from interface bibliothek.gui.Dockable
accept, 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, unbindMethods inherited from interface bibliothek.gui.dock.component.DockComponentRoot
getComponentConfiguration, setComponentConfigurationMethods inherited from interface bibliothek.gui.dock.DockElementRepresentative
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocus
-
Constructor Details
-
DefaultCommonDockable
Creates a new dockable- Parameters:
dockable- the model of this elementsources- action source which shows the close action
-
-
Method Details
-
getActions
Gets the action source for actions that are added by the client.- Returns:
- the source, not
null
-
getDockable
Description copied from interface:CommonDockableGets the model of this dockable.- Specified by:
getDockablein interfaceCommonDockable- Returns:
- the model
-
asDockable
- Specified by:
asDockablein interfaceCommonElement- Specified by:
asDockablein interfaceDockElement- Specified by:
asDockablein interfacePlaceholderListItem<Dockable>- Overrides:
asDockablein classAbstractDockable
-
asDockStation
- Specified by:
asDockStationin interfaceCommonElement- Specified by:
asDockStationin interfaceDockElement- Overrides:
asDockStationin classDefaultDockable
-
getStation
Description copied from interface:CommonDockableGets the model of this dockable as station.- Specified by:
getStationin interfaceCommonDockable- Returns:
- the model, may be
null
-
getSources
Description copied from interface:CommonDockableGets a set ofDockActionSources which are to be displayed on thisCommonDockable. Note that every call to this method should return the same array of sources. Callers should not modify the result.- Specified by:
getSourcesin interfaceCommonDockable- Returns:
- the action sources, can be an empty array
-
requestDockTitle
- Specified by:
requestDockTitlein interfaceDockable- Overrides:
requestDockTitlein classAbstractDockable
-
toString
-