Class Point
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.commons.AbstractReadOnlyPoint
-
- org.pepstock.charba.client.commons.AbstractPoint
-
- org.pepstock.charba.client.positioner.Point
-
public final class Point extends AbstractPoint
This object is wrapping the native java script object provided by tooltip positioner to know the position of the event in canvas coordinates.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
-
Methods inherited from class org.pepstock.charba.client.commons.AbstractPoint
setX, setY
-
Methods inherited from class org.pepstock.charba.client.commons.AbstractReadOnlyPoint
getX, getY, isConsistent, toString
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Constructor Detail
-
Point
public Point()
Creates an empty object.
-
Point
public Point(double x)
Creates an object with X coordinate of the point- Parameters:
x
- the X coordinate of the point
-
Point
public Point(double x, double y)
Creates an object with X and Y coordinates of the point- Parameters:
x
- the X coordinate of the pointy
- the Y coordinate of the point
-
-