|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.common.perspective.CMinimizePerspective
public class CMinimizePerspective
This PerspectiveStation
represents a CMinimizeArea
.
Nested Class Summary | |
---|---|
class |
CMinimizePerspective.CommonFlapDockPerspective
The type of object that is used by CMinimizePerspective as intern representation. |
Constructor Summary | |
---|---|
CMinimizePerspective(java.lang.String id)
Creates a new, empty perspective. |
Method Summary | |
---|---|
void |
add(CDockablePerspective dockable)
Adds dockable at the end of the list of children of this area. |
void |
addPlaceholder(CDockablePerspective dockable)
Adds a placeholder for dockable at the end of the list of children of this area. |
CDockablePerspective |
asDockable()
Gets this as dockable, if this is a dockable. |
CStationPerspective |
asStation()
Gets this as station, if this is a station. |
java.lang.String |
getFactoryID()
|
PlaceholderMap |
getPlaceholders()
|
java.lang.String |
getUniqueId()
Gets the unique identifier of this station. |
int |
indexOf(CDockablePerspective dockable)
Gets the location of dockable on this area. |
void |
insert(int index,
CDockablePerspective dockable)
Inserts dockable at location index to the list of children of this area. |
void |
insertPlaceholder(int index,
CDockablePerspective dockable)
Inserts a placeholder for dockable at location index in the list of
children of this area. |
CMinimizePerspective.CommonFlapDockPerspective |
intern()
Gets the internal representation for this element. |
boolean |
remove(CDockablePerspective dockable)
Removes dockable from this area. |
CDockablePerspective |
remove(int index)
Removes the index 'th child of this area. |
void |
setPerspective(CPerspective perspective)
Informs this station by which perspective it is used. |
void |
setPlaceholders(PlaceholderMap placeholders)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMinimizePerspective(java.lang.String id)
id
- the unique identifier of this perspectiveMethod Detail |
---|
public void setPerspective(CPerspective perspective)
CStationPerspective
setPerspective
in interface CStationPerspective
perspective
- the perspective that uses this station or null
public void add(CDockablePerspective dockable)
dockable
at the end of the list of children of this area.
dockable
- the element to addpublic void insert(int index, CDockablePerspective dockable)
dockable
at location index
to the list of children of this area.
index
- the location of dockable
dockable
- the element to insertpublic void addPlaceholder(CDockablePerspective dockable)
dockable
at the end of the list of children of this area.
dockable
- the element for which a placeholder will be registeredpublic void insertPlaceholder(int index, CDockablePerspective dockable)
dockable
at location index
in the list of
children of this area.
index
- the location of the placeholderdockable
- the element for which a placeholder will be registeredpublic int indexOf(CDockablePerspective dockable)
dockable
on this area.
dockable
- some child of this area
public boolean remove(CDockablePerspective dockable)
dockable
from this area.
dockable
- the element to remove
true
if dockable
was found and removed,
false
otherwisepublic CDockablePerspective remove(int index)
index
'th child of this area.
index
- the index of the child to remove
null
if the child is not a CDockablePerspective
public CDockablePerspective asDockable()
CElementPerspective
this
as dockable, if this is a dockable.
asDockable
in interface CElementPerspective
this
or null
public CStationPerspective asStation()
CElementPerspective
this
as station, if this is a station.
asStation
in interface CElementPerspective
this
or null
public java.lang.String getFactoryID()
public java.lang.String getUniqueId()
CStationPerspective
getUniqueId
in interface CStationPerspective
public CMinimizePerspective.CommonFlapDockPerspective 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.
intern
in interface CElementPerspective
public PlaceholderMap getPlaceholders()
public void setPlaceholders(PlaceholderMap placeholders)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |