public class CNormalMode extends NormalMode<CNormalModeArea> implements CLocationMode
CNormalModeAreas.AbstractLocationMode.DockableHandleICON_IDENTIFIER, IDENTIFIER| Constructor and Description |
|---|
CNormalMode(CControl control)
Creates a new mode.
|
| Modifier and Type | Method and Description |
|---|---|
LocationModePerspective |
createPerspective()
Gets an object that represents this type of mode in a
CPerspective. |
CLocation |
getCLocation(Dockable dockable)
Gets the location of
dockable which is in this mode. |
CLocation |
getCLocation(Dockable dockable,
Location location)
Gets the location of
dockable which might or might not
be a child of this mode. |
CLocation |
getDefaultLocation()
Gets a location on station that is not a working-area.
|
boolean |
isBasicMode()
Tells whether this mode is a basic mode or not.
|
boolean |
respectWorkingAreas(DockStation station)
Tells whether
Dockables which have this mode applied should
respect the settings for CWorkingAreas. |
ensureNotHidden, getExtendedMode, getSettingFactory, getUniqueIdentifier, isCurrentMode, isDefaultMode, readSetting, writeSettingcurrent, 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, waitaddLocationModeListener, aside, ensureNotHidden, getExtendedMode, getManager, getRepresentation, getRepresentationIds, isCurrentMode, isRepresenting, removeLocationModeListener, setController, setManager, shouldAutoFocusapply, current, getActionsFor, getSettingFactory, getUniqueIdentifier, isDefaultMode, readSetting, writeSettingforEach, spliteratorpublic CNormalMode(CControl control)
control - the owner of this modepublic CLocation getCLocation(Dockable dockable)
CLocationModedockable which is in this mode.getCLocation in interface CLocationModedockable - the element whose location is askednull if it cannot be determinedpublic CLocation getCLocation(Dockable dockable, Location location)
CLocationModedockable which might or might not
be a child of this mode.getCLocation in interface CLocationModedockable - the elementlocation - the location dockable is supposed to be in
if in this mode.null if it cannot be determinedpublic boolean isBasicMode()
CLocationModeDockStations), but if in doubt the
basic mode has more weight.isBasicMode in interface CLocationModetrue if this is a basic modepublic CLocation getDefaultLocation()
null if not availablepublic boolean respectWorkingAreas(DockStation station)
CLocationModeDockables which have this mode applied should
respect the settings for CWorkingAreas.respectWorkingAreas in interface CLocationModestation - the station which is the parent of the Dockablestrue if the settings should be respected, false
otherwisepublic LocationModePerspective createPerspective()
CLocationModeCPerspective.createPerspective in interface CLocationModethisCopyright © 2018. All rights reserved.