dpt.ui
Class XYConstraints
java.lang.Object
|
+--dpt.ui.XYConstraints
- public class XYConstraints
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
(package private) int |
height
|
(package private) int |
width
|
(package private) int |
x
|
(package private) int |
y
|
Methods inherited from class java.lang.Object |
,
finalize,
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
x
int x
y
int y
width
int width
height
int height
XYConstraints
public XYConstraints()
XYConstraints
public XYConstraints(int x,
int y,
int width,
int height)
getX
public int getX()
setX
public void setX(int x)
getY
public int getY()
setY
public void setY(int y)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
hashCode
public int hashCode()
- Returns the hashcode for this XYConstraints.
- Overrides:
- hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object that)
- Checks whether two XYConstraints are equal.
- Overrides:
- equals in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
- clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object