Class NativeCustomEvent
- java.lang.Object
- 
- org.pepstock.charba.client.dom.events.NativeBaseEvent
- 
- org.pepstock.charba.client.dom.events.NativeCustomEvent
 
 
- 
- All Implemented Interfaces:
- IsJSType,- IsCastable
 
 @JsType(isNative=true, name="CustomEvent", namespace="<global>") public class NativeCustomEvent extends NativeBaseEventInternal implementation of a custom native event.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedNativeCustomEvent(String type)Create a custom event by its type.protectedNativeCustomEvent(String type, NativeObject init)Create a custom event by its type and initialization configuration.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static NativeCustomEventcreateCustomEvent(String type)Creates a new event object for a specific event type.static NativeCustomEventcreateCustomEvent(String type, EventInit init)Creates a new event object for a specific event type with initial configuration.static NativeCustomEventcreateCustomEvent(IsEvent type)Creates a new event object for a specific event type.static NativeCustomEventcreateCustomEvent(IsEvent type, EventInit init)Creates a new event object for a specific event type with initial configuration.- 
Methods inherited from class org.pepstock.charba.client.dom.events.NativeBaseEventcreateEvent, createEvent, createEvent, createEvent, getCurrentTarget, getEventPhase, getTarget, getType, isBubbles, isCancelable, isDefaultPrevented, preventDefault, stopImmediatePropagation, stopPropagation
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.dom.IsCastableas
 
- 
 
- 
- 
- 
Constructor Detail- 
NativeCustomEventprotected NativeCustomEvent(String type) Create a custom event by its type.- Parameters:
- type- type of the animation event
 
 - 
NativeCustomEventprotected NativeCustomEvent(String type, NativeObject init) Create a custom event by its type and initialization configuration.- Parameters:
- type- type of the custom event
- init- event initialization dictionary to configure the event
 
 
- 
 - 
Method Detail- 
createCustomEvent@JsOverlay public static final NativeCustomEvent createCustomEvent(String type) Creates a new event object for a specific event type.- Parameters:
- type- type of event
- Returns:
- a new event object for a specific event type
 
 - 
createCustomEvent@JsOverlay public static final NativeCustomEvent createCustomEvent(IsEvent type) Creates a new event object for a specific event type.- Parameters:
- type- type of event
- Returns:
- a new event object for a specific event type
 
 - 
createCustomEvent@JsOverlay public static final NativeCustomEvent createCustomEvent(IsEvent type, EventInit init) Creates a new event object for a specific event type with initial configuration.- Parameters:
- type- type of event
- init- initial configuration of the event
- Returns:
- a new event object for a specific event type
 
 - 
createCustomEvent@JsOverlay public static final NativeCustomEvent createCustomEvent(String type, EventInit init) Creates a new event object for a specific event type with initial configuration.- Parameters:
- type- type of event
- init- initial configuration of the event
- Returns:
- a new event object for a specific event type
 
 
- 
 
-