Class ScreenOrientation

  • 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 ScreenOrientation
    extends EventTarget
    A JavaScript object for ScreenOrientation.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
    • Field Summary

      • Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      ScreenOrientation()
      Creates an instance.
    • Constructor Detail

      • ScreenOrientation

        public ScreenOrientation()
        Creates an instance.
    • Method Detail

      • getAngle

        public int getAngle()
        Returns the angle property.
        Returns:
        the angle property
      • getType

        public java.lang.String getType()
        Returns the type property.
        Returns:
        the type property
      • getOnchange

        public org.htmlunit.corejs.javascript.Function getOnchange()
        Returns the onchange event handler for this element.
        Returns:
        the onchange event handler for this element
      • setOnchange

        public void setOnchange​(java.lang.Object change)
        Setter for the onchange event handler.
        Parameters:
        change - the handler