|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.intern.AbstractCDockable bibliothek.gui.dock.common.intern.AbstractDockableCStation<SplitDockStation> bibliothek.gui.dock.common.CGridArea bibliothek.gui.dock.common.CWorkingArea
public class CWorkingArea
A working area is an element which is always visible and contains some
CDockable
s which can't be dragged out of it. Also no CDockable
can be dropped in a CWorkingArea
.
There can be more than one CWorkingArea
, and the working areas
can be nested.
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.common.intern.AbstractCDockable |
---|
listenerCollection |
Fields inherited from interface bibliothek.gui.dock.common.intern.CDockable |
---|
ACTION_KEY_CLOSE, ACTION_KEY_EXTERNALIZE, ACTION_KEY_MAXIMIZE, ACTION_KEY_MINIMIZE, ACTION_KEY_NORMALIZE, ACTION_KEY_UNEXTERNALIZE, ACTION_KEY_UNMAXIMIZE_EXTERNALIZED |
Constructor Summary | |
---|---|
CWorkingArea(CControl control,
String uniqueId)
Creates a new area. |
Method Summary | ||
---|---|---|
|
add(F dockable)
Ensures that this is the parent of dockable
and adds dockable to the CControl which is associated
with this CWorkingArea . |
|
|
add(F dockable)
Ensures that this is the parent of dockable
and adds dockable to the CControl which is associated
with this CWorkingArea . |
|
void |
deploy(CGrid grid)
Exchanges all the CDockable s on this area with the
elements of grid . |
|
CLocation |
getStationLocation()
Gets a location which represents directly CStation.getStation() . |
|
boolean |
isSuppressTitle()
Deprecated. use AbstractCDockable.isTitleShown() instead |
|
boolean |
isWorkingArea()
Tells whether this station is a special working area or not. |
|
void |
setSuppressTitle(boolean suppressTitle)
Deprecated. use AbstractCDockable.setTitleShown(boolean) instead |
Methods inherited from class bibliothek.gui.dock.common.CGridArea |
---|
asDockable, createCommonDockable, getComponent, getStation, getTitleIcon, getTitleText, getUniqueId, init, install, isCloseable, isExternalizable, isMaximizable, isMaximizingArea, isMinimizable, isStackable, setMaximizingArea, setTitleIcon, setTitleText, suppressTitle, uninstall |
Methods inherited from class bibliothek.gui.dock.common.intern.AbstractDockableCStation |
---|
init, setControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CWorkingArea(CControl control, String uniqueId)
control
- the owner of this stationuniqueId
- a unique identifierMethod Detail |
---|
public boolean isWorkingArea()
CStation
isWorkingArea
in interface CStation<SplitDockStation>
isWorkingArea
in class CGridArea
true
if this is a working area, false
otherwisepublic CLocation getStationLocation()
CStation
CStation.getStation()
.
getStationLocation
in interface CStation<SplitDockStation>
getStationLocation
in class CGridArea
station
public void deploy(CGrid grid)
CDockable
s on this area with the
elements of grid
. This method also calls
CDockable.setWorkingArea(CStation)
for each
dockable in grid
.
deploy
in class CGridArea
grid
- a grid containing some new Dockable
spublic <F extends SingleCDockable> F add(F dockable)
this
is the parent of dockable
and adds dockable
to the CControl
which is associated
with this CWorkingArea
. If there is no CControl
, then
the dockable
is added nowhere.
F
- the type of element to adddockable
- the new element
dockable
public <F extends MultipleCDockable> F add(F dockable)
this
is the parent of dockable
and adds dockable
to the CControl
which is associated
with this CWorkingArea
. If there is no CControl
, then
the dockable
is added nowhere.
F
- the type of element to adddockable
- the new element
dockable
@Deprecated public void setSuppressTitle(boolean suppressTitle)
AbstractCDockable.setTitleShown(boolean)
instead
suppressTitle
- true
if this area should try
not to have a title.@Deprecated public boolean isSuppressTitle()
AbstractCDockable.isTitleShown()
instead
true
if this area normally has no title
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |