bibliothek.gui.dock.toolbar.location
Class ToolbarMode<T extends bibliothek.gui.dock.facile.mode.StationModeArea>
java.lang.Object
bibliothek.gui.dock.facile.mode.AbstractLocationMode<A>
bibliothek.gui.dock.facile.mode.DefaultLocationMode<T>
bibliothek.gui.dock.toolbar.location.ToolbarMode<T>
- All Implemented Interfaces:
- bibliothek.gui.dock.facile.mode.LocationMode, bibliothek.gui.dock.support.mode.Mode<bibliothek.gui.dock.facile.mode.Location>, Iterable<T>
- Direct Known Subclasses:
- CToolbarMode
public class ToolbarMode<T extends bibliothek.gui.dock.facile.mode.StationModeArea>
- extends bibliothek.gui.dock.facile.mode.DefaultLocationMode<T>
A LocationMode
describing items that are part of a toolbar.
- Author:
- Benjamin Sigg
Nested classes/interfaces inherited from class bibliothek.gui.dock.facile.mode.AbstractLocationMode |
bibliothek.gui.dock.facile.mode.AbstractLocationMode.DockableHandle |
Field Summary |
static bibliothek.util.Path |
IDENTIFIER
the unique identifier of this mode |
static bibliothek.gui.dock.common.mode.ExtendedMode |
TOOLBAR
the mode described by ToolbarMode |
Constructor Summary |
ToolbarMode(bibliothek.gui.DockController controller)
Creates the new mode. |
Method Summary |
void |
ensureNotHidden(bibliothek.gui.Dockable dockable)
|
bibliothek.gui.dock.common.mode.ExtendedMode |
getExtendedMode()
|
bibliothek.gui.dock.support.mode.ModeSettingFactory<bibliothek.gui.dock.facile.mode.Location> |
getSettingFactory()
|
bibliothek.util.Path |
getUniqueIdentifier()
|
boolean |
isDefaultMode(bibliothek.gui.Dockable dockable)
|
void |
readSetting(bibliothek.gui.dock.support.mode.ModeSetting<bibliothek.gui.dock.facile.mode.Location> setting)
|
void |
writeSetting(bibliothek.gui.dock.support.mode.ModeSetting<bibliothek.gui.dock.facile.mode.Location> setting)
|
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 |
IDENTIFIER
public static final bibliothek.util.Path IDENTIFIER
- the unique identifier of this mode
TOOLBAR
public static final bibliothek.gui.dock.common.mode.ExtendedMode TOOLBAR
- the mode described by
ToolbarMode
ToolbarMode
public ToolbarMode(bibliothek.gui.DockController controller)
- Creates the new mode.
- Parameters:
controller
- the controller in whose realm this mode is used
getExtendedMode
public bibliothek.gui.dock.common.mode.ExtendedMode getExtendedMode()
ensureNotHidden
public void ensureNotHidden(bibliothek.gui.Dockable dockable)
getUniqueIdentifier
public bibliothek.util.Path getUniqueIdentifier()
isDefaultMode
public boolean isDefaultMode(bibliothek.gui.Dockable dockable)
writeSetting
public void writeSetting(bibliothek.gui.dock.support.mode.ModeSetting<bibliothek.gui.dock.facile.mode.Location> setting)
readSetting
public void readSetting(bibliothek.gui.dock.support.mode.ModeSetting<bibliothek.gui.dock.facile.mode.Location> setting)
getSettingFactory
public bibliothek.gui.dock.support.mode.ModeSettingFactory<bibliothek.gui.dock.facile.mode.Location> getSettingFactory()