public class MinimizedMode<M extends MinimizedModeArea> extends DefaultLocationMode<M>
Dockable is visible.AbstractLocationMode.DockableHandle| Modifier and Type | Field and Description |
|---|---|
static String |
ICON_IDENTIFIER
the key used for the
IconManager to read the Icon for the "minimize"-action |
static Path |
IDENTIFIER
the unique identifier of this mode
|
| Modifier | Constructor and Description |
|---|---|
protected |
MinimizedMode()
Empty default constructor.
|
|
MinimizedMode(CControl control)
Creates a new mode.
|
|
MinimizedMode(DockController controller)
Creates a new mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ensureNotHidden(Dockable dockable)
Ensures that no
Dockable that has this mode hides dockable. |
ExtendedMode |
getExtendedMode()
Gets the unique identifier of this mode.
|
ModeSettingFactory<Location> |
getSettingFactory()
Gets a factory for creating new
ModeSettings. |
Path |
getUniqueIdentifier()
Gets a unique identifier, only this
Mode must have this
identifier. |
boolean |
isDefaultMode(Dockable dockable)
Checks whether this mode is a default mode of
dockable. |
void |
readSetting(ModeSetting<Location> setting)
Sets the properties of this mode.
|
void |
writeSetting(ModeSetting<Location> setting)
Gets the current properties of this mode in an independent way.
|
current, isCurrentMode, runApplyadd, addLocationModeListener, apply, aside, createHandle, get, get, get, get, getActionsFor, getController, getDefaultArea, getManager, getRepresentation, getRepresentationIds, isModeAvailable, isModeHidden, isRepresenting, iterator, listeners, remove, removeLocationModeListener, setActionProvider, setController, setDefaultArea, setManager, setShouldAutoFocus, shouldAutoFocusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final Path IDENTIFIER
public static final String ICON_IDENTIFIER
IconManager to read the Icon for the "minimize"-actionprotected MinimizedMode()
AbstractLocationMode.setActionProvider(LocationModeActionProvider) to complete
initialization of this mode.public MinimizedMode(CControl control)
control - the control in whose realm this mode is usedpublic MinimizedMode(DockController controller)
controller - the owner of this modepublic Path getUniqueIdentifier()
ModeMode must have this
identifier. Identifiers with the first segment being "dock" are
reserved for this framework, clients may choose any other identifiers.null, should contain at least
one segment.public ExtendedMode getExtendedMode()
LocationModepublic boolean isDefaultMode(Dockable dockable)
Modedockable. A
default mode is a mode that is chosen per default, if no other mode
is selected. There should be only one default-mode per Dockable.dockable - some dockable, not nullpublic ModeSettingFactory<Location> getSettingFactory()
ModeModeSettings.nullpublic void ensureNotHidden(Dockable dockable)
LocationModeDockable that has this mode hides dockable.
Note that dockable may or may not be in this mode.dockable - the element which must not be hiddenpublic void writeSetting(ModeSetting<Location> setting)
Modesetting - a ModeSetting with the same id as this Mode. This setting
was created by a ModeSettingFactory with the same id as this Mode.public void readSetting(ModeSetting<Location> setting)
ModeModeSetting that has been created by the current
ModeSettingFactorysetting - the new set of properties, not nullCopyright © 2018. All rights reserved.