org.apache.tapestry5

## Interface TrackableComponentEventCallback<T>

- All Superinterfaces:
    ComponentEventCallback<T>
  All Known Implementing Classes:
    ComponentResultProcessorWrapper

      public interface TrackableComponentEventCallback<T>
      extends ComponentEventCallback<T>

  Extends `ComponentEventCallback` with a way to determine if the underlying event has been aborted due to a some event returning an acceptable, non-null value. The standard implementation of this is a wrapper around either the traditional or ajax versions of the `ComponentEventResultProcessor` service, i.e., they allow for a navigational result. Instances of this are made available via the `Environmental` annotation.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isAborted()` Returns true if a return value from an event handler method was processed.
    `void` | `rethrow()` If processing a return value threw an IOException, invoking this method will rethrow it.

    - ### Methods inherited from interface org.apache.tapestry5.ComponentEventCallback

      `handleResult`

- - ### Method Detail

    - #### isAborted

          boolean isAborted()

      Returns true if a return value from an event handler method was processed.

    - #### rethrow

          void rethrow()
                throws IOException

      If processing a return value threw an IOException, invoking this method will rethrow it.
      Throws:
        `IOException`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.