S
- type of the screenpublic class AfterScreenCloseEvent<S extends Screen>
extends java.util.EventObject
withAfterCloseListener()
method of screen builders.Modifier and Type | Field and Description |
---|---|
protected CloseAction |
closeAction |
Constructor and Description |
---|
AfterScreenCloseEvent(S source,
CloseAction closeAction) |
Modifier and Type | Method and Description |
---|---|
boolean |
closedWith(StandardOutcome outcome)
Checks that screen was closed with the given
outcome . |
CloseAction |
getCloseAction() |
S |
getScreen() |
S |
getSource() |
protected final CloseAction closeAction
public AfterScreenCloseEvent(S source, CloseAction closeAction)
public S getSource()
getSource
in class java.util.EventObject
public S getScreen()
public CloseAction getCloseAction()
Screen.close(CloseAction)
method of the screen.public boolean closedWith(StandardOutcome outcome)
outcome
.