EchoPoint
1.0

echopoint.layout
Class XyCoord

java.lang.Object
  extended byechopoint.layout.XyCoord
All Implemented Interfaces:
java.io.Serializable

public class XyCoord
extends java.lang.Object
implements java.io.Serializable

The XyCoord class is a constraint object for the XyLayoutManager that specifies the {x,y} coordinate to place a component.

See Also:
Serialized Form

Constructor Summary
XyCoord(int x, int y)
          Constructs an XyCoord
 
Method Summary
 int getX()
          Returns the x coordinate
 int getY()
          Returns the y coordinate
 void setX(int x)
          Sets the x coordinate
 void setY(int y)
          Sets the y coordinate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XyCoord

public XyCoord(int x,
               int y)
Constructs an XyCoord

Parameters:
x - - integer
y - - integer
Method Detail

getX

public int getX()
Returns the x coordinate

Returns:
the x coordinate

getY

public int getY()
Returns the y coordinate

Returns:
the y coordinate

setX

public void setX(int x)
Sets the x coordinate

Parameters:
x - - the x coordinate

setY

public void setY(int y)
Sets the y coordinate

Parameters:
y - - the y coordinate

EchoPoint
1.0