Uses of Class
org.pepstock.charba.client.dom.BaseNativeEvent
-
Packages that use BaseNativeEvent Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.dom Contains all classes needed to work with DOM tree, base classes of a DOM tree.org.pepstock.charba.client.enums Contains all enumerations of some chart options where only a specific set of values can be set.org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.gwt.widgets Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.org.pepstock.charba.client.utils.toast.handlers Contains all handlers to implement in order to manage events of change status of the TOAST utility. -
-
Uses of BaseNativeEvent in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type BaseNativeEvent Modifier and Type Method Description List<DatasetReference>
AbstractChart. getDatasetAtEvent(BaseNativeEvent event)
Looks for the data sets that matches the event and returns the data set items references as a list.List<DatasetReference>
IsChart. getDatasetAtEvent(BaseNativeEvent event)
Looks for the dataset that matches the event.DatasetReference
AbstractChart. getElementAtEvent(BaseNativeEvent event)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned.DatasetReference
IsChart. getElementAtEvent(BaseNativeEvent event)
Calling on your chart instance passing an argument of an event, will return the single element at the event position.
If there are multiple items within range, only the first is returned.List<DatasetReference>
AbstractChart. getElementsAtEvent(BaseNativeEvent event)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event.List<DatasetReference>
IsChart. getElementsAtEvent(BaseNativeEvent event)
Looks for the element under the event point, then returns all elements at the same data index.
Calling it on your chart instance passing an argument of an event, will return the point elements that are at that the same position of that event.EventPoint
Helpers. getRelativePosition(IsChart chart, BaseNativeEvent event)
A common occurrence is taking an event, such as a click, and finding the data coordinates on the chart where the event occurred. -
Uses of BaseNativeEvent in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return BaseNativeEvent Modifier and Type Method Description protected BaseNativeEvent
NativeObjectContainer. getNativeEvent(Key key)
Returns a value (native event) in the embedded JavaScript object at specific property.Methods in org.pepstock.charba.client.commons with parameters of type BaseNativeEvent Modifier and Type Method Description protected void
NativeObjectContainer. setValue(Key key, BaseNativeEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, BaseNativeEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, BaseNativeEvent value)
Sets a value (event) in the embedded JavaScript object at specific property. -
Uses of BaseNativeEvent in org.pepstock.charba.client.dom
Subclasses of BaseNativeEvent in org.pepstock.charba.client.dom Modifier and Type Class Description class
BaseNativeMouseEvent
Represents a mouse events that occur due to the user interacting with a pointing device.
This is used only internally.Methods in org.pepstock.charba.client.dom that return BaseNativeEvent Modifier and Type Method Description BaseNativeEvent
DOMBuilder. createChangeEvent()
Creates a change event (based on a mouse event, typeBaseEventTypes.CONTEXT_MENU
) for internal use.Methods in org.pepstock.charba.client.dom with parameters of type BaseNativeEvent Modifier and Type Method Description void
BaseEventTarget.EventListenerCallback. call(BaseNativeEvent event)
A function that is called whenever an event of the specified type occurs. -
Uses of BaseNativeEvent in org.pepstock.charba.client.enums
Methods in org.pepstock.charba.client.enums with parameters of type BaseNativeEvent Modifier and Type Method Description static boolean
ModifierKey. arePressed(BaseNativeEvent event, ModifierKey... keys)
Returnstrue
if all modifier keys are pressed when the event was emitted.boolean
ModifierKey. isPressed(BaseNativeEvent event)
Returnstrue
if the modifier key is pressed when the event was emitted. -
Uses of BaseNativeEvent in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return BaseNativeEvent Modifier and Type Method Description BaseNativeEvent
AbstractEvent. getNativeEvent()
Returns the native event instance.BaseNativeEvent
ChartEventContext. getNativeEvent()
Returns the CHARBA chart instance.BaseNativeEvent
IsCommonChartEvent. getNativeEvent()
Returns the native event instance.Constructors in org.pepstock.charba.client.events with parameters of type BaseNativeEvent Constructor Description AbstractEvent(BaseNativeEvent nativeEvent, EventType type)
Creates an event using a native eventAnimationCompleteEvent(BaseNativeEvent nativeEvent, AnimationItem item)
Creates the event with the animation info from chart.AnimationProgressEvent(BaseNativeEvent nativeEvent, AnimationItem item)
Creates the event with the animation info from chart.AxisClickEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis, ScaleValueItem value)
Creates the event with axis related to the clickAxisEnterEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
Creates the event with axis related to the enterAxisHoverEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
Creates the event with axis related to the hoverAxisLeaveEvent(BaseNativeEvent nativeEvent, ScaleItem item, Axis axis)
Creates the event with axis related to the leaveChartEventContext(Chart chart, BaseNativeEvent event)
Creates the object with the chart instance, creating a change native event.DatasetRangeCleanSelectionEvent(BaseNativeEvent nativeEvent)
Creates the event with native event.DatasetRangeSelectionEvent(BaseNativeEvent nativeEvent, ScaleValueItem from, ScaleValueItem to)
Creates the event with start and end values of selected scaleDatasetSelectionEvent(BaseNativeEvent nativeEvent, IsChart chart, DatasetReference item)
Creates the event with dataset reference item related to the click and the chart instanceDatasetSelectionEvent(BaseNativeEvent nativeEvent, DatasetReference item)
Creates the event with dataset reference item related to the clickSubtitleClickEvent(BaseNativeEvent nativeEvent, Subtitle item)
Creates the event with subtitle related to the clickSubtitleEnterEvent(BaseNativeEvent nativeEvent, Subtitle item)
Creates the event with subtitle related to the enterSubtitleLeaveEvent(BaseNativeEvent nativeEvent, Subtitle item)
Creates the event with subtitle related to the leaveTitleClickEvent(BaseNativeEvent nativeEvent, Title item)
Creates the event with title related to the clickTitleEnterEvent(BaseNativeEvent nativeEvent, Title item)
Creates the event with title related to the enterTitleLeaveEvent(BaseNativeEvent nativeEvent, Title item)
Creates the event with title related to the leave -
Uses of BaseNativeEvent in org.pepstock.charba.client.gwt.widgets
Methods in org.pepstock.charba.client.gwt.widgets with parameters of type BaseNativeEvent Modifier and Type Method Description List<DatasetReference>
AbstractChartWidget. getDatasetAtEvent(BaseNativeEvent event)
DatasetReference
AbstractChartWidget. getElementAtEvent(BaseNativeEvent event)
List<DatasetReference>
AbstractChartWidget. getElementsAtEvent(BaseNativeEvent event)
-
Uses of BaseNativeEvent in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items with parameters of type BaseNativeEvent Modifier and Type Method Description ScaleItem
ScalesNode. getScaleIsInside(BaseNativeEvent event)
Returns the scale item if the chart event is inside of one of scales, otherwisenull
.ScaleValueItem
ScaleItem. getValueAtEvent(BaseNativeEvent event)
Returns the value on the axis related to an event position.boolean
BaseBoxItem. isInside(BaseNativeEvent event)
Returnstrue
if the chart event is inside of this box, otherwisefalse
.boolean
LegendHitBoxItem. isInside(BaseNativeEvent event)
Returnstrue
if the chart event is inside of this box, otherwisefalse
.boolean
LegendNode. isInside(BaseNativeEvent event)
boolean
ScalesNode. isInside(BaseNativeEvent event)
Returnstrue
if the chart event is inside of one of scales, otherwisefalse
. -
Uses of BaseNativeEvent in org.pepstock.charba.client.utils.toast.handlers
Methods in org.pepstock.charba.client.utils.toast.handlers with parameters of type BaseNativeEvent Modifier and Type Method Description boolean
ActionClickEventHandler. onClick(ToastItem item, BaseNativeEvent event)
Invoked to manage CLICK events on toast action.void
ClickEventHandler. onClick(ToastItem item, BaseNativeEvent event)
Invoked to manage CLICK events on toast item.
-