public abstract class

ResizeComposite

extends Composite
implements RequiresResize
java.lang.Object
   ↳ com.google.gwt.user.client.ui.UIObject
     ↳ com.google.gwt.user.client.ui.Widget
       ↳ com.google.gwt.user.client.ui.Composite
         ↳ com.google.gwt.user.client.ui.ResizeComposite
Known Direct Subclasses

Class Overview

A Composite implementation that implements RequiresResize and automatically delegates that interface's methods to its wrapped widget, which must itself implement RequiresResize.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.user.client.ui.UIObject
Public Constructors
ResizeComposite()
Public Methods
void onResize()
This method must be called whenever the implementor's size has been modified.
Protected Methods
void initWidget(Widget widget)
Sets the widget to be wrapped by the composite.
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.Composite
From class com.google.gwt.user.client.ui.Widget
From class com.google.gwt.user.client.ui.UIObject
From class java.lang.Object
From interface com.google.gwt.event.logical.shared.HasAttachHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.user.client.EventListener
From interface com.google.gwt.user.client.ui.IsWidget
From interface com.google.gwt.user.client.ui.RequiresResize

Public Constructors

public ResizeComposite ()

Public Methods

public void onResize ()

This method must be called whenever the implementor's size has been modified.

Protected Methods

protected void initWidget (Widget widget)

Sets the widget to be wrapped by the composite. The wrapped widget must be set before calling any Widget methods on this object, or adding it to a panel. This method may only be called once for a given composite.

Parameters
widget the widget to be wrapped