uk.co.silentsoftware.beans
Class Point

java.lang.Object
  extended by uk.co.silentsoftware.beans.Point

public class Point
extends java.lang.Object

Silly class just to hold a single pixel point coordinate as ints and used in UI shapes rendered in the main view


Constructor Summary
Point(int x, int y)
          Default constructor
 
Method Summary
 Point clone()
          Returns a copy of this point
 int getX()
           
 int getY()
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point(int x,
             int y)
Default constructor

Parameters:
x -
y -
Method Detail

clone

public Point clone()
Returns a copy of this point

Returns:

getX

public int getX()

setX

public void setX(int x)

getY

public int getY()

setY

public void setY(int y)