public final class ChartEventContext extends NativeObjectContainer
Constructor and Description |
---|
ChartEventContext(AnnotationEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.
|
ChartEventContext(Chart chart)
Creates the object with the chart instance, creating a change native event.
|
ChartEventContext(Chart chart,
BaseNativeEvent event)
Creates the object with the chart instance, creating a change native event.
|
ChartEventContext(ConfigurationEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.
|
ChartEventContext(DataLabelsEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.
|
ChartEventContext(ItemsEnvelop<NativeObject> envelop)
Creates the object with envelop envelop with the native object instance to be wrapped.
|
Modifier and Type | Method and Description |
---|---|
IsChart |
getChart()
Returns the CHARBA chart instance.
|
Chart |
getNativeChart()
Returns the CHARBA chart instance.
|
BaseNativeEvent |
getNativeEvent()
Returns the CHARBA chart instance.
|
NativeObject |
getObject()
Wraps the protected method to get the java script object in order to consume it.
|
String |
getType()
Returns the type of the event.
|
double |
getX()
Returns the X location of event in pixel.
|
double |
getY()
Returns the Y location of event in pixel.
|
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 ChartEventContext(Chart chart)
chart
- chart instance.public ChartEventContext(Chart chart, BaseNativeEvent event)
chart
- chart instance to store in the objectevent
- native event instance to store in the objectpublic ChartEventContext(ConfigurationEnvelop<NativeObject> envelop)
envelop
- envelop with the native object instance to be wrapped.public ChartEventContext(ItemsEnvelop<NativeObject> envelop)
envelop
- envelop with the native object instance to be wrapped.public ChartEventContext(AnnotationEnvelop<NativeObject> envelop)
envelop
- envelop with the native object instance to be wrapped.public ChartEventContext(DataLabelsEnvelop<NativeObject> envelop)
envelop
- envelop with the native object instance to be wrapped.public Chart getNativeChart()
public IsChart getChart()
public BaseNativeEvent getNativeEvent()
public double getX()
public double getY()
public String getType()
public NativeObject getObject()