|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.perspective.AbstractCDockablePerspective bibliothek.gui.dock.common.perspective.SingleCDockablePerspective bibliothek.gui.dock.common.perspective.CGridPerspective bibliothek.gui.dock.common.perspective.CWorkingPerspective
public class CWorkingPerspective
A representation of a CWorkingArea
. When using this perspective to handle the children of a CWorkingArea
the following rules must be followed:
CDockablePerspective
to this station may trigger a call to CDockablePerspective.setWorkingArea(CStationPerspective)
, clients
can however first add/remove a dockable and then alter the working-area of the dockable to their likings.this
if the working-area had a value of null
null
if the working-area had a value of this
and if
isAutoUnset()
returns true
. MultipleCDockablePerspective
: if the working-area is set, then it is automatically set in the MultipleCDockable
as well.SingleCDockablePerspective
: if the working-area is set, then it is automatically set in the SingleCDockable
as well.PerspectiveStation
was added and then some children are added
to that station, then this CworkingPerspective
will not set the working-area property of the new children.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.common.perspective.CGridPerspective |
---|
CGridPerspective.CommonSplitDockPerspective |
Nested classes/interfaces inherited from class bibliothek.gui.dock.common.perspective.SingleCDockablePerspective |
---|
SingleCDockablePerspective.Intern |
Constructor Summary | |
---|---|
CWorkingPerspective(java.lang.String id,
Path typeId)
Creates a new working area. |
Method Summary | |
---|---|
protected CGridPerspective.CommonSplitDockPerspective |
create()
Called the first time SingleCDockablePerspective.intern() is called, this method creates
the intern representation of this SingleCDockablePerspective . |
boolean |
isAutoUnset()
Tells whether the working-area of children is automatically set to null when the children
are removed from this station. |
void |
setAutoUnset(boolean autoUnset)
Tells this station to set the working-area
to null when a child of this station is removed. |
Methods inherited from class bibliothek.gui.dock.common.perspective.CGridPerspective |
---|
asStation, getFactoryID, getMaximized, getPlaceholders, getRoot, getTypeId, grid, gridAdd, gridClear, gridDeploy, gridHorizontal, gridPlaceholder, gridPrepare, gridSelect, gridVertical, intern, isAutoDeploy, isWorkingArea, maximize, maximize, maybeDeploy, setAutoDeploy, setPerspective, setPlaceholders, setWorkingArea |
Methods inherited from class bibliothek.gui.dock.common.perspective.SingleCDockablePerspective |
---|
asDockable, getUniqueId |
Methods inherited from class bibliothek.gui.dock.common.perspective.AbstractCDockablePerspective |
---|
getLocationHistory, getParent, getWorkingArea, setWorkingArea |
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.common.perspective.CStationPerspective |
---|
getUniqueId |
Methods inherited from interface bibliothek.gui.dock.common.perspective.CElementPerspective |
---|
asDockable |
Constructor Detail |
---|
public CWorkingPerspective(java.lang.String id, Path typeId)
id
- the unique identifier of this areatypeId
- the type of this station, can be null
Method Detail |
---|
public void setAutoUnset(boolean autoUnset)
working-area
to null
when a child of this station is removed. The default value of this property is
false
.
autoUnset
- whether the working-area should be automatically set to null
public boolean isAutoUnset()
null
when the children
are removed from this station.
null
protected CGridPerspective.CommonSplitDockPerspective create()
SingleCDockablePerspective
SingleCDockablePerspective.intern()
is called, this method creates
the intern representation of this SingleCDockablePerspective
.
create
in class CGridPerspective
this
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |