Package org.apache.batik.w3c.dom.events
Interface TextEvent
-
- All Known Implementing Classes:
DOMTextEvent
public interface TextEvent extends UIEvent
TheTextEvent
interface provides specific contextual information associated with Text Events.To create an instance of the
TextEvent
interface, use theDocumentEvent.createEvent("TextEvent")
method call.See also the Document Object Model (DOM) Level 3 Events Specification .
- Since:
- DOM Level 3
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getData()
data
holds the value of the characters generated by the character device.void
initTextEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
TheinitTextEvent
method is used to initialize the value of aTextEvent
object and has the same behavior asUIEvent.initUIEvent()
.void
initTextEventNS(java.lang.String namespaceURI, java.lang.String type, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
TheinitTextEventNS
method is used to initialize the value of aTextEvent
object and has the same behavior asUIEvent.initUIEventNS()
.-
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getDefaultPrevented, getEventPhase, getNamespaceURI, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, stopImmediatePropagation, stopPropagation
-
Methods inherited from interface org.w3c.dom.events.UIEvent
getDetail, getView, initUIEvent, initUIEventNS
-
-
-
-
Method Detail
-
getData
java.lang.String getData()
data
holds the value of the characters generated by the character device. This may be a single Unicode character or a non-empty sequence of Unicode characters [Unicode]. Characters should be normalized as defined by the Unicode normalization form NFC, defined in [UAX #15]. This attribute cannot be null or contain the empty string.
-
initTextEvent
void initTextEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
TheinitTextEvent
method is used to initialize the value of aTextEvent
object and has the same behavior asUIEvent.initUIEvent()
. The value ofUIEvent.detail
remains undefined.- 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
void initTextEventNS(java.lang.String namespaceURI, java.lang.String type, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.views.AbstractView viewArg, java.lang.String dataArg)
TheinitTextEventNS
method is used to initialize the value of aTextEvent
object and has the same behavior asUIEvent.initUIEventNS()
. The value ofUIEvent.detail
remains undefined.- Parameters:
namespaceURI
- Refer to theUIEvent.initUIEventNS()
method for a description of this parameter.type
- 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.
-
-