public final class ZoomContext extends ChartContext
ZoomPlugin.ID
which contains the link to the native chart and the event.Modifier and Type | Method and Description |
---|---|
protected boolean |
checkIfPropertyIsValid(Key property)
Checks if the key passed as argument is a key already used for other context properties.
|
AbstractConfigurationItem |
getElement()
Returns the
ZoomPlugin configuration element. |
EventPoint |
getPoint()
Returns the position of the event when pan or zoom are about to start.
|
protected boolean |
isConsistent()
Returns
true if the context is consistent.Custom context (the plugin ones) should extend it and check if the context is consistent before invoking the callback. |
getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getChart, getType, hasAttributes, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes
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
public AbstractConfigurationItem getElement()
ZoomPlugin
configuration element.ZoomPlugin
configuration elementpublic EventPoint getPoint()
protected boolean isConsistent()
ChartContext
true
if the context is consistent.isConsistent
in class ChartContext
true
if the context is consistentprotected boolean checkIfPropertyIsValid(Key property)
ChartContext
checkIfPropertyIsValid
in class ChartContext
property
- property to use to store a custom attributetrue
if the property can be used to store an attribute.