| Package | Description |
|---|---|
| bibliothek.extension.gui.dock.preference |
Generic collection of preferences used in this framework.
|
| bibliothek.gui |
The high level interfaces of the framework and the most often used classes.
|
| bibliothek.gui.dock.dockable |
Some classes related to
Dockable. |
| bibliothek.gui.dock.frontend |
Classes and interfaces needed by the
DockFrontend |
| bibliothek.gui.dock.layout |
Elements dealing with the location of
Dockables
on their DockStation and allowing to store the
whole layout of a set of Dockables and stations. |
| bibliothek.gui.dock.perspective |
The perspective API allows clients to access and modify the layout without
actually creating any
Dockables. |
| bibliothek.gui.dock.station.flap |
Elements that are related to the
FlapDockStation. |
| bibliothek.gui.dock.station.screen |
Elements that are related to the
ScreenDockStation. |
| bibliothek.gui.dock.station.split |
Elements which are needed by the
SplitDockStation,
and which are needed to interact with the station. |
| bibliothek.gui.dock.station.stack |
Elements which are related to the
StackDockStation. |
| bibliothek.gui.dock.station.support |
Elements used by various
DockStations to store
properties and to propagate events to other objects. |
| bibliothek.util.xml |
Classes to read, inspect, modify and write XML files.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PreferenceStorage.readXML(PreferenceModel model,
XElement element)
Reads some preferences from
element and stores them in
model. |
void |
PreferenceStorage.readXML(XElement element)
Reads the contents of this storage from
element. |
V |
PreferenceFactory.readXML(XElement element)
Reads some value from
element. |
static void |
PreferenceStorage.writeXML(PreferenceModel model,
XElement element)
Writes the preferences of
model into element. |
void |
PreferenceFactory.writeXML(V value,
XElement element)
Writes
value into element. |
void |
PreferenceStorage.writeXML(XElement element)
Writes the contents of this storage into
element, adds
new elements to element but does
not change the attributes. |
| Modifier and Type | Method and Description |
|---|---|
SettingsBlop |
DockFrontend.readBlopXML(XElement element)
Reads the contents of
element using all the factories installed on this
DockFrontend, without actually changing any property of this frontend. |
protected Setting |
DockFrontend.readXML(boolean entry,
XElement element)
|
void |
DockFrontend.readXML(XElement element)
Reads the contents of this frontend from an xml element.
|
void |
DockFrontend.readXML(XElement element,
boolean keepExistingSettings)
Reads the contents of this frontend from an xml element.
|
void |
DockFrontend.writeBlopXML(SettingsBlop blop,
XElement element)
Writes all the
Settings of blop into element, this
method does use the factories installed on this DockFrontend, but does not
change any properties of the frontend. |
protected void |
DockFrontend.writeXML(Setting setting,
boolean entry,
XElement element)
|
void |
DockFrontend.writeXML(XElement element)
Writes all properties of this frontend into an xml element.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
DefaultDockableFactory.read(XElement element,
PlaceholderStrategy placeholders) |
void |
DefaultDockableFactory.write(Object layout,
XElement element) |
| Modifier and Type | Method and Description |
|---|---|
BackupFactoryData<L> |
RegisteringDockFactory.read(XElement element,
PlaceholderStrategy placeholders) |
void |
Setting.readXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Reads the properties of this setting.
|
void |
RegisteringDockFactory.write(BackupFactoryData<L> layout,
XElement element) |
void |
Setting.writeXML(DockSituation situation,
PropertyTransformer transformer,
boolean entry,
XElement element)
Writes the properties of this setting in xml format.
|
| Modifier and Type | Method and Description |
|---|---|
XElement |
DockLayoutInfo.getDataXML()
Gets the data of this info formated as xml.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DockableProperty.load(XElement element)
Reads the contents of this
DockableProperty from an
xml element. |
L |
DockConverter.read(XElement element,
PlaceholderStrategy placeholders)
Reads a layout from an xml-element.
|
Map<String,DockLayoutComposition> |
DockSituation.readCompositionsXML(XElement root)
Reads a set of
DockLayoutCompositions that were stored earlier. |
DockLayoutComposition |
DockSituation.readCompositionXML(XElement element)
Reads a
DockLayoutComposition from an xml element. |
Object |
MissingDockFactory.readXML(String id,
XElement element)
Reads
element and returns an object that represents the
content of element. |
Map<String,DockStation> |
DockSituation.readXML(XElement root)
Reads a set of
DockStations that were stored earlier. |
DockableProperty |
PropertyTransformer.readXML(XElement element)
Reads a
DockableProperty and its successors from an xml element. |
void |
DockableProperty.store(XElement element)
Stores the contents of this property as xml element.
|
void |
DockConverter.write(L layout,
XElement element)
Writes the contents of
layout into element. |
void |
DockSituation.writeCompositionsXML(Map<String,DockLayoutComposition> stations,
XElement element)
Writes the contents of
station into element. |
void |
DockSituation.writeCompositionXML(DockLayoutComposition composition,
XElement element)
Writes the contents of
composition into element without
changing the attributes of element. |
void |
PropertyTransformer.writeXML(DockableProperty property,
XElement element)
Writes
property and all its successors into
element. |
void |
DockSituation.writeXML(Map<String,DockStation> stations,
XElement element)
Writes all locations and relationships of the
DockStations
stations and their children as xml. |
| Constructor and Description |
|---|
DockLayoutInfo(XElement data)
Creates a new info.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,PerspectiveStation> |
Perspective.readXML(XElement root)
Reads the contents of
root and returns them in a map. |
void |
Perspective.writeXML(Map<String,PerspectiveStation> stations,
XElement element)
Converts the content of
stations to XML. |
| Modifier and Type | Method and Description |
|---|---|
void |
FlapDockProperty.load(XElement element) |
FlapDockStationLayout |
FlapDockStationFactory.read(XElement element,
PlaceholderStrategy placeholders) |
void |
FlapDockProperty.store(XElement element) |
void |
FlapDockStationFactory.write(FlapDockStationLayout layout,
XElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScreenDockProperty.load(XElement element) |
ScreenDockStationLayout |
ScreenDockStationFactory.read(XElement element,
PlaceholderStrategy placeholders) |
void |
ScreenDockProperty.store(XElement element) |
void |
ScreenDockStationFactory.write(ScreenDockStationLayout layout,
XElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
SplitDockPathProperty.load(XElement element) |
void |
SplitDockFullScreenProperty.load(XElement element) |
void |
SplitDockProperty.load(XElement element) |
void |
SplitDockPlaceholderProperty.load(XElement element) |
SplitDockStationLayout |
SplitDockStationFactory.read(XElement element,
PlaceholderStrategy placeholders) |
void |
SplitDockPathProperty.store(XElement element) |
void |
SplitDockFullScreenProperty.store(XElement element) |
void |
SplitDockProperty.store(XElement element) |
void |
SplitDockPlaceholderProperty.store(XElement element) |
void |
SplitDockStationFactory.write(SplitDockStationLayout layout,
XElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
StackDockProperty.load(XElement element) |
StackDockStationLayout |
StackDockStationFactory.read(XElement element,
PlaceholderStrategy placeholders) |
void |
StackDockProperty.store(XElement element) |
void |
StackDockStationFactory.write(StackDockStationLayout layout,
XElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
PlaceholderMap.write(XElement out)
Writes the contents of this map into
out. |
| Constructor and Description |
|---|
PlaceholderMap(XElement in,
PlaceholderStrategy strategy)
Creates a new map reading the content of the map directly from
in. |
| Modifier and Type | Method and Description |
|---|---|
XElement |
XElement.addAttribute(XAttribute attribute)
Adds a new attribute to this entry.
|
XElement |
XElement.addBoolean(String name,
boolean value)
Adds a new attribute to this entry.
|
XElement |
XElement.addByte(String name,
byte value)
Adds a new attribute to this entry.
|
XElement |
XElement.addByteArray(String name,
byte[] value)
Adds a new attribute to this entry.
|
XElement |
XElement.addChar(String name,
char value)
Adds a new attribute to this entry.
|
XElement |
XElement.addDouble(String name,
double value)
Adds a new attribute to this entry.
|
XElement |
XElement.addElement(String name)
Creates and adds a new element.
|
XElement |
XElement.addFloat(String name,
float value)
Adds a new attribute to this entry.
|
XElement |
XElement.addInt(String name,
int value)
Adds a new attribute to this entry.
|
XElement |
XElement.addLong(String name,
long value)
Adds a new attribute to this entry.
|
XElement |
XElement.addShort(String name,
short value)
Adds a new attribute to this entry.
|
XElement |
XElement.addString(String name,
String value)
Adds a new attribute to this entry.
|
XElement[] |
XElement.children()
Gets all children of this entry.
|
XElement |
XElement.copy() |
XElement |
XElement.getElement(int index)
Gets the index'th child of this element.
|
XElement |
XElement.getElement(String name)
Gets the first element with the given name.
|
XElement[] |
XElement.getElements(String... names)
Searches all children which have one of the name
names. |
XElement[] |
XElement.getElements(String name)
Gets all children with a given name.
|
static XElement |
XIO.read(CharSequence text)
Interprets
text as a xml-file and reads it. |
static XElement |
XIO.read(InputSource source)
Reads a xml-file from
source. |
static XElement |
XIO.read(InputStream in,
String encoding)
Reads a xml file provided from
in using encoding
as encoding. |
static XElement |
XIO.read(Reader reader)
Reads a xml file provided from
reader. |
static XElement |
XIO.readUTF(InputStream in)
Reads a xml file provided from
in using UTF-8
as encoding. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<XElement> |
XElement.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
XElement.addElement(XElement element)
Adds a new element to this element.
|
void |
XElement.copy(XElement original)
Makes a copy of all the elements of
original
and stores them in this container. |
boolean |
XElement.removeElement(XElement element)
Removes the child
element from this XElement. |
static void |
XIO.write(XElement element,
Appendable out)
Writes the contents of
element into out. |
static void |
XIO.write(XElement element,
OutputStream out,
String encoding)
Writes the contents of
element into out. |
static void |
XIO.writeUTF(XElement element,
OutputStream out)
Writes the contents of
element into out using
the UTF-8 encoding. |
Copyright © 2017 Docking Frames. All rights reserved.