Package-level declarations
Types
Link copied to clipboard
Provides some common implementation that useful to all that interact with RegisteringEventEmitters components, including:
- Maintaining a reference to an EventEmitter
- Wraps incoming EventEmitter in a RegisteringEventEmitter
- Ensures incoming EventEmitter is not null
- Maintains a collection of EventListener tokens for use with EventEmitter.off()
- Provides standard required method for initializing Event listeners
Link copied to clipboard
Link copied to clipboard
Implements an EventListener and calls processEvent on a background thread.
Link copied to clipboard
Classes that implement this interface will be designed to work with the EventEmitter System Classes that implement this interface should use the Emits and ListensFor annotations
Link copied to clipboard
annotation class Default
This annotation should be used to mark the processEvent method when declaring a subclass of EventListener.
Link copied to clipboard
annotation class Emits
Annotation used for Component classes in order to describe what EventTypes this Component will Emits
Link copied to clipboard
Represents a single Event, that is designed to be passed down a chain of listeners.
Link copied to clipboard
interface EventEmitter
Defines the public facing api for classes that wish to emit events.
Link copied to clipboard
The 'Main' implementation of EventEmitter.
Link copied to clipboard
interface EventListener
Abstract class used as part of the event registration process.
Link copied to clipboard
Simple class that can be used to listen to and log out information on all emitted events.
Link copied to clipboard
annotation class ListensFor
Annotation used for Component classes in order to describe what EventTypes this Component will ListensFor.
Link copied to clipboard
Immutable object the describes a media event.
Link copied to clipboard
The RegisteringEventEmitter allows developers to constrain which events their Components are intended to listen for and emit.