public interface DockFrontendPerspective
DockFrontend, offers
methods to easily modify that layout. Clients should call DockFrontend.getPerspective(boolean)
to acquire an object of this type.Perspective and offers some shortcuts to implement
tasks more easily, clients could also access the Perspective directly and completely
ignore this object.| Modifier and Type | Method and Description |
|---|---|
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. |
PredefinedPerspective getPerspective()
PropertyTransformer getPropertyTransformer()
PropertyTransformer which is used to read and write
DockablePropertys.PerspectiveStation getRoot(String root)
DockStation named root.root - the name of the stationnull 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 layoutCopyright © 2017 Docking Frames. All rights reserved.