Package | Description |
---|---|
bibliothek.gui |
The high level interfaces of the framework and the most often used classes.
|
bibliothek.gui.dock.frontend |
Classes and interfaces needed by the
DockFrontend |
bibliothek.gui.dock.layout |
Elements dealing with the location of
Dockable s
on their DockStation and allowing to store the
whole layout of a set of Dockable s and stations. |
bibliothek.gui.dock.perspective |
The perspective API allows clients to access and modify the layout without
actually creating any
Dockable s. |
Modifier and Type | Method and Description |
---|---|
DockLayoutComposition |
DockFrontend.DockInfo.getLayout() |
Modifier and Type | Method and Description |
---|---|
void |
DockFrontend.DockInfo.setLayout(DockLayoutComposition layout) |
Modifier and Type | Method and Description |
---|---|
DockLayoutComposition |
DefaultLayoutChangeStrategy.SettingAccess.getInvisibleLayout(int index)
Gets the layout of the index'th invisible element.
|
DockLayoutComposition |
Setting.getInvisibleLayout(int index)
Gets the layout of the index'th invisible element.
|
DockLayoutComposition |
FrontendEntry.getLayout()
Gets information about the layout of this element.
|
DockLayoutComposition |
DefaultLayoutChangeStrategy.SettingAccess.getRoot(java.lang.String root)
Gets the layout of a root.
|
DockLayoutComposition |
Setting.getRoot(java.lang.String root)
Gets the layout of a root.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,DockLayoutComposition> |
DefaultLayoutChangeStrategy.listLayouts(DockSituation situation,
DockLayoutComposition layout)
Tries to estimate the layouts of missing
Dockable s. |
Modifier and Type | Method and Description |
---|---|
void |
Setting.addInvisible(java.lang.String key,
java.lang.String root,
DockLayoutComposition layout,
DockableProperty location)
Stores the location of an invisible element.
|
void |
DefaultLayoutChangeStrategy.estimateLocations(DockFrontendInternals frontend,
DockSituation situation,
DockLayoutComposition layout) |
void |
LayoutChangeStrategy.estimateLocations(DockFrontendInternals frontend,
DockSituation situation,
DockLayoutComposition layout)
Tries to fill the property
location
for each element in layout . |
protected java.util.Set<Dockable> |
DefaultLayoutChangeStrategy.estimateVisible(DockFrontendInternals frontend,
DockSituation situation,
DockLayoutComposition layout)
Tries to estimate which of the currently visible
Dockable s will
still be visible if layout is applied to frontend . |
protected java.util.Map<java.lang.String,DockableProperty> |
DefaultLayoutChangeStrategy.listEstimateLocations(DockSituation situation,
DockLayoutComposition layout)
Tries to estimate the location of missing
Dockable s. |
protected java.util.Map<java.lang.String,DockLayoutComposition> |
DefaultLayoutChangeStrategy.listLayouts(DockSituation situation,
DockLayoutComposition layout)
Tries to estimate the layouts of missing
Dockable s. |
void |
Setting.putRoot(java.lang.String root,
DockLayoutComposition layout)
Stores the layout of a root.
|
void |
FrontendEntry.setLayout(DockLayoutComposition layout)
Sets information about the layout of this element.
|
Modifier and Type | Method and Description |
---|---|
DockLayoutComposition |
DockSituation.convert(DockElement element)
Converts the layout of
element and all its children into a
DockLayoutComposition . |
DockLayoutComposition |
DockSituation.fillMissing(DockLayoutComposition composition)
Using the factories currently known to this
DockSituation , this
method tries to fill gaps in composition . |
DockLayoutComposition |
DefaultLocationEstimationMap.getRoot()
Gets the element which is represented by this map.
|
DockLayoutComposition |
DockSituation.readComposition(java.io.DataInputStream in)
Reads one
DockLayoutComposition and all its children. |
DockLayoutComposition |
DockSituation.readCompositionXML(XElement element)
Reads a
DockLayoutComposition from an xml element. |
Modifier and Type | Method and Description |
---|---|
java.util.List<DockLayoutComposition> |
DockLayoutComposition.getChildren()
Gets the list of all known children of this composition.
|
java.util.Map<java.lang.String,DockLayoutComposition> |
PredefinedDockSituation.listLayouts(DockLayoutComposition composition,
boolean missingOnly)
Gets a map containing some or all of the named layouts.
|
java.util.Map<java.lang.String,DockLayoutComposition> |
DockSituation.readCompositions(java.io.DataInputStream in)
Reads
in and returns the map of DockLayoutComposition s that was
stored. |
java.util.Map<java.lang.String,DockLayoutComposition> |
DockSituation.readCompositionsXML(XElement root)
Reads a set of
DockLayoutComposition s that were stored earlier. |
Modifier and Type | Method and Description |
---|---|
DockElement |
DockSituation.convert(DockLayoutComposition composition)
Reads the contents of
composition and tries to create a
DockElement that matches the composition. |
void |
DockSituation.estimateLocations(DockLayoutComposition composition)
Tries to guess the location of the elements stored in the tree
below
composition . |
void |
DockSituation.estimateLocations(DockLayoutComposition composition,
DockableProperty location)
Tries to guess the location of the elements stored in the tree below
composition , assuming that composition itself
is at location location . |
DockLayoutComposition |
DockSituation.fillMissing(DockLayoutComposition composition)
Using the factories currently known to this
DockSituation , this
method tries to fill gaps in composition . |
java.lang.String |
DockSituation.getIdentifier(DockLayoutComposition composition)
Tells what identifier was associated with
composition when it was
stored by a DockSituation of this type. |
java.lang.String |
PredefinedDockSituation.getIdentifier(DockLayoutComposition composition) |
java.util.Map<java.lang.String,DockableProperty> |
PredefinedDockSituation.listEstimatedLocations(DockLayoutComposition composition,
boolean missingOnly)
Lists for all keys that can be found in
composition its
estimated location.Note: This method will call DockSituation.estimateLocations(DockLayoutComposition)
to get the most recent locations |
java.util.Map<java.lang.String,DockableProperty> |
PredefinedDockSituation.listEstimatedLocations(DockLayoutComposition composition,
DockableProperty location,
boolean missingOnly)
Lists for all keys that can be found in
composition its
estimated location.Note: This method will call DockSituation.estimateLocations(DockLayoutComposition)
to get the most recent locations |
java.util.Map<java.lang.String,DockLayoutComposition> |
PredefinedDockSituation.listLayouts(DockLayoutComposition composition,
boolean missingOnly)
Gets a map containing some or all of the named layouts.
|
<D extends DockElement> |
PredefinedDockSituation.listVisible(java.util.Collection<D> base,
DockLayoutComposition composition)
Given a set of
Dockable s this method
estimates which of them will be visible once composition
is applied. |
void |
DockSituation.writeComposition(DockLayoutComposition composition,
java.io.DataOutputStream out)
Writes the contents of
composition and all its children
to out . |
void |
DockSituation.writeCompositionXML(DockLayoutComposition composition,
XElement element)
Writes the contents of
composition into element without
changing the attributes of element . |
Modifier and Type | Method and Description |
---|---|
void |
DockSituation.writeCompositions(java.util.Map<java.lang.String,DockLayoutComposition> stations,
java.io.DataOutputStream out)
Writes all information stored in
stations to out . |
void |
DockSituation.writeCompositionsXML(java.util.Map<java.lang.String,DockLayoutComposition> stations,
XElement element)
Writes the contents of
station into element . |
Constructor and Description |
---|
DefaultLocationEstimationMap(DockLayoutComposition root)
Creates a new map
|
Constructor and Description |
---|
DockLayoutComposition(DockLayoutInfo layout,
java.util.List<DockLayout<?>> adjacent,
java.util.List<DockLayoutComposition> children,
boolean ignoreChildren)
Creates a new composition.
|
Modifier and Type | Method and Description |
---|---|
DockLayoutComposition |
Perspective.convert(PerspectiveElement element)
Converts
element using the DockFactory s that are registered at this
perspective. |
Modifier and Type | Method and Description |
---|---|
PerspectiveElement |
Perspective.convert(DockLayoutComposition composition)
Converts
composition using the DockFactory s that are registered at
this perspective. |