bibliothek.gui.dock
Class OrientedComponentDockable

java.lang.Object
  extended by bibliothek.gui.dock.dockable.AbstractDockable
      extended by bibliothek.gui.dock.ComponentDockable
          extended by bibliothek.gui.dock.OrientedComponentDockable
All Implemented Interfaces:
bibliothek.gui.dock.DockElement, bibliothek.gui.dock.DockElementRepresentative, bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>, ExpandableToolbarItem, bibliothek.gui.Dockable, ToolbarElementInterface

public abstract class OrientedComponentDockable
extends ComponentDockable

This kind of ComponentDockable is useful for components with an orientation. It allows to set automatically the orientation of the component with regards to the orientation of its parent DockStation, if this parent is an OrientedDockStation.

Author:
Herve Guillaume

Constructor Summary
OrientedComponentDockable()
           
OrientedComponentDockable(Component component)
           
OrientedComponentDockable(Component component, Icon icon)
           
OrientedComponentDockable(Component component, String title)
           
OrientedComponentDockable(Component component, String title, Icon icon)
           
OrientedComponentDockable(Icon icon)
           
OrientedComponentDockable(String title)
           
 
Method Summary
protected abstract  void setOrientation(Orientation orientation)
          Sets the new Orientation of this dockable.
 
Methods inherited from class bibliothek.gui.dock.ComponentDockable
accept, accept, addExpandableListener, addMouseInputListener, asDockStation, createTitleIcon, getComponent, getExpandedState, getFactoryID, removeExpandableListener, removeMouseInputListener, setComponent, setExpandedState, toString
 
Methods inherited from class bibliothek.gui.dock.dockable.AbstractDockable
addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, asDockable, bind, configureDisplayerHints, 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, setController, setDockParent, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.Dockable
addDockableListener, addDockableStateListener, addDockHierarchyListener, bind, configureDisplayerHints, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, requestDisplayer, requestDockTitle, setController, setDockParent, unbind
 
Methods inherited from interface bibliothek.gui.dock.DockElement
asDockable
 
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocus
 
Methods inherited from interface bibliothek.gui.dock.station.support.PlaceholderListItem
asDockable
 

Constructor Detail

OrientedComponentDockable

public OrientedComponentDockable()

OrientedComponentDockable

public OrientedComponentDockable(Component component,
                                 Icon icon)

OrientedComponentDockable

public OrientedComponentDockable(Component component,
                                 String title,
                                 Icon icon)

OrientedComponentDockable

public OrientedComponentDockable(Component component,
                                 String title)

OrientedComponentDockable

public OrientedComponentDockable(Component component)

OrientedComponentDockable

public OrientedComponentDockable(Icon icon)

OrientedComponentDockable

public OrientedComponentDockable(String title)
Method Detail

setOrientation

protected abstract void setOrientation(Orientation orientation)
Sets the new Orientation of this dockable.

Parameters:
orientation - the new orientation, not null