Class DOMUIEvent
java.lang.Object
org.apache.batik.dom.events.AbstractEvent
org.apache.batik.dom.events.DOMUIEvent
- All Implemented Interfaces:
Cloneable, OriginalEvent, Event, UIEvent
- Direct Known Subclasses:
DOMKeyboardEvent, DOMKeyEvent, DOMMouseEvent, DOMTextEvent, SVGOMWheelEvent
The UIEvent class provides specific contextual information
associated with User Interface events.
-
Field Summary
Fields inherited from class AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, typeFields inherited from interface Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDOM: Specifies some detail information about theEvent, depending on the type of event.getView()DOM: Theviewattribute identifies theAbstractViewfrom which the event was generated.voidinitUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg) DOM: TheinitUIEventmethod is used to initialize the value of aUIEventcreated through theDocumentEventinterface.voidinitUIEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg) DOM: Initializes this event object.protected String[]Splits a whitespace separated string into tokens.Methods inherited from class AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagationMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Constructor Details
-
DOMUIEvent
public DOMUIEvent()
-
-
Method Details
-
getView
DOM: Theviewattribute identifies theAbstractViewfrom which the event was generated. -
getDetail
-
initUIEvent
public void initUIEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, 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 interfaceUIEvent- 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(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg) DOM: Initializes this event object. -
split
-