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.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdataThe 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.StringgetData()Returns the text data.voidinitTextEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)DOM: Initializes this TextEvent.voidinitTextEventNS(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, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, 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:
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(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:
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.
-
-