|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.facile.mode.AbstractLocationMode<M>
bibliothek.gui.dock.facile.mode.MaximizedMode<CMaximizedModeArea>
bibliothek.gui.dock.common.mode.CMaximizedMode
public class CMaximizedMode
Manages CMaximizedModeAreas.
| 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 Dockables which have this mode applied should
respect the settings for CWorkingAreas. |
| 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)
CLocationModedockable which is in this mode.
getCLocation in interface CLocationModedockable - the element whose location is asked
null if it cannot be determined
public 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 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 Dockables
true if the settings should be respected, false
otherwisepublic LocationModePerspective createPerspective()
CLocationModeCPerspective.
createPerspective in interface CLocationModethis
public MaximizedModeArea getMaximizeArea(Dockable dockable,
Location history)
MaximizedModedockable 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 | |||||||||