com.virtuosotechnologies.lib.swing
Class Location2D.Int

java.lang.Object
  extended bycom.virtuosotechnologies.lib.swing.Location2D
      extended bycom.virtuosotechnologies.lib.swing.Location2D.Int
All Implemented Interfaces:
Cloneable, Serializable
Enclosing class:
Location2D

public static class Location2D.Int
extends Location2D
implements Serializable, Cloneable

Integer implementation of Location2D

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.virtuosotechnologies.lib.swing.Location2D
Location2D.Double, Location2D.Float, Location2D.Int, Location2D.Long
 
Constructor Summary
Location2D.Int()
          Constructor.
Location2D.Int(int x, int y)
          Constructor
Location2D.Int(Location2D orig)
          Constructor that takes a Location2D
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 double getXD()
          Returns the x in double precision.
 float getXF()
          Returns the x in single precision.
 int getXI()
          Returns the x as an int.
 long getXL()
          Returns the x as a long.
 double getYD()
          Returns the y in double precision.
 float getYF()
          Returns the y in single precision.
 int getYI()
          Returns the y as an int.
 long getYL()
          Returns the y as a long.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location2D.Int

public Location2D.Int(int x,
                      int y)
Constructor

Parameters:
x - x
y - y

Location2D.Int

public Location2D.Int()
Constructor. Creates a size object with value 0,0.


Location2D.Int

public Location2D.Int(Location2D orig)
Constructor that takes a Location2D

Parameters:
orig - original object
Method Detail

getXD

public double getXD()
Description copied from class: Location2D
Returns the x in double precision.

Specified by:
getXD in class Location2D
Returns:
the x in double precision

getYD

public double getYD()
Description copied from class: Location2D
Returns the y in double precision.

Specified by:
getYD in class Location2D
Returns:
the y in double precision

getXF

public float getXF()
Description copied from class: Location2D
Returns the x in single precision.

Specified by:
getXF in class Location2D
Returns:
the x in single precision

getYF

public float getYF()
Description copied from class: Location2D
Returns the y in single precision.

Specified by:
getYF in class Location2D
Returns:
the y in single precision

getXI

public int getXI()
Description copied from class: Location2D
Returns the x as an int.

Specified by:
getXI in class Location2D
Returns:
the x as an int.

getYI

public int getYI()
Description copied from class: Location2D
Returns the y as an int.

Specified by:
getYI in class Location2D
Returns:
the y as an int

getXL

public long getXL()
Description copied from class: Location2D
Returns the x as a long.

Specified by:
getXL in class Location2D
Returns:
the x as a long.

getYL

public long getYL()
Description copied from class: Location2D
Returns the y as a long.

Specified by:
getYL in class Location2D
Returns:
the y as a long

clone

public Object clone()

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

toString

public String toString()