Class Bounds


  • @Beta
    public class Bounds
    extends java.lang.Object
    Browser window bounds information
    • Constructor Summary

      Constructors 
      Constructor Description
      Bounds​(java.lang.Integer left, java.lang.Integer top, java.lang.Integer width, java.lang.Integer height, WindowState windowState)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getHeight()
      The window height in pixels.
      java.lang.Integer getLeft()
      The offset from the left edge of the screen to the window in pixels.
      java.lang.Integer getTop()
      The offset from the top edge of the screen to the window in pixels.
      java.lang.Integer getWidth()
      The window width in pixels.
      WindowState getWindowState()
      The window state.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bounds

        public Bounds​(java.lang.Integer left,
                      java.lang.Integer top,
                      java.lang.Integer width,
                      java.lang.Integer height,
                      WindowState windowState)
    • Method Detail

      • getLeft

        public java.lang.Integer getLeft()
        The offset from the left edge of the screen to the window in pixels.
      • getTop

        public java.lang.Integer getTop()
        The offset from the top edge of the screen to the window in pixels.
      • getWidth

        public java.lang.Integer getWidth()
        The window width in pixels.
      • getHeight

        public java.lang.Integer getHeight()
        The window height in pixels.
      • getWindowState

        public WindowState getWindowState()
        The window state. Default to normal.