bibliothek.gui.dock.station
Class ToolbarTabDockStation

java.lang.Object
  extended by bibliothek.gui.dock.dockable.AbstractDockable
      extended by bibliothek.gui.dock.station.AbstractDockableStation
          extended by bibliothek.gui.dock.StackDockStation
              extended by bibliothek.gui.dock.station.ToolbarTabDockStation
All Implemented Interfaces:
bibliothek.gui.dock.DockElement, bibliothek.gui.dock.DockElementRepresentative, OrientedDockStation, OrientingDockStation, bibliothek.gui.dock.station.stack.StackDockComponentParent, bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>, bibliothek.gui.Dockable, bibliothek.gui.DockStation

public class ToolbarTabDockStation
extends bibliothek.gui.dock.StackDockStation
implements OrientedDockStation

A StackDockStation modified such that it can show toolbar items.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.StackDockStation
bibliothek.gui.dock.StackDockStation.Background, bibliothek.gui.dock.StackDockStation.Insert, bibliothek.gui.dock.StackDockStation.StackDropOperation
 
Field Summary
 
Fields inherited from class bibliothek.gui.dock.StackDockStation
COMPONENT_FACTORY, DISPLAYER_ID, IMMUTABLE_SELECTION_INDEX, TAB_CONFIGURATIONS, TAB_CONTENT_FILTER, TAB_PLACEMENT, TITLE_ID
 
Constructor Summary
ToolbarTabDockStation()
           
 
Method Summary
 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(bibliothek.gui.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.
 
Methods inherited from class bibliothek.gui.dock.StackDockStation
add, add, addMouseInputListener, addToPanel, aside, callDockUiUpdateTheme, canDrag, canReplace, configureDisplayerHints, createBackground, createStackDockComponent, discard, drag, drop, drop, drop, drop, exactTabIndexAt, fireDockableSelected, getComponent, getDisplayerFactory, getDisplayers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getInsert, getLayers, getPaint, 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, updateConfigurableDisplayerHints
 
Methods inherited from class bibliothek.gui.dock.station.AbstractDockableStation
accept, acceptable, acceptable, addDockStationListener, asDockStation, changed, createTitleIcon, delegate, fireDockablesRepositioned, fireDockablesRepositioned, getDirectActionOffers, getIndirectActionOffers, getTheme, isChildShowing, isStationShowing, removeDockStationListener, requestChildDisplayer, requestChildDockTitle, updateTheme
 
Methods inherited from class bibliothek.gui.dock.dockable.AbstractDockable
accept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, asDockable, bind, fireTitleBound, fireTitleExchanged, fireTitleExchanged, fireTitleIconChanged, fireTitleTextChanged, fireTitleTooltipChanged, fireTitleUnbound, getConfigurableDisplayerHints, getController, getDockableStateListeners, getDockElementObserver, getDockParent, getElement, getGlobalActionOffers, getLocalActionOffers, getPopupLocation, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, isUsedAsTitle, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeKeyListener, requestDisplayer, requestDockTitle, resetTitleIcon, setActionOffers, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.DockStation
accept, addDockStationListener, aside, canDrag, canReplace, changed, drag, drop, drop, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getLayers, getPlaceholders, getTheme, isChildShowing, isStationShowing, isStationVisible, isVisible, move, prepareDrag, prepareDrop, removeDockStationListener, replace, replace, requestChildDisplayer, requestChildDockTitle, setController, setFrontDockable, setPlaceholders, updateTheme
 
Methods inherited from interface bibliothek.gui.dock.DockElement
asDockable, asDockStation
 

Constructor Detail

ToolbarTabDockStation

public ToolbarTabDockStation()
Method Detail

getFactoryID

public String getFactoryID()
Specified by:
getFactoryID in interface bibliothek.gui.dock.DockElement
Overrides:
getFactoryID in class bibliothek.gui.dock.StackDockStation

getOrientationOf

public Orientation getOrientationOf(bibliothek.gui.Dockable child)
Description copied from interface: OrientingDockStation
Tells what orientation child has.

Specified by:
getOrientationOf in interface OrientingDockStation
Parameters:
child - a child of this station
Returns:
the orientation, never null

addOrientingDockStationListener

public void addOrientingDockStationListener(OrientingDockStationListener listener)
Description copied from interface: OrientingDockStation
Adds the observer listener 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.

Specified by:
addOrientingDockStationListener in interface OrientingDockStation
Parameters:
listener - the new observer, not null

removeOrientingDockStationListener

public void removeOrientingDockStationListener(OrientingDockStationListener listener)
Description copied from interface: OrientingDockStation
Removes the observer listener from this station.

Specified by:
removeOrientingDockStationListener in interface OrientingDockStation
Parameters:
listener - the listener to remove

setOrientation

public void setOrientation(Orientation orientation)
Description copied from interface: OrientedDockStation
Sets the orientation of dockables in this station.

Specified by:
setOrientation in interface OrientedDockStation

getOrientation

public Orientation getOrientation()
Description copied from interface: OrientedDockStation
Gets the orientation of dockables in this station.

Specified by:
getOrientation in interface OrientedDockStation
Returns:
The orientation of dockables in this station