bibliothek.gui.dock.toolbar
Class CToolbarArea

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.AbstractCStation<CommonToolbarContainerDockStation>
      extended by bibliothek.gui.dock.toolbar.CToolbarArea
All Implemented Interfaces:
bibliothek.gui.dock.common.CStation<CommonToolbarContainerDockStation>

public class CToolbarArea
extends bibliothek.gui.dock.common.intern.AbstractCStation<CommonToolbarContainerDockStation>

The CToolbarArea acts as root CStation for toolbars.

Author:
Benjamin Sigg

Field Summary
static bibliothek.util.Path TYPE_ID
          The result of getTypeId()
 
Constructor Summary
CToolbarArea(String id, Orientation orientation)
          Creates a new container.
 
Method Summary
 bibliothek.gui.dock.common.perspective.CStationPerspective createPerspective()
           
 CToolbarAreaLocation getStationLocation()
           
 bibliothek.util.Path getTypeId()
           
protected  void install(bibliothek.gui.dock.common.intern.CControlAccess access)
           
protected  void uninstall(bibliothek.gui.dock.common.intern.CControlAccess access)
           
 
Methods inherited from class bibliothek.gui.dock.common.intern.AbstractCStation
asDockable, getControl, getDropLocation, getStation, getUniqueId, init, isWorkingArea, setControlAccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ID

public static final bibliothek.util.Path TYPE_ID
The result of getTypeId()

Constructor Detail

CToolbarArea

public CToolbarArea(String id,
                    Orientation orientation)
Creates a new container.

Parameters:
id - the unique identifier of this container, not null
orientation - whether the items are aligned horizontally or vertically, not null
Method Detail

getStationLocation

public CToolbarAreaLocation getStationLocation()
Specified by:
getStationLocation in interface bibliothek.gui.dock.common.CStation<CommonToolbarContainerDockStation>
Overrides:
getStationLocation in class bibliothek.gui.dock.common.intern.AbstractCStation<CommonToolbarContainerDockStation>

createPerspective

public bibliothek.gui.dock.common.perspective.CStationPerspective createPerspective()

getTypeId

public bibliothek.util.Path getTypeId()

install

protected void install(bibliothek.gui.dock.common.intern.CControlAccess access)
Specified by:
install in class bibliothek.gui.dock.common.intern.AbstractCStation<CommonToolbarContainerDockStation>

uninstall

protected void uninstall(bibliothek.gui.dock.common.intern.CControlAccess access)
Specified by:
uninstall in class bibliothek.gui.dock.common.intern.AbstractCStation<CommonToolbarContainerDockStation>