Class InputEvent

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Field Detail

      • data_

        private java.lang.String data_
      • inputType_

        private java.lang.String inputType_
      • isComposing_

        private boolean isComposing_
    • Constructor Detail

      • InputEvent

        public InputEvent()
        Default constructor.
    • Method Detail

      • jsConstructor

        public void jsConstructor​(java.lang.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 java.lang.Object getData()
        Retrieves the data contained.
        Returns:
        the data contained
      • getInputType

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