com.borland.jbcl.layout
Class XYConstraints
java.lang.Object
com.borland.jbcl.layout.XYConstraints
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class XYConstraints
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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