public final class LayoutEventArgs extends Object implements IEventArgs
LayoutFinished
event.EMPTY
Constructor and Description |
---|
LayoutEventArgs()
Initializes a new instance of the
LayoutEventArgs class. |
LayoutEventArgs(RuntimeException exception)
Initializes a new instance of the
LayoutEventArgs class. |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
getException()
Gets the exception this event is signaling, if the event was caused by an exception.
|
boolean |
isHandled()
Mark an event as handled.
|
void |
setHandled(boolean value)
Mark an event as handled.
|
public LayoutEventArgs()
LayoutEventArgs
class.public LayoutEventArgs(RuntimeException exception)
LayoutEventArgs
class.exception
- The exception to pass to Exception
.public final RuntimeException getException()
public final boolean isHandled()
In order to prevent further processing, the event needs to be marked as handled.
Note that setting this to true
doesn't prevent other event handlers from being called. These must check for this
flag explicitly.
setHandled(boolean)
public final void setHandled(boolean value)
In order to prevent further processing, the event needs to be marked as handled.
Note that setting this to true
doesn't prevent other event handlers from being called. These must check for this
flag explicitly.
value
- The Handled to set.isHandled()