Package org.htmlunit

Class Screen

  • All Implemented Interfaces:
    java.io.Serializable

    public class Screen
    extends java.lang.Object
    implements java.io.Serializable
    Screen.
    See Also:
    Serialized Form
    • Constructor Detail

      • Screen

        public Screen​(WebClient webClient)
        Creates an instance.
        Parameters:
        webClient - the client this belongs to
    • Method Detail

      • getAvailHeight

        public int getAvailHeight()
        Returns:
        the availHeight property
      • setAvailHeight

        public void setAvailHeight​(int availHeight)
        Sets the availHeight property.
        Parameters:
        availHeight - the availHeight property
      • getAvailLeft

        public int getAvailLeft()
        Returns:
        the availLeft property
      • setAvailLeft

        public void setAvailLeft​(int availLeft)
        Sets the availLeft property.
        Parameters:
        availLeft - the availLeft property
      • getAvailTop

        public int getAvailTop()
        Returns:
        the availTop property
      • setAvailTop

        public void setAvailTop​(int availTop)
        Sets the availTop property.
        Parameters:
        availTop - the availTop property
      • getAvailWidth

        public int getAvailWidth()
        Returns:
        the availWidth property
      • setAvailWidth

        public void setAvailWidth​(int availWidth)
        Sets the availWidth property.
        Parameters:
        availWidth - the availWidth property
      • getBufferDepth

        public int getBufferDepth()
        Returns:
        the bufferDepth property
      • setBufferDepth

        public void setBufferDepth​(int bufferDepth)
        Sets the bufferDepth property.
        Parameters:
        bufferDepth - the bufferDepth property
      • getColorDepth

        public int getColorDepth()
        Returns:
        the colorDepth property
      • setColorDepth

        public void setColorDepth​(int colorDepth)
        Sets the colorDepth property.
        Parameters:
        colorDepth - the colorDepth property
      • getDeviceXDPI

        public int getDeviceXDPI()
        Returns:
        the deviceXDPI property
      • setDeviceXDPI

        public void setDeviceXDPI​(int deviceXDPI)
        Sets the deviceXDPI property.
        Parameters:
        deviceXDPI - the deviceXDPI property
      • getDeviceYDPI

        public int getDeviceYDPI()
        Returns:
        the deviceYDPI property
      • setDeviceYDPI

        public void setDeviceYDPI​(int deviceYDPI)
        Sets the deviceYDPI property.
        Parameters:
        deviceYDPI - the deviceYDPI property
      • isFontSmoothingEnabled

        public boolean isFontSmoothingEnabled()
        Returns:
        the fontSmoothingEnabled property
      • setFontSmoothingEnabled

        public void setFontSmoothingEnabled​(boolean fontSmoothingEnabled)
        Sets the fontSmoothingEnabled property.
        Parameters:
        fontSmoothingEnabled - the fontSmoothingEnabled property
      • getHeight

        public int getHeight()
        Returns:
        the height property
      • setHeight

        public void setHeight​(int height)
        Sets the height property.
        Parameters:
        height - the height property
      • getLeft

        public int getLeft()
        Returns:
        the left property
      • setLeft

        public void setLeft​(int left)
        Sets the left property.
        Parameters:
        left - the left property
      • getLogicalXDPI

        public int getLogicalXDPI()
        Returns:
        the logicalXDPI property
      • setLogicalXDPI

        public void setLogicalXDPI​(int logicalXDPI)
        Sets the logicalXDPI property.
        Parameters:
        logicalXDPI - the logicalXDPI property
      • getLogicalYDPI

        public int getLogicalYDPI()
        Returns:
        the logicalYDPI property
      • setLogicalYDPI

        public void setLogicalYDPI​(int logicalYDPI)
        Sets the logicalYDPI property.
        Parameters:
        logicalYDPI - the logicalYDPI property
      • getPixelDepth

        public int getPixelDepth()
        Returns:
        the pixelDepth property
      • setPixelDepth

        public void setPixelDepth​(int pixelDepth)
        Sets the pixelDepth property.
        Parameters:
        pixelDepth - the pixelDepth property
      • getSystemXDPI

        public int getSystemXDPI()
        Returns:
        the systemXDPI property
      • setSystemXDPI

        public void setSystemXDPI​(int systemXDPI)
        Sets the systemXDPI property.
        Parameters:
        systemXDPI - the systemXDPI property
      • getSystemYDPI

        public int getSystemYDPI()
        Returns:
        the systemYDPI property
      • setSystemYDPI

        public void setSystemYDPI​(int systemYDPI)
        Sets the systemYDPI property.
        Parameters:
        systemYDPI - the systemYDPI property
      • getTop

        public int getTop()
        Returns:
        the top property
      • setTop

        public void setTop​(int top)
        Sets the top property.
        Parameters:
        top - the top property
      • getWidth

        public int getWidth()
        Returns:
        the width property
      • setWidth

        public void setWidth​(int width)
        Sets the width property.
        Parameters:
        width - the width property