Uses of Class
org.pepstock.charba.client.dom.events.NativeBaseEvent
-
Packages that use NativeBaseEvent 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.dom.enums Contains enumerations used inside the DOM tree to set properties or invokes methods of elements or items.org.pepstock.charba.client.dom.events Contains all classes to map and manage DOM events.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.options Contains all elements to configure charts at global level (know as chart global options). -
-
Uses of NativeBaseEvent in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type NativeBaseEvent Modifier and Type Method Description List<DatasetReference>
AbstractChart. getDatasetAtEvent(NativeBaseEvent event)
Looks for the data sets that matches the event and returns the data set items references as a list.List<DatasetReference>
IsChart. getDatasetAtEvent(NativeBaseEvent event)
Looks for the dataset that matches the event.DatasetReference
AbstractChart. getElementAtEvent(NativeBaseEvent 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
AbstractChart. getElementAtEvent(NativeBaseEvent event, InteractionItem interaction)
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(NativeBaseEvent 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(NativeBaseEvent event, InteractionItem interaction)
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(NativeBaseEvent 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>
AbstractChart. getElementsAtEvent(NativeBaseEvent event, InteractionItem interaction)
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(NativeBaseEvent 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(NativeBaseEvent event, InteractionItem interaction)
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, NativeBaseEvent 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 NativeBaseEvent in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return NativeBaseEvent Modifier and Type Method Description protected NativeBaseEvent
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 NativeBaseEvent Modifier and Type Method Description protected void
NativeObjectContainer. setValue(Key key, NativeBaseEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, NativeBaseEvent value)
Sets a value (event) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, NativeBaseEvent value)
Sets a value (event) in the embedded JavaScript object at specific property. -
Uses of NativeBaseEvent in org.pepstock.charba.client.dom
Methods in org.pepstock.charba.client.dom with parameters of type NativeBaseEvent Modifier and Type Method Description void
BaseEventTarget.EventListenerCallback. call(NativeBaseEvent event)
A function that is called whenever an event of the specified type occurs.boolean
BaseEventTarget. dispatchEvent(NativeBaseEvent event)
Dispatches anNativeBaseEvent
at the specifiedBaseEventTarget
, (synchronously) invoking the affected event listeners in the appropriate order. -
Uses of NativeBaseEvent in org.pepstock.charba.client.dom.enums
Methods in org.pepstock.charba.client.dom.enums with parameters of type NativeBaseEvent Modifier and Type Method Description static boolean
KeyboardModifierKey. arePressed(NativeBaseEvent event, KeyboardModifierKey... keys)
Returnstrue
if all modifier keys are pressed when the event was emitted.default boolean
IsKeyboardKey. is(NativeBaseEvent event)
Returnstrue
if the key is the same of the event.boolean
KeyboardModifierKey. isPressed(NativeBaseEvent event)
Returnstrue
if the modifier key is pressed when the event was emitted. -
Uses of NativeBaseEvent in org.pepstock.charba.client.dom.events
Subclasses of NativeBaseEvent in org.pepstock.charba.client.dom.events Modifier and Type Class Description class
NativeAbstractMouseEvent
Contains all common properties and methods of a DOM mouse event.class
NativeCustomEvent
Internal implementation of a custom native event.class
NativeKeyboardEvent
Describes a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard.
The event type (keydown or keyup) identifies what kind of keyboard activity occurred.class
NativeMouseEvent
Represents a mouse events that occur due to the user interacting with a pointing device.class
NativePointerEvent
Much of today's web content assumes the user's pointing device will be a mouse.
However, since many devices support other types of pointing input devices, such as pen/stylus and touch surfaces, extensions to the existing pointing device event models are needed.
Pointer events address that need.class
NativeTouchEvent
Represents anNativeUIEvent
which is sent when the state of contacts with a touch-sensitive surface changes.
This surface can be a touch screen or trackpad, for example.
The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.class
NativeUIEvent
Represents simple user interface events, in DOM.Methods in org.pepstock.charba.client.dom.events that return NativeBaseEvent Modifier and Type Method Description static NativeBaseEvent
NativeBaseEvent. createEvent(String type)
Creates a new event object for a specific event type.static NativeBaseEvent
NativeBaseEvent. createEvent(String type, EventInit init)
Creates a new event object for a specific event type with initial configuration.static NativeBaseEvent
NativeBaseEvent. createEvent(IsEvent type)
Creates a new event object for a specific event type.static NativeBaseEvent
NativeBaseEvent. createEvent(IsEvent type, EventInit init)
Creates a new event object for a specific event type with initial configuration.Constructors in org.pepstock.charba.client.dom.events with parameters of type NativeBaseEvent Constructor Description EventInit(NativeBaseEvent source)
Creates an initialization object, cloning all source event data -
Uses of NativeBaseEvent in org.pepstock.charba.client.enums
Methods in org.pepstock.charba.client.enums with parameters of type NativeBaseEvent Modifier and Type Method Description static boolean
ModifierKey. arePressed(NativeBaseEvent event, ModifierKey... keys)
Returnstrue
if all modifier keys are pressed when the event was emitted.boolean
ModifierKey. isPressed(NativeBaseEvent event)
Returnstrue
if the modifier key is pressed when the event was emitted. -
Uses of NativeBaseEvent in org.pepstock.charba.client.events
Methods in org.pepstock.charba.client.events that return NativeBaseEvent Modifier and Type Method Description NativeBaseEvent
AbstractEvent. getNativeEvent()
Returns the native event instance.NativeBaseEvent
ChartEventContext. getNativeEvent()
Returns the CHARBA chart instance.NativeBaseEvent
HasNativeEvent. getNativeEvent()
Returns the native event instance.Constructors in org.pepstock.charba.client.events with parameters of type NativeBaseEvent Constructor Description AbstractEvent(NativeBaseEvent nativeEvent, EventType type)
Creates an event using a native eventDatasetSelectionEvent(NativeBaseEvent nativeEvent, IsChart chart, DatasetReference item)
Creates the event with dataset reference item related to the click and the chart instanceDatasetSelectionEvent(NativeBaseEvent nativeEvent, DatasetReference item)
Creates the event with dataset reference item related to the click -
Uses of NativeBaseEvent in org.pepstock.charba.client.gwt.widgets
Methods in org.pepstock.charba.client.gwt.widgets with parameters of type NativeBaseEvent Modifier and Type Method Description List<DatasetReference>
AbstractChartWidget. getDatasetAtEvent(NativeBaseEvent event)
DatasetReference
AbstractChartWidget. getElementAtEvent(NativeBaseEvent event)
DatasetReference
AbstractChartWidget. getElementAtEvent(NativeBaseEvent event, InteractionItem interaction)
List<DatasetReference>
AbstractChartWidget. getElementsAtEvent(NativeBaseEvent event)
List<DatasetReference>
AbstractChartWidget. getElementsAtEvent(NativeBaseEvent event, InteractionItem interaction)
-
Uses of NativeBaseEvent in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options with parameters of type NativeBaseEvent Modifier and Type Method Description default boolean
IsEvent. is(NativeBaseEvent event)
Checks if the event type is equals to the event type passed in the event.
-