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 intgetHeight()Returns pixels available vertically for contained widget, including possible scrollbars.intgetScrollbarSize()In case containing block has oveflow: auto, this method must return number of pixels used by scrollbar.intgetWidth()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:
getHeightin classRenderInformation.Size
-
getWidth
public int getWidth()
Returns pixels available horizontally for contained widget, including possible scrollbars.- Overrides:
getWidthin 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.
-
-