Package org.apache.batik.dom.events
Class DOMUIEvent
- java.lang.Object
-
- org.apache.batik.dom.events.AbstractEvent
-
- org.apache.batik.dom.events.DOMUIEvent
-
- All Implemented Interfaces:
java.lang.Cloneable,OriginalEvent,org.w3c.dom.events.Event,org.w3c.dom.events.UIEvent
- Direct Known Subclasses:
DOMKeyboardEvent,DOMKeyEvent,DOMMouseEvent,DOMTextEvent,SVGOMWheelEvent
public class DOMUIEvent extends AbstractEvent implements org.w3c.dom.events.UIEvent
The UIEvent class provides specific contextual information associated with User Interface events.- Version:
- $Id: DOMUIEvent.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description private intdetailprivate org.w3c.dom.views.AbstractViewview-
Fields inherited from class org.apache.batik.dom.events.AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
-
-
Constructor Summary
Constructors Constructor Description DOMUIEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDetail()DOM: Specifies some detail information about theEvent, depending on the type of event.org.w3c.dom.views.AbstractViewgetView()DOM: Theviewattribute identifies theAbstractViewfrom which the event was generated.voidinitUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)DOM: TheinitUIEventmethod is used to initialize the value of aUIEventcreated through theDocumentEventinterface.voidinitUIEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)DOM: Initializes this event object.protected java.lang.String[]split(java.lang.String s)Splits a whitespace separated string into tokens.-
Methods inherited from class org.apache.batik.dom.events.AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getStopImmediatePropagation, getStopPropagation, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, preventDefault, setBubbleLimit, setCurrentTarget, setEventPhase, setTarget, stopImmediatePropagation, stopImmediatePropagation, stopPropagation, stopPropagation
-
-
-
-
Method Detail
-
getView
public org.w3c.dom.views.AbstractView getView()
DOM: Theviewattribute identifies theAbstractViewfrom which the event was generated.- Specified by:
getViewin interfaceorg.w3c.dom.events.UIEvent
-
getDetail
public int getDetail()
DOM: Specifies some detail information about theEvent, depending on the type of event.- Specified by:
getDetailin interfaceorg.w3c.dom.events.UIEvent
-
initUIEvent
public void initUIEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)DOM: TheinitUIEventmethod is used to initialize the value of aUIEventcreated through theDocumentEventinterface. This method may only be called before theUIEventhas been dispatched via thedispatchEventmethod, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.- Specified by:
initUIEventin interfaceorg.w3c.dom.events.UIEvent- Parameters:
typeArg- Specifies the event type.canBubbleArg- Specifies whether or not the event can bubble.cancelableArg- Specifies whether or not the event's default action can be prevented.viewArg- Specifies theEvent'sAbstractView.detailArg- Specifies theEvent's detail.
-
initUIEventNS
public void initUIEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, int detailArg)DOM: Initializes this event object.
-
split
protected java.lang.String[] split(java.lang.String s)
Splits a whitespace separated string into tokens.
-
-