|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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
DockablePropertys. |
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 nullentry - whether the layout is a full or regular layout| Method Detail |
|---|
public PropertyTransformer getPropertyTransformer()
DockFrontendPerspectivePropertyTransformer which is used to read and write
DockablePropertys.
getPropertyTransformer in interface DockFrontendPerspectivepublic PredefinedPerspective getPerspective()
DockFrontendPerspective
getPerspective in interface DockFrontendPerspectivepublic PerspectiveStation getRoot(String root)
DockFrontendPerspectiveDockStation named root.
getRoot in interface DockFrontendPerspectiveroot - the name of the station
null if not foundpublic void apply()
DockFrontendPerspectiveDockFrontend which created this perspective.
apply in interface DockFrontendPerspectivepublic void store(String name)
DockFrontendPerspectiveDockFrontend using name as key. The same restrictions
as found in DockFrontendPerspective.apply() may apply to this method.
store in interface DockFrontendPerspectivename - the name of this layout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||