org.appng.api.observe

## Interface Observer<T extends Observable<T>>

- Type Parameters:
    `T` - the type to be observed

      public interface Observer<T extends Observable<T>>

  An `Observer` gets notified when an `Observable` object fires an `Observable.Event`.
  Author:
    Matthias Müller

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onEvent(T observable, Observable.Event event)` Method to be called when an `Observable.Event` is fired from an `Observable`.

- - ### Method Detail

    - #### onEvent

          void onEvent(T observable,
                       Observable.Event event)

      Method to be called when an `Observable.Event` is fired from an `Observable`.
      Parameters:
        `observable` - the `Observable`
        `event` - the `Observable.Event`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.