|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.frontend.DefaultDockFrontendPerspective
public class DefaultDockFrontendPerspective
This default implementation of DockFrontendPerspective
is used by the
DefaultLayoutChangeStrategy
and builds upon a PredefinedDockSituation
.
Constructor Summary | |
---|---|
DefaultDockFrontendPerspective(DockFrontend frontend,
PredefinedPerspective perspective,
boolean entry)
Creates a new perspective |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDockFrontendPerspective(DockFrontend frontend, PredefinedPerspective perspective, boolean entry)
frontend
- the DockFrontend
in whose realm this perspective is usedperspective
- the perspective to build upon, not null
entry
- whether the layout is a full or regular layoutMethod Detail |
---|
public PropertyTransformer getPropertyTransformer()
DockFrontendPerspective
PropertyTransformer
which is used to read and write
DockableProperty
s.
getPropertyTransformer
in interface DockFrontendPerspective
public PredefinedPerspective getPerspective()
DockFrontendPerspective
getPerspective
in interface DockFrontendPerspective
public PerspectiveStation getRoot(String root)
DockFrontendPerspective
DockStation
named root
.
getRoot
in interface DockFrontendPerspective
root
- the name of the station
null
if not foundpublic void apply()
DockFrontendPerspective
DockFrontend
which created this perspective.
apply
in interface DockFrontendPerspective
public void store(String name)
DockFrontendPerspective
DockFrontend
using name
as key. The same restrictions
as found in DockFrontendPerspective.apply()
may apply to this method.
store
in interface DockFrontendPerspective
name
- the name of this layout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |