Package org.apache.batik.dom.events
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:
java.lang.Cloneable
,OriginalEvent
,TextEvent
,org.w3c.dom.events.Event
,org.w3c.dom.events.UIEvent
public class DOMTextEvent extends DOMUIEvent implements TextEvent
Class to implement DOM 3 Text events.- Version:
- $Id: DOMTextEvent.java 1830681 2018-05-01 13:38:53Z ssteiner $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
data
The text data.-
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 DOMTextEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getData()
Returns the text data.void
initTextEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
DOM: Initializes this TextEvent.void
initTextEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
DOM: Initializes this TextEvent.-
Methods inherited from class org.apache.batik.dom.events.DOMUIEvent
getDetail, getView, initUIEvent, initUIEventNS, split
-
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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getData
public java.lang.String getData()
Returns the text data.
-
initTextEvent
public void initTextEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
DOM: Initializes this TextEvent.- Specified by:
initTextEvent
in 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(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
DOM: Initializes this TextEvent.- Specified by:
initTextEventNS
in 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.
-
-