java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | com.google.gwt.event.shared.UmbrellaException | ||||
↳ | com.google.gwt.user.client.ui.AttachDetachException |
An exception that is thrown when the panel fails to attach or detach its children.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AttachDetachException.Command | The command to execute when iterating through child widgets. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new
AttachDetachException . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Iterator through all child widgets, trying to perform the specified
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class com.google.gwt.event.shared.UmbrellaException | |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Construct a new AttachDetachException
.
causes | the causes of the exception |
---|
Iterator through all child widgets, trying to perform the specified
AttachDetachException.Command
for each. All widgets will be visited even if the Command
throws an exception. If one or more exceptions occur, they will be combined
and thrown as a single AttachDetachException
.
Use this method when attaching or detaching a widget with children to ensure that the logical and physical state of all children match the logical and physical state of the parent.
hasWidgets | children to iterate |
---|---|
c | the AttachDetachException.Command to try on all children
|