com.google.gwt.gadgets.client.impl
Class DynamicHeightFeatureImpl

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

public class DynamicHeightFeatureImpl
extends java.lang.Object
implements DynamicHeightFeature

Provides access to the dynamic height feature.


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()
Description copied from interface: DynamicHeightFeature
Causes the Gadget to be resized. Make sure you have added your content to the RootPanel returned by DynamicHeightFeature.getContentDiv().

Specified by:
adjustHeight in interface DynamicHeightFeature

getContentDiv

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

Specified by:
getContentDiv in interface DynamicHeightFeature
Returns:
a pointer to a panel that will allow your gadget to be resizable when you add content here.