/** Remove all child Widgets from this container. */ public void removeAll() { getComponent().removeAll(); for (int i = 0; i < child.size(); i++) removeAsParent(child.get(i).widget); child.clear(); invalidateSize(); }