com.esri.wms.client
Class Point

java.lang.Object
  extended by com.esri.wms.client.Point
All Implemented Interfaces:
Serializable

public class Point
extends Object
implements Serializable

Point Object represents an x, y coordinate.

See Also:
Serialized Form

Constructor Summary
Point()
           
 
Method Summary
 boolean equals(Object obj)
          Compares the specified object with this instance for equality.
 SpatialReference getSpatialReference()
          Gets the spatial reference of the point.
 double getX()
          Returns the Point x coordinate location value.
 double getY()
          Returns the Point y coordinate location value.
 int hashCode()
          Returns the hash code of the request object.
 void setSpatialReference(SpatialReference spatialReference)
          Sets the spatial reference of the point.
 void setX(double value)
          Sets the Point x coordinate location value.
 void setY(double value)
          Sets the Point y coordinate location value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

public Point()
Method Detail

setX

public void setX(double value)
Sets the Point x coordinate location value.

Parameters:
value - the x coordinate value.
See Also:
getX()

getX

public double getX()
Returns the Point x coordinate location value.

Returns:
double
See Also:
setX(double)

setY

public void setY(double value)
Sets the Point y coordinate location value.

Parameters:
value - the y coordinate value.
See Also:
getY()

getY

public double getY()
Returns the Point y coordinate location value.

Returns:
double
See Also:
setY(double)

getSpatialReference

public SpatialReference getSpatialReference()
Gets the spatial reference of the point.

Returns:
Returns the spatialReference.

setSpatialReference

public void setSpatialReference(SpatialReference spatialReference)
Sets the spatial reference of the point.

Parameters:
spatialReference - The spatialReference to set.

hashCode

public int hashCode()
Returns the hash code of the request object.

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Compares the specified object with this instance for equality. Returns true if all fields of the two Objects are equal.

Overrides:
equals in class Object
Parameters:
obj - object to be compared for equality with this instance.
Returns:
Returns true if the specified object is equal to this instance.

toString

public String toString()
Overrides:
toString in class Object