Class LayoutViewport


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

      Constructors 
      Constructor Description
      LayoutViewport​(java.lang.Integer pageX, java.lang.Integer pageY, java.lang.Integer clientWidth, java.lang.Integer clientHeight)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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).
      • Methods inherited from class java.lang.Object

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

      • LayoutViewport

        public LayoutViewport​(java.lang.Integer pageX,
                              java.lang.Integer pageY,
                              java.lang.Integer clientWidth,
                              java.lang.Integer clientHeight)
    • Method Detail

      • getPageX

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

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

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

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