We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.terminal.gwt.client.
Class RenderSpace
java.lang.Object
com.vaadin.terminal.gwt.client.RenderInformation.Size
com.vaadin.terminal.gwt.client.RenderSpace
- extends RenderInformation.Size
public class RenderSpace
Contains information about render area.
Constructor Summary | |
---|---|
RenderSpace()
|
|
RenderSpace(int width,
int height)
|
|
RenderSpace(int width,
int height,
boolean useNativeScrollbarSize)
|
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. |
Methods inherited from class com.vaadin.terminal.gwt.client.RenderInformation.Size |
---|
equals, hashCode, setHeight, setWidth, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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()
- Overrides:
getHeight
in classRenderInformation.Size
Returns pixels available vertically for contained widget, including possible scrollbars.
getWidth
public int getWidth()
- Overrides:
getWidth
in classRenderInformation.Size
Returns pixels available horizontally for contained widget, including possible scrollbars.
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.