com.google.gwt.gadgets.client
Class DynamicHeightFeature

java.lang.Object
  extended by com.google.gwt.gadgets.client.DynamicHeightFeature
All Implemented Interfaces:
GadgetFeature

public class DynamicHeightFeature
extends java.lang.Object
implements GadgetFeature

Provides access to the dynamic height feature.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.gadgets.client.GadgetFeature
GadgetFeature.FeatureName, GadgetFeature.MayRequire
 
Method Summary
 void adjustHeight()
          Causes the Gadget to be resized.
 com.google.gwt.user.client.ui.RootPanel getContentDiv()
          Use this method to retrieve the RootPanel to attach all gadget content to when using DynamicHeight.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

adjustHeight

public void adjustHeight()
Causes the Gadget to be resized. Make sure you have added your content to the RootPanel returned by getContentDiv().


getContentDiv

public com.google.gwt.user.client.ui.RootPanel getContentDiv()
Use this method to retrieve the RootPanel to attach all gadget content to when using DynamicHeight.

Returns:
a pointer to a panel that will allow your gadget to be resizable when you add content here.