Package 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 Instance Methods Concrete Methods Deprecated 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
-
-