|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.layout.AbstractDockableProperty
bibliothek.gui.dock.station.split.SplitDockPlaceholderProperty
public class SplitDockPlaceholderProperty
This property references a placeholder that is already present within the
tree of a SplitDockStation
.
Constructor Summary | |
---|---|
SplitDockPlaceholderProperty()
Creates a new empty property |
|
SplitDockPlaceholderProperty(Path placeholder)
Creates a new property. |
|
SplitDockPlaceholderProperty(Path placeholder,
SplitDockPathProperty backup)
Creates a new property. |
|
SplitDockPlaceholderProperty(Path placeholder,
SplitDockProperty backup)
Creates a new property. |
Method Summary | |
---|---|
SplitDockPlaceholderProperty |
copy()
Gets a copy of this property, the DockableProperty.getSuccessor() must be
copied as well. |
String |
getFactoryID()
Gets the unique name of the DockablePropertyFactory which
can create this type of DockableProperty. |
Path |
getPlaceholder()
Gets the placeholder this property references to. |
void |
load(DataInputStream in)
Reads the contents of this DockableProperty from a stream. |
void |
load(XElement element)
Reads the contents of this DockableProperty from an
xml element. |
void |
store(DataOutputStream out)
Stores the contents of this DockableProperty in a stream. |
void |
store(XElement element)
Stores the contents of this property as xml element. |
DockableProperty |
toLocation(SplitNode target)
Gets some DockableProperty that works as backup property
if the referenced placeholder is not found. |
SplitDockProperty |
toSplitLocation(SplitNode target)
Gets a SplitDockProperty that works as backup property
if the referenced placeholder is not found. |
Methods inherited from class bibliothek.gui.dock.layout.AbstractDockableProperty |
---|
copy, equals, equalsNoSuccessor, getSuccessor, hashCode, setSuccessor |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplitDockPlaceholderProperty()
public SplitDockPlaceholderProperty(Path placeholder)
placeholder
- the referenced placeholderpublic SplitDockPlaceholderProperty(Path placeholder, SplitDockProperty backup)
placeholder
- the referenced placeholderbackup
- backup location to be used if placeholder
is not foundpublic SplitDockPlaceholderProperty(Path placeholder, SplitDockPathProperty backup)
placeholder
- the referenced placeholderbackup
- backup location to be used if placeholder
is not foundMethod Detail |
---|
public Path getPlaceholder()
null
public DockableProperty toLocation(SplitNode target)
DockableProperty
that works as backup property
if the referenced placeholder is not found.
target
- the node that asks for this location
null
public SplitDockProperty toSplitLocation(SplitNode target)
SplitDockProperty
that works as backup property
if the referenced placeholder is not found.
target
- the node that asks for this location
null
public SplitDockPlaceholderProperty copy()
DockableProperty
DockableProperty.getSuccessor()
must be
copied as well.
this
public String getFactoryID()
DockableProperty
DockablePropertyFactory
which
can create this type of DockableProperty.
DockablePropertyFactory
public void store(DataOutputStream out) throws IOException
DockableProperty
successor
(if there is one) must
not be saved.
out
- the stream to write in
IOException
- if anything unexpected happenspublic void load(DataInputStream in) throws IOException
DockableProperty
in
- the stream to read
IOException
- if anything unexpected happenspublic void store(XElement element)
DockableProperty
element
- the element into which to write, the attributes of
this element should not be changedpublic void load(XElement element)
DockableProperty
DockableProperty
from an
xml element.
element
- the element that was written earlier by this property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |