Class DOMTextEvent
java.lang.Object
org.apache.batik.dom.events.AbstractEvent
org.apache.batik.dom.events.DOMUIEvent
org.apache.batik.dom.events.DOMTextEvent
- All Implemented Interfaces:
Cloneable, OriginalEvent, TextEvent, Event, UIEvent
Class to implement DOM 3 Text events.
-
Field Summary
FieldsFields 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 TypeMethodDescriptiongetData()Returns the text data.voidinitTextEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, String dataArg) DOM: Initializes this TextEvent.voidinitTextEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, String dataArg) DOM: Initializes this TextEvent.Methods inherited from class DOMUIEvent
getDetail, getView, initUIEvent, initUIEventNS, splitMethods 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, stopPropagationMethods inherited from interface UIEvent
getDetail, getView, initUIEvent
-
Field Details
-
data
The text data.
-
-
Constructor Details
-
DOMTextEvent
public DOMTextEvent()
-
-
Method Details
-
getData
-
initTextEvent
public void initTextEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, String dataArg) DOM: Initializes this TextEvent.- Specified by:
initTextEventin interfaceTextEvent- Parameters:
typeArg- Refer to theUIEvent.initUIEvent()method for a description of this parameter.canBubbleArg- Refer to theUIEvent.initUIEvent()method for a description of this parameter.cancelableArg- Refer to theUIEvent.initUIEvent()method for a description of this parameter.viewArg- Refer to theUIEvent.initUIEvent()method for a description of this parameter.dataArg- SpecifiesTextEvent.data.
-
initTextEventNS
public void initTextEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, String dataArg) DOM: Initializes this TextEvent.- Specified by:
initTextEventNSin interfaceTextEvent- Parameters:
namespaceURIArg- Refer to theUIEvent.initUIEventNS()method for a description of this parameter.typeArg- Refer to theUIEvent.initUIEventNS()method for a description of this parameter.canBubbleArg- Refer to theUIEvent.initUIEventNS()method for a description of this parameter.cancelableArg- Refer to theUIEvent.initUIEventNS()method for a description of this parameter.viewArg- Refer to theUIEvent.initUIEventNS()method for a description of this parameter.dataArg- Refer to theTextEvent.initTextEvent()method for a description of this parameter.
-