Class Bounds


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

      Constructors 
      Constructor Description
      Bounds()  
    • Method Summary

      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.
      void setHeight​(java.lang.Integer height)
      The window height in pixels.
      void setLeft​(java.lang.Integer left)
      The offset from the left edge of the screen to the window in pixels.
      void setTop​(java.lang.Integer top)
      The offset from the top edge of the screen to the window in pixels.
      void setWidth​(java.lang.Integer width)
      The window width in pixels.
      void setWindowState​(WindowState windowState)
      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()
    • Method Detail

      • getLeft

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

        public void setLeft​(java.lang.Integer left)
        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.
      • setTop

        public void setTop​(java.lang.Integer top)
        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.
      • setWidth

        public void setWidth​(java.lang.Integer width)
        The window width in pixels.
      • getHeight

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

        public void setHeight​(java.lang.Integer height)
        The window height in pixels.
      • getWindowState

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

        public void setWindowState​(WindowState windowState)
        The window state. Default to normal.