org.gwtopenmaps.openlayers.client.geometry
Class Point

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.geometry.Geometry
              extended by org.gwtopenmaps.openlayers.client.geometry.Point

public class Point
extends Geometry

...

Author:
Edwin Commandeur - Atlis EJS

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.geometry.Geometry
LINEARRING_CLASS_NAME, LINESTRING_CLASS_NAME, POINT_CLASS_NAME, POLYGON_CLASS_NAME
 
Constructor Summary
  Point(double x, double y)
           
protected Point(JSObject point)
           
 
Method Summary
 String getId()
           
 double getX()
           
 double[] getXY()
           
 double getY()
           
static Point narrowToPoint(JSObject point)
           
 void setX(double x)
           
 void setXY(double x, double y)
           
 void setY(double y)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.geometry.Geometry
destroy, getBounds, narrowToGeometry
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

protected Point(JSObject point)

Point

public Point(double x,
             double y)
Parameters:
x - - double
y - - double
Method Detail

narrowToPoint

public static Point narrowToPoint(JSObject point)

getX

public double getX()

getY

public double getY()

getId

public String getId()

setX

public void setX(double x)

setY

public void setY(double y)

getXY

public double[] getXY()

setXY

public void setXY(double x,
                  double y)


Copyright © 2010 sourceforge. All Rights Reserved.