Class DOMTextEvent

All Implemented Interfaces:
Cloneable, OriginalEvent, TextEvent, Event, UIEvent

public class DOMTextEvent extends DOMUIEvent implements TextEvent
Class to implement DOM 3 Text events.
  • Field Details

    • data

      protected String data
      The text data.
  • Constructor Details

    • DOMTextEvent

      public DOMTextEvent()
  • Method Details

    • getData

      public String getData()
      Returns the text data.
      Specified by:
      getData in interface TextEvent
    • initTextEvent

      public void initTextEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, String dataArg)
      DOM: Initializes this TextEvent.
      Specified by:
      initTextEvent in interface TextEvent
      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

      public void initTextEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, String dataArg)
      DOM: Initializes this TextEvent.
      Specified by:
      initTextEventNS in interface TextEvent
      Parameters:
      namespaceURIArg - Refer to the UIEvent.initUIEventNS() method for a description of this parameter.
      typeArg - 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.