Class InputEvent

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class InputEvent extends UIEvent
A JavaScript object for InputEvent.
See Also:
  • Field Details

    • data_

      private String data_
    • inputType_

      private String inputType_
    • isComposing_

      private boolean isComposing_
  • Constructor Details

    • InputEvent

      public InputEvent()
      Default constructor.
  • Method Details

    • jsConstructor

      public void jsConstructor(String type, org.htmlunit.corejs.javascript.ScriptableObject details)
      JavaScript constructor.
      Overrides:
      jsConstructor in class UIEvent
      Parameters:
      type - the event type
      details - the event details (optional)
    • getIsComposing

      public boolean getIsComposing()
      Returns whether or not the event is fired after the compositionstart and before the compositionend events.
      Returns:
      whether or not the event is fired while composing
    • setIsComposing

      protected void setIsComposing(boolean isComposing)
      Sets whether or not this event is fired after the compositionstart and before the compositionend events.
      Parameters:
      isComposing - whether or not this event is fired while composing
    • getData

      public Object getData()
      Retrieves the data contained.
      Returns:
      the data contained
    • getInputType

      public Object getInputType()
      Retrieves the inputType.
      Returns:
      the inputType