bibliothek.gui.dock.toolbar.location
Class CToolbarMode

java.lang.Object
  extended by bibliothek.gui.dock.facile.mode.AbstractLocationMode<A>
      extended by bibliothek.gui.dock.facile.mode.DefaultLocationMode<T>
          extended by bibliothek.gui.dock.toolbar.location.ToolbarMode<CToolbarModeArea>
              extended by bibliothek.gui.dock.toolbar.location.CToolbarMode
All Implemented Interfaces:
bibliothek.gui.dock.common.mode.CLocationMode, bibliothek.gui.dock.facile.mode.LocationMode, bibliothek.gui.dock.support.mode.Mode<bibliothek.gui.dock.facile.mode.Location>, Iterable<CToolbarModeArea>

public class CToolbarMode
extends ToolbarMode<CToolbarModeArea>
implements bibliothek.gui.dock.common.mode.CLocationMode

This CLocationMode describes the areas that are part of a toolbar.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.facile.mode.AbstractLocationMode
bibliothek.gui.dock.facile.mode.AbstractLocationMode.DockableHandle
 
Field Summary
 
Fields inherited from class bibliothek.gui.dock.toolbar.location.ToolbarMode
IDENTIFIER, TOOLBAR
 
Constructor Summary
CToolbarMode(bibliothek.gui.dock.common.CControl control)
          Creates a new mode
 
Method Summary
 bibliothek.gui.dock.common.perspective.mode.LocationModePerspective createPerspective()
           
 bibliothek.gui.dock.common.CLocation getCLocation(bibliothek.gui.Dockable dockable)
           
 bibliothek.gui.dock.common.CLocation getCLocation(bibliothek.gui.Dockable dockable, bibliothek.gui.dock.facile.mode.Location location)
           
 boolean isBasicMode()
           
 boolean respectWorkingAreas(bibliothek.gui.DockStation station)
           
 
Methods inherited from class bibliothek.gui.dock.toolbar.location.ToolbarMode
ensureNotHidden, getExtendedMode, getSettingFactory, getUniqueIdentifier, isDefaultMode, readSetting, writeSetting
 
Methods inherited from class bibliothek.gui.dock.facile.mode.DefaultLocationMode
current, isCurrentMode, runApply
 
Methods inherited from class bibliothek.gui.dock.facile.mode.AbstractLocationMode
add, addLocationModeListener, apply, createHandle, get, get, get, getActionsFor, getController, getDefaultArea, getManager, getRepresentation, isModeAvailable, isModeHidden, isRepresenting, iterator, listeners, remove, removeLocationModeListener, setActionProvider, setController, setDefaultArea, setManager, setShouldAutoFocus, shouldAutoFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.facile.mode.LocationMode
addLocationModeListener, ensureNotHidden, getExtendedMode, getManager, getRepresentation, isCurrentMode, isRepresenting, removeLocationModeListener, setController, setManager, shouldAutoFocus
 
Methods inherited from interface bibliothek.gui.dock.support.mode.Mode
apply, current, getActionsFor, getSettingFactory, getUniqueIdentifier, isDefaultMode, readSetting, writeSetting
 

Constructor Detail

CToolbarMode

public CToolbarMode(bibliothek.gui.dock.common.CControl control)
Creates a new mode

Parameters:
control - the control in whose realm this mode is used
Method Detail

getCLocation

public bibliothek.gui.dock.common.CLocation getCLocation(bibliothek.gui.Dockable dockable)
Specified by:
getCLocation in interface bibliothek.gui.dock.common.mode.CLocationMode

getCLocation

public bibliothek.gui.dock.common.CLocation getCLocation(bibliothek.gui.Dockable dockable,
                                                         bibliothek.gui.dock.facile.mode.Location location)
Specified by:
getCLocation in interface bibliothek.gui.dock.common.mode.CLocationMode

isBasicMode

public boolean isBasicMode()
Specified by:
isBasicMode in interface bibliothek.gui.dock.common.mode.CLocationMode

respectWorkingAreas

public boolean respectWorkingAreas(bibliothek.gui.DockStation station)
Specified by:
respectWorkingAreas in interface bibliothek.gui.dock.common.mode.CLocationMode

createPerspective

@Todo
public bibliothek.gui.dock.common.perspective.mode.LocationModePerspective createPerspective()
Specified by:
createPerspective in interface bibliothek.gui.dock.common.mode.CLocationMode