Interface TextEvent

    • 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)
        The initTextEvent method is used to initialize the value of a TextEvent object and has the same behavior as UIEvent.initUIEvent(). The value of UIEvent.detail remains undefined.
        Parameters:
        typeArg - Refer to the UIEvent.initUIEvent() method for a description of this parameter.
        canBubbleArg - Refer to the UIEvent.initUIEvent() method for a description of this parameter.
        cancelableArg - Refer to the UIEvent.initUIEvent() method for a description of this parameter.
        viewArg - Refer to the UIEvent.initUIEvent() method for a description of this parameter.
        dataArg - Specifies TextEvent.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)
        The initTextEventNS method is used to initialize the value of a TextEvent object and has the same behavior as UIEvent.initUIEventNS(). The value of UIEvent.detail remains undefined.
        Parameters:
        namespaceURI - Refer to the UIEvent.initUIEventNS() method for a description of this parameter.
        type - Refer to the UIEvent.initUIEventNS() method for a description of this parameter.
        canBubbleArg - Refer to the UIEvent.initUIEventNS() method for a description of this parameter.
        cancelableArg - Refer to the UIEvent.initUIEventNS() method for a description of this parameter.
        viewArg - Refer to the UIEvent.initUIEventNS() method for a description of this parameter.
        dataArg - Refer to the TextEvent.initTextEvent() method for a description of this parameter.