Class OceanusEventRegistrar<E extends Enum<E>>

java.lang.Object
io.github.tonywasher.joceanus.oceanus.event.OceanusEventRegistrar<E>
Type Parameters:
E - The event id type

public class OceanusEventRegistrar<E extends Enum<E>> extends Object
EventRegister implementation. This maintains a list of Action/Change/ItemListeners/ActionListeners and allows the caller to fire Action/Change/ItemEvents and ActionEvents to these listeners. This is implemented to provide functionality to non-GUI components and also to enable improved control over the contents of the ChangeEvents and ActionEvents that are fired.

This class is used by listeners to register to listen for events.