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.DatasetReferenceAbstractChart. 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.DatasetReferenceAbstractChart. 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.DatasetReferenceIsChart. 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.DatasetReferenceIsChart. 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.EventPointHelpers. 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 NativeBaseEventNativeObjectContainer. 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 voidNativeObjectContainer. setValue(Key key, NativeBaseEvent value)Sets a value (event) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, NativeBaseEvent value)Sets a value (event) in the embedded JavaScript object at specific property.protected voidPropertyHandler. 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 voidBaseEventTarget.EventListenerCallback. call(NativeBaseEvent event)A function that is called whenever an event of the specified type occurs.booleanBaseEventTarget. dispatchEvent(NativeBaseEvent event)Dispatches anNativeBaseEventat 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 booleanKeyboardModifierKey. arePressed(NativeBaseEvent event, KeyboardModifierKey... keys)Returnstrueif all modifier keys are pressed when the event was emitted.default booleanIsKeyboardKey. is(NativeBaseEvent event)Returnstrueif the key is the same of the event.booleanKeyboardModifierKey. isPressed(NativeBaseEvent event)Returnstrueif 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 classNativeAbstractMouseEventContains all common properties and methods of a DOM mouse event.classNativeCustomEventInternal implementation of a custom native event.classNativeKeyboardEventDescribes 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.classNativeMouseEventRepresents a mouse events that occur due to the user interacting with a pointing device.classNativePointerEventMuch 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.classNativeTouchEventRepresents anNativeUIEventwhich 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.classNativeUIEventRepresents simple user interface events, in DOM.Methods in org.pepstock.charba.client.dom.events that return NativeBaseEvent Modifier and Type Method Description static NativeBaseEventNativeBaseEvent. createEvent(String type)Creates a new event object for a specific event type.static NativeBaseEventNativeBaseEvent. createEvent(String type, EventInit init)Creates a new event object for a specific event type with initial configuration.static NativeBaseEventNativeBaseEvent. createEvent(IsEvent type)Creates a new event object for a specific event type.static NativeBaseEventNativeBaseEvent. 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 booleanModifierKey. arePressed(NativeBaseEvent event, ModifierKey... keys)Returnstrueif all modifier keys are pressed when the event was emitted.booleanModifierKey. isPressed(NativeBaseEvent event)Returnstrueif 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 NativeBaseEventAbstractEvent. getNativeEvent()Returns the native event instance.NativeBaseEventChartEventContext. getNativeEvent()Returns the CHARBA chart instance.NativeBaseEventHasNativeEvent. 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)DatasetReferenceAbstractChartWidget. getElementAtEvent(NativeBaseEvent event)DatasetReferenceAbstractChartWidget. 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 booleanIsEvent. is(NativeBaseEvent event)Checks if the event type is equals to the event type passed in the event.
-