Package com.vaadin.client
Class RenderSpace
- java.lang.Object
-
- com.vaadin.client.RenderInformation.Size
-
- com.vaadin.client.RenderSpace
-
public class RenderSpace extends RenderInformation.Size
Contains information about render area.
-
-
Constructor Summary
Constructors Constructor Description RenderSpace()
RenderSpace(int width, int height)
RenderSpace(int width, int height, boolean useNativeScrollbarSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
Returns pixels available vertically for contained widget, including possible scrollbars.int
getScrollbarSize()
In case containing block has oveflow: auto, this method must return number of pixels used by scrollbar.int
getWidth()
Returns pixels available horizontally for contained widget, including possible scrollbars.
-
-
-
Method Detail
-
getHeight
public int getHeight()
Returns pixels available vertically for contained widget, including possible scrollbars.- Overrides:
getHeight
in classRenderInformation.Size
-
getWidth
public int getWidth()
Returns pixels available horizontally for contained widget, including possible scrollbars.- Overrides:
getWidth
in classRenderInformation.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.
-
-