Class LayoutViewport


  • public class LayoutViewport
    extends java.lang.Object
    Layout viewport position and dimensions
    • Constructor Summary

      Constructors 
      Constructor Description
      LayoutViewport()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Integer getClientHeight()
      Height (CSS pixels), excludes scrollbar if present.
      java.lang.Integer getClientWidth()
      Width (CSS pixels), excludes scrollbar if present.
      java.lang.Integer getPageX()
      Horizontal offset relative to the document (CSS pixels).
      java.lang.Integer getPageY()
      Vertical offset relative to the document (CSS pixels).
      void setClientHeight​(java.lang.Integer clientHeight)
      Height (CSS pixels), excludes scrollbar if present.
      void setClientWidth​(java.lang.Integer clientWidth)
      Width (CSS pixels), excludes scrollbar if present.
      void setPageX​(java.lang.Integer pageX)
      Horizontal offset relative to the document (CSS pixels).
      void setPageY​(java.lang.Integer pageY)
      Vertical offset relative to the document (CSS pixels).
      • Methods inherited from class java.lang.Object

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

      • LayoutViewport

        public LayoutViewport()
    • Method Detail

      • getPageX

        public java.lang.Integer getPageX()
        Horizontal offset relative to the document (CSS pixels).
      • setPageX

        public void setPageX​(java.lang.Integer pageX)
        Horizontal offset relative to the document (CSS pixels).
      • getPageY

        public java.lang.Integer getPageY()
        Vertical offset relative to the document (CSS pixels).
      • setPageY

        public void setPageY​(java.lang.Integer pageY)
        Vertical offset relative to the document (CSS pixels).
      • getClientWidth

        public java.lang.Integer getClientWidth()
        Width (CSS pixels), excludes scrollbar if present.
      • setClientWidth

        public void setClientWidth​(java.lang.Integer clientWidth)
        Width (CSS pixels), excludes scrollbar if present.
      • getClientHeight

        public java.lang.Integer getClientHeight()
        Height (CSS pixels), excludes scrollbar if present.
      • setClientHeight

        public void setClientHeight​(java.lang.Integer clientHeight)
        Height (CSS pixels), excludes scrollbar if present.