com.smartgwt.client.widgets.drawing
Class Point

java.lang.Object
  extended by com.smartgwt.client.core.JsObject
      extended by com.smartgwt.client.core.DataClass
          extended by com.smartgwt.client.core.RefDataClass
              extended by com.smartgwt.client.widgets.drawing.Point

public class Point
extends RefDataClass

X/Y position in pixels, specified as an Array with two members, for example: [30, 50]


Field Summary
 
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
 
Fields inherited from class com.smartgwt.client.core.JsObject
jsObj
 
Constructor Summary
Point()
           
Point(int x, int y)
           
Point(com.google.gwt.core.client.JavaScriptObject jsObj)
           
 
Method Summary
static Point getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
           
 int getX()
          The x coordinate of this point.
 int getY()
          The y coordinate of this point.
 
Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
 
Methods inherited from class com.smartgwt.client.core.DataClass
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject
 
Methods inherited from class com.smartgwt.client.core.JsObject
equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point()

Point

public Point(com.google.gwt.core.client.JavaScriptObject jsObj)

Point

public Point(int x,
             int y)
Method Detail

getOrCreateRef

public static Point getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

getX

public int getX()
The x coordinate of this point.

Returns:
int

getY

public int getY()
The y coordinate of this point.

Returns:
int