List of usage examples for com.google.gwt.user.client.ui WidgetCollection remove
public void remove(Widget w)
From source file:rocket.widget.client.Panel.java
License:Apache License
/** * Removes the widget at the given slot. * //from ww w. ja va 2s . c o m * @param index */ public boolean remove(final int index) { final WidgetCollection widgets = this.getWidgetCollection(); final Widget widget = widgets.get(index); this.remove0(widget.getElement(), index);// cleanup opportunity this.orphan(widget); widgets.remove(index); return true; }