ewe.fx
Class Point

java.lang.Object
  extended byewe.fx.Point
All Implemented Interfaces:
Encodable

public class Point
extends Object
implements Encodable


Field Summary
 int x
           
 int y
           
 
Constructor Summary
Point()
           
Point(int xx, int yy)
           
 
Method Summary
 boolean equals(Object other)
          Returns if this object is considered equal to the other object.
 void move(int toX, int toY)
           
 Point set(int x, int y)
           
 Point set(Point r)
           
 Point set(Rect r)
           
 String toString()
          Return a String representation of this object.
 void translate(int dx, int dy)
           
static Point unNull(Point r)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode
 

Field Detail

x

public int x

y

public int y
Constructor Detail

Point

public Point()

Point

public Point(int xx,
             int yy)
Method Detail

move

public void move(int toX,
                 int toY)

translate

public void translate(int dx,
                      int dy)

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.

set

public Point set(int x,
                 int y)

set

public Point set(Point r)

set

public Point set(Rect r)

unNull

public static Point unNull(Point r)

equals

public boolean equals(Object other)
Description copied from class: Object
Returns if this object is considered equal to the other object.

Overrides:
equals in class Object
Parameters:
other - Another object to compare to.
Returns:
true if this object is considered equal to the other object.