Method Header | Description |
---|---|
public void setX(int aValue) | Set the instance variable (ivar) "x" to the param "aValue" |
public void setY(int aValue) | Set the ivar "y" to the param "aValue" |
public void set(int aValue) | Set ivars "x" and "y" to the param "aValue" |
public void set(int aX, int aY) | Set ivar "x" to param "aX" and set ivar "y" to param "aY" |
Point point; point = new Point();
public String toString() { //Return a "nice" display string return "" + x + " x " + y; }