public class ToolbarTabDockStation extends StackDockStation implements OrientedDockStation
StackDockStation modified such that it can show toolbar items.StackDockStation.Background, StackDockStation.Insert, StackDockStation.StackDropOperationCOMPONENT_FACTORY, DISPLAYER_ID, DND_AUTO_SELECT_STRATEGY, DND_AUTO_SELECT_SUPPORT, IMMUTABLE_SELECTION_INDEX, TAB_CONFIGURATIONS, TAB_CONTENT_FILTER, TAB_PLACEMENT, TITLE_ID| Constructor and Description |
|---|
ToolbarTabDockStation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrientingDockStationListener(OrientingDockStationListener listener)
Adds the observer
listener to this station. |
String |
getFactoryID() |
Orientation |
getOrientation()
Gets the orientation of dockables in this station.
|
Orientation |
getOrientationOf(Dockable child)
Tells what orientation
child has. |
void |
removeOrientingDockStationListener(OrientingDockStationListener listener)
Removes the observer
listener from this station. |
void |
setOrientation(Orientation orientation)
Sets the orientation of dockables in this station.
|
add, add, addMouseInputListener, addToPanel, aside, callDockUiUpdateTheme, canDrag, canReplace, configureDisplayerHints, createBackground, createRootHandler, createStackDockComponent, discard, drag, drop, drop, drop, drop, exactTabIndexAt, fireDockableSelected, getComponent, getDisplayerFactory, getDisplayers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getInsert, getLayers, getPaint, getPlaceholderMapping, getPlaceholders, getPlaceholders, getPlaceholderStrategy, getStackComponent, getStackComponentFactory, getStackDockParent, getTabContentFilter, getTabPlacement, indexOf, init, insertionLine, isOverTabs, isOverTitle, isSmallMinimumSize, isStationVisible, isVisible, move, prepareDrag, prepareDrop, prepareMove, remove, removeMouseInputListener, replace, replace, replace, setController, setDockParent, setFrontDockable, setPlaceholders, setPlaceholders, setPlaceholderStrategy, setSmallMinimumSize, setStackComponent, setStackComponentFactory, setTabContentFilter, setTabPlacement, singleTabStackDockComponent, tabIndexAt, updateConfigurableDisplayerHintsaccept, acceptable, acceptable, addDockStationListener, asDockStation, changed, createTitleIcon, delegate, fireDockablesRepositioned, fireDockablesRepositioned, getDirectActionOffers, getIndirectActionOffers, getTheme, isChildShowing, isStationShowing, removeDockStationListener, requestChildDisplayer, requestChildDockTitle, updateThemeaccept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, asDockable, bind, 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, requestDisplayer, requestDockTitle, resetTitleIcon, setActionOffers, setComponentConfiguration, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addDockStationListener, aside, canDrag, canReplace, changed, drag, drop, drop, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getLayers, getPlaceholderMapping, getPlaceholders, getTheme, isChildShowing, isStationShowing, isStationVisible, isVisible, move, prepareDrag, prepareDrop, removeDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, setController, setFrontDockable, setPlaceholders, updateThemeasDockable, asDockStationgetComponentConfiguration, setComponentConfigurationpublic String getFactoryID()
getFactoryID in interface DockElementgetFactoryID in class StackDockStationpublic Orientation getOrientationOf(Dockable child)
OrientingDockStationchild has.getOrientationOf in interface OrientingDockStationchild - a child of this stationnullpublic void addOrientingDockStationListener(OrientingDockStationListener listener)
OrientingDockStationlistener to this station. The observer
receives an event if the orientation of a child of this station changed.
The observer may or may not receive an event upon dropping a new
Dockable onto this station.addOrientingDockStationListener in interface OrientingDockStationlistener - the new observer, not nullpublic void removeOrientingDockStationListener(OrientingDockStationListener listener)
OrientingDockStationlistener from this station.removeOrientingDockStationListener in interface OrientingDockStationlistener - the listener to removepublic void setOrientation(Orientation orientation)
OrientedDockStationsetOrientation in interface OrientedDockStationpublic Orientation getOrientation()
OrientedDockStationgetOrientation in interface OrientedDockStationCopyright © 2018. All rights reserved.