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.client.
Class RenderInformation
- java.lang.Object
-
- com.vaadin.client.RenderInformation
-
public class RenderInformation extends Object
Contains size information about a rendered container and its content area.
Author:
Artur Signell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenderInformation.FloatSize
static class
RenderInformation.Size
-
Constructor Summary
Constructors Constructor Description RenderInformation()
-
Method Summary
All Methods Modifier and Type Method Description RenderSpace
getContentAreaSize()
RenderInformation.Size
getRenderedSize()
void
setContentAreaHeight(int h)
void
setContentAreaWidth(int w)
String
toString()
boolean
updateSize(com.google.gwt.dom.client.Element element)
Update the size of the widget.
boolean
updateSize(com.google.gwt.user.client.Element element)
Deprecated.
As of 7.2, call and overrideupdateSize(Element)
instead
-
-
-
Method Detail
-
setContentAreaWidth
public void setContentAreaWidth(int w)
-
setContentAreaHeight
public void setContentAreaHeight(int h)
-
getContentAreaSize
public RenderSpace getContentAreaSize()
-
getRenderedSize
public RenderInformation.Size getRenderedSize()
-
updateSize
@Deprecated public boolean updateSize(com.google.gwt.user.client.Element element)
Deprecated.As of 7.2, call and overrideupdateSize(Element)
insteadUpdate the size of the widget.
Parameters:
widget
-Returns:
true if the size has changed since last update
-
updateSize
public boolean updateSize(com.google.gwt.dom.client.Element element)
Update the size of the widget.
Parameters:
widget
-Returns:
true if the size has changed since last update
Since:
7.2
-
-