|
||||||||||
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
public class SingleCDockablePerspective
A class that represents a SingleCDockable
.
Nested Class Summary | |
---|---|
protected class |
SingleCDockablePerspective.Intern
The type of object that is created by the default implementation of create() |
Constructor Summary | |
---|---|
SingleCDockablePerspective(String uniqueId)
Creates a new representation of a SingleCDockable . |
Method Summary | |
---|---|
CDockablePerspective |
asDockable()
Gets this as dockable, if this is a dockable. |
CStationPerspective |
asStation()
Gets this as station, if this is a station. |
protected CommonElementPerspective |
create()
Called the first time intern() is called, this method creates
the intern representation of this SingleCDockablePerspective . |
String |
getUniqueId()
Gets the unique identifier that is associated with this element. |
CommonElementPerspective |
intern()
Gets the internal representation for this element. If CElementPerspective.asDockable() returns a non-null value, then intern().asDockable() must not
return null either.If CElementPerspective.asStation() returns a non-null value, then intern().asStation() must not
return null either. |
Methods inherited from class bibliothek.gui.dock.common.perspective.AbstractCDockablePerspective |
---|
getLocationHistory, getParent, getWorkingArea, remove, setWorkingArea |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleCDockablePerspective(String uniqueId)
SingleCDockable
.
uniqueId
- the unique identifier of this dockable, not null
Method Detail |
---|
protected CommonElementPerspective create()
intern()
is called, this method creates
the intern representation of this SingleCDockablePerspective
.
this
public CommonElementPerspective intern()
CElementPerspective
CElementPerspective.asDockable()
returns a non-null
value, then intern().asDockable()
must not
return null
either.CElementPerspective.asStation()
returns a non-null
value, then intern().asStation()
must not
return null
either.
public String getUniqueId()
public CDockablePerspective asDockable()
CElementPerspective
this
as dockable, if this is a dockable.
this
or null
public CStationPerspective asStation()
CElementPerspective
this
as station, if this is a station.
this
or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |