|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DockFrontendPerspective
Represents the layout that is created and managed by a DockFrontend
, offers
methods to easily modify that layout. Clients should call DockFrontend.getPerspective(boolean)
to acquire an object of this type.
This interface is only a wrapper around Perspective
and offers some shortcuts to implement
tasks more easily, clients could also access the Perspective
directly and completely
ignore this object.
Method Summary | |
---|---|
void |
apply()
Applies the current layout to the DockFrontend which created this perspective.Please note that implementations may restrict what information is applied, specifically: It may not be possible to add/remove root-stations through this method. Invisible elements may not be touched |
PredefinedPerspective |
getPerspective()
Gets the internal representation of this layout. |
PropertyTransformer |
getPropertyTransformer()
Gets a PropertyTransformer which is used to read and write
DockableProperty s. |
PerspectiveStation |
getRoot(String root)
Allows access to the root DockStation named root . |
void |
store(String name)
Stores this perspective in the DockFrontend using name as key. |
Method Detail |
---|
PredefinedPerspective getPerspective()
PropertyTransformer getPropertyTransformer()
PropertyTransformer
which is used to read and write
DockableProperty
s.
PerspectiveStation getRoot(String root)
DockStation
named root
.
root
- the name of the station
null
if not foundvoid apply()
DockFrontend
which created this perspective.
void store(String name)
DockFrontend
using name
as key. The same restrictions
as found in apply()
may apply to this method.
name
- the name of this layout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |