|
||||||||||
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.screen.ScreenDockProperty
public class ScreenDockProperty
This property is used on ScreenDockStations
to determine the bounds of the dialogs
.
Constructor Summary | |
---|---|
ScreenDockProperty()
Constructs a new property |
|
ScreenDockProperty(int x,
int y,
int width,
int height)
Constructs a new property |
Method Summary | |
---|---|
String |
getFactoryID()
Gets the unique name of the DockablePropertyFactory which
can create this type of DockableProperty. |
int |
getHeight()
Gets the height of the dialog. |
int |
getWidth()
Gets the width of the dialog. |
int |
getX()
Gets the x-coordinate of the dialog. |
int |
getY()
Gets the y-coordinate of the dialog |
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 |
setHeight(int height)
Sets the height of the dialog. |
void |
setWidth(int width)
Sets the width of the dialog. |
void |
setX(int x)
Sets the location of the left size of the dialog. |
void |
setY(int y)
Sets the location of the top side of the dialog. |
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 |
Constructor Detail |
---|
public ScreenDockProperty()
public ScreenDockProperty(int x, int y, int width, int height)
x
- the x-coordinate of the dialogy
- the y-coordinate of the dialogwidth
- the width of the dialogheight
- the height of the dialogMethod Detail |
---|
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 propertypublic int getHeight()
setHeight(int)
public void setHeight(int height)
height
- the heightpublic int getWidth()
setWidth(int)
public void setWidth(int width)
width
- the new widthpublic int getX()
setX(int)
public void setX(int x)
x
- the x-coordinatepublic int getY()
setY(int)
public void setY(int y)
y
- the y-coordinate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |