Class RenderSpace

    • Constructor Detail

      • RenderSpace

        public RenderSpace​(int width,
                           int height)
      • RenderSpace

        public RenderSpace()
      • RenderSpace

        public RenderSpace​(int width,
                           int height,
                           boolean useNativeScrollbarSize)
    • Method Detail

      • getHeight

        public int getHeight()
        Returns pixels available vertically for contained widget, including possible scrollbars.
        Overrides:
        getHeight in class RenderInformation.Size
      • getWidth

        public int getWidth()
        Returns pixels available horizontally for contained widget, including possible scrollbars.
        Overrides:
        getWidth in class RenderInformation.Size
      • getScrollbarSize

        public int getScrollbarSize()
        In case containing block has oveflow: auto, this method must return number of pixels used by scrollbar. Returning zero means either that no scrollbar will be visible.