com.vaadin.terminal.gwt.client
Class RenderSpace
java.lang.Object
com.vaadin.terminal.gwt.client.RenderInformation.Size
com.vaadin.terminal.gwt.client.RenderSpace
public class RenderSpace
- extends RenderInformation.Size
Contains information about render area.
Method Summary |
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. |
RenderSpace
public RenderSpace(int width,
int height)
RenderSpace
public RenderSpace()
RenderSpace
public RenderSpace(int width,
int height,
boolean useNativeScrollbarSize)
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.
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.