Package org.pepstock.charba.client.zoom
Class Amount
- 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.zoom.Amount
-
- All Implemented Interfaces:
IsPoint
public final class Amount extends AbstractPoint
This object is wrapping the native java script object to set the position to pan the chart.- 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, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.commons.IsPoint
isConsistent
-
-
-
-
Constructor Detail
-
Amount
public Amount()
Creates an empty object
-
Amount
public Amount(double x)
Creates an object with pan amount for x scale.- Parameters:
x
- the X amount of pan
-
Amount
public Amount(double x, double y)
Creates an object with pan amount for x and y scales.- Parameters:
x
- the X amount of pany
- the Y amount of pan
-
-