Package | Description |
---|---|
bibliothek.gui.dock.common.perspective |
The perspective API offers clients the possibility to define or modify the layout
of an application without actually creating any
CDockable s. |
bibliothek.gui.dock.common.perspective.mode |
This module of the perspective API allows clients to access and modify
CDockable s that are in different modes like "maximized" or "minimized". |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCDockablePerspective
An abstract implementation of
CDockablePerspective providing some general methods. |
class |
CGridPerspective
A representation of a
CGridArea . |
class |
CWorkingPerspective
A representation of a
CWorkingArea . |
class |
MultipleCDockablePerspective
Representation of a
MultipleCDockable in a perspective. |
class |
SingleCDockablePerspective
A class that represents a
SingleCDockable . |
Modifier and Type | Method and Description |
---|---|
CDockablePerspective |
CElementPerspective.asDockable()
Gets
this as dockable, if this is a dockable. |
CDockablePerspective |
CExternalizePerspective.asDockable() |
CDockablePerspective |
CMinimizePerspective.asDockable() |
CDockablePerspective |
MultipleCDockablePerspective.asDockable() |
CDockablePerspective |
SingleCDockablePerspective.asDockable() |
CDockablePerspective |
CPerspective.getDockable(String id)
Searches for the
SingleCDockablePerspective or MultipleCDockablePerspective whose
unique identifier is id . |
CDockablePerspective |
CExternalizePerspective.remove(int index)
Removes the
index 'th dockable of this area. |
CDockablePerspective |
CMinimizePerspective.remove(int index)
Removes the
index 'th child of this area. |
CDockablePerspective |
CPerspective.removeDockable(String key)
Removes the dockable with unique key
key from the list of known dockables. |
Modifier and Type | Method and Description |
---|---|
void |
CMinimizePerspective.add(CDockablePerspective dockable)
Adds
dockable at the end of the list of children of this area. |
void |
CStackPerspective.add(CDockablePerspective dockable)
Adds
dockable at the end of the list of dockables. |
void |
CExternalizePerspective.add(CDockablePerspective dockable,
int x,
int y,
int width,
int height)
Adds
dockable at location x/y with size width/height to
this area. |
void |
CExternalizePerspective.add(CDockablePerspective dockable,
int x,
int y,
int width,
int height,
boolean fullscreen)
Adds
dockable at location x/y with size width/height to
this area. |
void |
CExternalizePerspective.add(CDockablePerspective dockable,
Rectangle bounds)
Adds
dockable width boundaries bounds to this area. |
void |
CExternalizePerspective.add(CDockablePerspective dockable,
Rectangle bounds,
boolean fullscreen)
Adds
dockable width boundaries bounds to this area. |
void |
CMinimizePerspective.addPlaceholder(CDockablePerspective dockable)
Adds a placeholder for
dockable at the end of the list of children of this area. |
void |
CExternalizePerspective.addPlaceholder(CDockablePerspective dockable,
int x,
int y,
int width,
int height)
Adds a placeholder for
dockable and all its children to this
area. |
void |
CExternalizePerspective.addPlaceholder(CDockablePerspective dockable,
Rectangle bounds)
Adds a placeholder for
dockable and all its children to this
area. |
ScreenDockPerspective.ScreenPerspectiveWindow |
CExternalizePerspective.getWindow(CDockablePerspective dockable)
Gets an object that stores all the properties that are associated with
dockable . |
void |
CGridPerspective.gridAdd(double x,
double y,
double width,
double height,
CDockablePerspective... dockables)
Adds
dockables at location x/y with size width/height to an internal
list of pending commands to execute. |
void |
CGridPerspective.gridPlaceholder(double x,
double y,
double width,
double height,
CDockablePerspective... dockables)
Adds
dockables as placeholder at location x/y with size width/height to
an internal list of pending commands to execute. |
void |
CGridPerspective.gridSelect(double x,
double y,
double width,
double height,
CDockablePerspective selection)
Using location
x/y and size width/height as key, this method set the selection
in a group of dockables. |
int |
CExternalizePerspective.indexOf(CDockablePerspective dockable)
Gets the location of
dockable . |
int |
CMinimizePerspective.indexOf(CDockablePerspective dockable)
Gets the location of
dockable on this area. |
void |
CMinimizePerspective.insert(int index,
CDockablePerspective dockable)
Inserts
dockable at location index to the list of children of this area. |
void |
CStackPerspective.insert(int index,
CDockablePerspective dockable)
Inserts
dockable at location index . |
void |
CMinimizePerspective.insertPlaceholder(int index,
CDockablePerspective dockable)
Inserts a placeholder for
dockable at location index in the list of
children of this area. |
void |
CGridPerspective.maximize(CDockablePerspective dockable)
Maximized
dockable on this station. |
void |
CPerspective.putDockable(CDockablePerspective dockable)
Stores
dockable in the list of known dockables. |
boolean |
CExternalizePerspective.remove(CDockablePerspective dockable)
Removes
dockable from this area. |
boolean |
CMinimizePerspective.remove(CDockablePerspective dockable)
Removes
dockable from this area. |
void |
CStackPerspective.remove(CDockablePerspective dockable)
Removes the element
dockable from this station. |
Location |
CPerspective.storeLocation(CDockablePerspective dockable)
Determines the current location of
dockable and stores that location
in a map using the ExtendedMode of the Location as key. |
Constructor and Description |
---|
CStackPerspective(CDockablePerspective[] children,
CDockablePerspective selection)
Creates a new station.
|
CStackPerspective(CDockablePerspective[] children,
CDockablePerspective selection)
Creates a new station.
|
Modifier and Type | Method and Description |
---|---|
Location |
LocationModeManagerPerspective.getLocation(CDockablePerspective dockable)
Gets the current location of
dockable . |