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 classRenderInformation.FloatSizestatic classRenderInformation.Size
-
Constructor Summary
Constructors Constructor Description RenderInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RenderSpacegetContentAreaSize()RenderInformation.SizegetRenderedSize()voidsetContentAreaHeight(int h)voidsetContentAreaWidth(int w)StringtoString()booleanupdateSize(com.google.gwt.dom.client.Element element)Update the size of the widget.booleanupdateSize(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
-
-