|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.common.intern.AbstractCDockable
bibliothek.gui.dock.common.intern.AbstractDockableCStation
public abstract class AbstractDockableCStation
An abstract implementation of CStation
that can be docked like a CDockable
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface bibliothek.gui.dock.common.intern.CDockable |
---|
CDockable.ExtendedMode |
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 |
Constructor Summary | |
---|---|
protected |
AbstractDockableCStation()
Creates a new station but does not yet initialize its fields. |
|
AbstractDockableCStation(DockStation station,
String id,
CLocation location,
CommonDockable dockable)
Creates a new station. |
Method Summary | |
---|---|
CDockable |
asDockable()
If this station is a CDockable as well, then this method returns
the representation of this station as CDockable . |
DockStation |
getStation()
Gets the internal representation of this CStation . |
CLocation |
getStationLocation()
Gets a location which represents directly CStation.getStation() . |
String |
getUniqueId()
Gets a unique and constant identifier for this station |
protected void |
init(DockStation station,
String id,
CLocation location,
CommonDockable dockable)
Initializes the fields of this station. |
protected abstract void |
install(CControlAccess access)
Called when this station is added to a CControl . |
boolean |
isWorkingArea()
Tells whether this station is a special working area or not. |
void |
setControl(CControlAccess access)
Sets the CControl which is responsible for this dockable. |
protected abstract void |
uninstall(CControlAccess access)
Called when this station is removed from a CControl . |
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.intern.CDockable |
---|
isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable |
Constructor Detail |
---|
public AbstractDockableCStation(DockStation station, String id, CLocation location, CommonDockable dockable)
station
- the internal representation of this stationid
- the unique id of this stationlocation
- a location that points directly to this stationdockable
- how this station appears as dockableprotected AbstractDockableCStation()
init(DockStation, String, CLocation, CommonDockable)
.
Method Detail |
---|
protected void init(DockStation station, String id, CLocation location, CommonDockable dockable)
station
- the internal representation of this stationid
- the unique id of this stationlocation
- a location that points directly to this stationdockable
- how this station appears as dockablepublic CLocation getStationLocation()
CStation
CStation.getStation()
.
getStationLocation
in interface CStation
station
public String getUniqueId()
CStation
getUniqueId
in interface CStation
public DockStation getStation()
CStation
CStation
.
getStation
in interface CStation
public void setControl(CControlAccess access)
AbstractCDockable
CControl
which is responsible for this dockable.
setControl
in interface CStation
setControl
in interface CDockable
setControl
in class AbstractCDockable
access
- the new controlpublic boolean isWorkingArea()
CStation
isWorkingArea
in interface CStation
true
if this is a working area, false
otherwisepublic CDockable asDockable()
CStation
CDockable
as well, then this method returns
the representation of this station as CDockable
.
asDockable
in interface CStation
null
protected abstract void install(CControlAccess access)
CControl
.
access
- access to the internals of the new ownerprotected abstract void uninstall(CControlAccess access)
CControl
.
access
- access to the internals of the old owner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |