If it has no parent, this method does nothing. If it is a "root" widget (meaning it's been added to the detach list via {@link RootPanel#detachOnWindowClose(Widget)}), it will be removed from the detached immediately. This makes it possible for Composites and Panels to adopt root widgets.
@throws IllegalStateException if this widget's parent does not supportremoval (e.g. {@link Composite})removeFromParent
removes this Spatial from it's parent.
@return true if it has a parent and performed the remove.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|