|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.facile.mode.AbstractLocationMode<M> bibliothek.gui.dock.facile.mode.MaximizedMode<CMaximizedModeArea> bibliothek.gui.dock.common.mode.CMaximizedMode
public class CMaximizedMode
Manages CMaximizedModeArea
s.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.facile.mode.AbstractLocationMode |
---|
AbstractLocationMode.DockableHandle |
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.facile.mode.MaximizedMode |
---|
ICON_IDENTIFIER, IDENTIFIER |
Constructor Summary | |
---|---|
CMaximizedMode(CControl control)
Creates a new mode. |
Method Summary | |
---|---|
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. |
MaximizedModeArea |
getMaximizeArea(Dockable dockable,
Location history)
Gets the area to which dockable should be maximized. |
boolean |
isBasicMode()
Tells whether this mode is a basic mode or not. |
boolean |
respectWorkingAreas(DockStation station)
Tells whether Dockable s which have this mode applied should
respect the settings for CWorkingArea s. |
Methods inherited from class bibliothek.gui.dock.facile.mode.MaximizedMode |
---|
applyDone, applyStarting, current, ensureNotHidden, getExtendedMode, getMaximizeArea, getMaximizeArea, getMaximizingElement, getMaximizingElement, getNextMaximizeArea, getSettingFactory, getUniqueIdentifier, getUnmaximizedMode, isCurrentMode, isDefaultMode, maximize, maximize, process, readSetting, runApply, setManager, switchMode, unmaximize, unmaximize, unmaximize, writeSetting |
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, 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 |
---|
public CMaximizedMode(CControl control)
control
- the control in whose realm this mode works.Method Detail |
---|
public CLocation getCLocation(Dockable dockable)
CLocationMode
dockable
which is in this mode.
getCLocation
in interface CLocationMode
dockable
- the element whose location is asked
null
if it cannot be determinedpublic CLocation getCLocation(Dockable dockable, Location location)
CLocationMode
dockable
which might or might not
be a child of this mode.
getCLocation
in interface CLocationMode
dockable
- the elementlocation
- the location dockable
is supposed to be in
if in this mode.
null
if it cannot be determinedpublic boolean isBasicMode()
CLocationMode
DockStation
s), but if in doubt the
basic mode has more weight.
isBasicMode
in interface CLocationMode
true
if this is a basic modepublic boolean respectWorkingAreas(DockStation station)
CLocationMode
Dockable
s which have this mode applied should
respect the settings for CWorkingArea
s.
respectWorkingAreas
in interface CLocationMode
station
- the station which is the parent of the Dockable
s
true
if the settings should be respected, false
otherwisepublic LocationModePerspective createPerspective()
CLocationMode
CPerspective
.
createPerspective
in interface CLocationMode
this
public MaximizedModeArea getMaximizeArea(Dockable dockable, Location history)
MaximizedMode
dockable
should be maximized. This can be
MaximizedMode.getMaximizeArea(Dockable)
, or some other station.
getMaximizeArea
in class MaximizedMode<CMaximizedModeArea>
dockable
- the element that is maximizedhistory
- the history of the last place where dockable
was maximized, might be null
dockable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |