|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.util.CaptureResultCallback<T>
public class CaptureResultCallback<T>
Implementation of ComponentEventCallback that simply captures the result value.
| Constructor Summary | |
|---|---|
CaptureResultCallback()
|
|
| Method Summary | ||
|---|---|---|
static
|
create()
|
|
T |
getResult()
|
|
boolean |
handleResult(T result)
Invoked to handle a non-null event handler method result. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CaptureResultCallback()
| Method Detail |
|---|
public boolean handleResult(T result)
ComponentEventCallbackEvent.isAborted() will return true.
handleResult in interface ComponentEventCallback<T>result - the result value returned from the event handler method
public T getResult()
public static <T> CaptureResultCallback<T> create()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||