com.vaadin.client
Class RenderInformation

java.lang.Object
  extended by com.vaadin.client.RenderInformation

public class RenderInformation
extends java.lang.Object

Contains size information about a rendered container and its content area.

Author:
Artur Signell

Nested Class Summary
static class RenderInformation.FloatSize
           
static class RenderInformation.Size
           
 
Constructor Summary
RenderInformation()
           
 
Method Summary
 RenderSpace getContentAreaSize()
           
 RenderInformation.Size getRenderedSize()
           
 void setContentAreaHeight(int h)
           
 void setContentAreaWidth(int w)
           
 java.lang.String toString()
           
 boolean updateSize(com.google.gwt.user.client.Element element)
          Deprecated. As of 7.2, call and override updateSize(Element) instead
 boolean updateSize(Element element)
          Update the size of the widget.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenderInformation

public RenderInformation()
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 override updateSize(Element) instead

Update the size of the widget.

Parameters:
widget -
Returns:
true if the size has changed since last update

updateSize

public boolean updateSize(Element element)
Update the size of the widget.

Parameters:
widget -
Returns:
true if the size has changed since last update
Since:
7.2

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.