Package | Description |
---|---|
bibliothek.gui.dock.common.intern |
Classes and interfaces used internally.
|
bibliothek.gui.dock.common.intern.layout |
Implementation of a
LayoutChangeStrategy and supporting 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 |
---|---|
void |
CSetting.read(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
DataInputStream in) |
void |
CSetting.readXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element) |
void |
CSetting.write(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
DataOutputStream out) |
void |
CSetting.writeXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element) |
Modifier and Type | Method and Description |
---|---|
protected Set<Dockable> |
CLayoutChangeStrategy.estimateVisible(DockFrontendInternals frontend,
DockSituation situation,
DockLayoutComposition layout) |
Modifier and Type | Method and Description |
---|---|
DockSituation |
LayoutChangeStrategy.createSituation(DockFrontendInternals frontend,
boolean entry)
Creates a new
DockSituation that is used to write and read the current setting from and
to a stream.Note: the result of this method is used to read and write data from a file, the frontend expects that always the same format (i.e. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultLayoutChangeStrategy.applyInvisibleLayout(DockFrontendInternals frontend,
DockSituation situation,
DefaultLayoutChangeStrategy.SettingAccess setting)
Applies
setting to the invisible elements. |
protected void |
DefaultLayoutChangeStrategy.applyLayout(DockFrontendInternals frontend,
DockSituation situation,
DefaultLayoutChangeStrategy.SettingAccess setting,
boolean entry)
Applies the layout described in
setting to the visible elements. |
protected Collection<Dockable> |
DefaultLayoutChangeStrategy.approveClosing(DockFrontendInternals frontend,
DockSituation situation,
DefaultLayoutChangeStrategy.SettingAccess setting)
Asks the
VetoManager whether some Dockable s can be hidden. |
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 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 . |
void |
DefaultLayoutChangeStrategy.SettingAccess.fillMissing(DockSituation situation)
Using the factories given by
situation , this method tries
to fill any gaps in the layout. |
void |
Setting.fillMissing(DockSituation situation)
Using the factories given by
situation , this method tries
to fill any gaps in the layout. |
protected Map<String,DockableProperty> |
DefaultLayoutChangeStrategy.listEstimateLocations(DockSituation situation,
DockLayoutComposition layout)
Tries to estimate the location of missing
Dockable s. |
protected Map<String,DockLayoutComposition> |
DefaultLayoutChangeStrategy.listLayouts(DockSituation situation,
DockLayoutComposition layout)
Tries to estimate the layouts of missing
Dockable s. |
void |
Setting.read(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
DataInputStream in)
Reads the properties of this setting.
|
void |
Setting.readXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Reads the properties of this setting.
|
void |
Setting.write(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
DataOutputStream out)
Writes the properties of this setting into
out . |
void |
Setting.writeXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Writes the properties of this setting in xml format.
|
Modifier and Type | Class and Description |
---|---|
class |
PredefinedDockSituation
A
DockSituation that does not load or store all DockElements . |
Modifier and Type | Method and Description |
---|---|
DockSituation |
Perspective.getSituation()
|
Constructor and Description |
---|
Perspective(DockSituation situation)
Creates a new
Perspective using situation to read and write
items. |