|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.AbstractDockableProperty
bibliothek.gui.dock.station.screen.ScreenDockProperty
public class ScreenDockProperty
This property is used on ScreenDockStations
to determine the bounds of the dialogs
.
Field Summary | |
---|---|
private int |
height
|
private int |
width
|
private int |
x
|
private int |
y
|
Constructor Summary | |
---|---|
ScreenDockProperty()
Constructs a new property |
|
ScreenDockProperty(int x,
int y,
int width,
int height)
Constructs a new property |
Method Summary | |
---|---|
java.lang.String |
getFactoryID()
Gest 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(java.io.DataInputStream in)
Reads the contents of this DockableProperty from a stream. |
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(java.io.DataOutputStream out)
Stores the contents of this DockableProperty in a stream. |
Methods inherited from class bibliothek.gui.dock.AbstractDockableProperty |
---|
getSuccessor, setSuccessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int x
private int y
private int width
private int height
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 java.lang.String getFactoryID()
DockableProperty
DockablePropertyFactory
which
can create this type of DockableProperty.
DockablePropertyFactory
public void store(java.io.DataOutputStream out) throws java.io.IOException
DockableProperty
successor
(if there is one) must
not be saved.
out
- the stream to write in
java.io.IOException
- if anything unexpected happenspublic void load(java.io.DataInputStream in) throws java.io.IOException
DockableProperty
in
- the stream to read
java.io.IOException
- if anything unexpected happenspublic 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 |