com.google.gwt.user.client.ui.ProvidesResize |
Known Indirect Subclasses
CellBrowser,
DockLayoutPanel,
LayoutPanel,
RootLayoutPanel,
ScrollPanel,
SplitLayoutPanel,
StackLayoutPanel,
TabLayoutPanel
|
This tag interface specifies that the implementing widget will call
onResize()
on its children whenever their size may
have changed.
With limited exceptions (such as RootLayoutPanel
), widgets that
implement this interface will also implement RequiresResize
. A typical
widget will implement onResize()
like this:
public void onResize() {
for (Widget child : getChildren()) {
if (child instanceof RequiresResize) {
((RequiresResize) child).onResize();
}
}
}