|
||||||||||
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.flap.FlapDockProperty
public class FlapDockProperty
FlapDockProperties are used on the FlapDockStation
to determine
the location of a Dockable
.
Field Summary | |
---|---|
static FlapDockProperty |
FIRST
The location of the first Dockable . |
static FlapDockProperty |
LAST
The location of the last Dockable . |
Constructor Summary | |
---|---|
FlapDockProperty()
Constructs a FlapDockProperty |
|
FlapDockProperty(int index)
Constructs a FlapDockProperty |
Method Summary | |
---|---|
String |
getFactoryID()
Gets the unique name of the DockablePropertyFactory which
can create this type of DockableProperty. |
int |
getIndex()
Gets the location of the Dockable on its FlapDockStation . |
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 |
setIndex(int index)
Sets the location of the Dockable on its FlapDockStation . |
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. |
Methods inherited from class bibliothek.gui.dock.layout.AbstractDockableProperty |
---|
getSuccessor, setSuccessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FlapDockProperty FIRST
Dockable
.
public static final FlapDockProperty LAST
Dockable
.
Constructor Detail |
---|
public FlapDockProperty()
public FlapDockProperty(int index)
index
- the location of the Dockable
setIndex(int)
Method Detail |
---|
public void setIndex(int index)
Dockable
on its FlapDockStation
.
index
- the locationpublic int getIndex()
Dockable
on its FlapDockStation
.
setIndex(int)
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 store(XElement element)
DockableProperty
element
- the element into which to write, the attributes of
this element should not be changedpublic void load(DataInputStream in) throws IOException
DockableProperty
in
- the stream to read
IOException
- if anything unexpected happenspublic 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 |