Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.java.ao.event
Interface EventManager

All Known Implementing Classes:
  EventManagerImpl

    public interface EventManager

This is the central point of the event system where listeners are registered (and/or unregistered) and events fired.

Method Summary
`void` | `publish(Object event)` Published the given event.
`void` | `register(Object listener)` Registers a listener.
`void` | `unregister(Object listener)` Unregisters the give listener.

Method Detail

### publish

    void publish(Object event)

  Published the given event.

  Whether or not anyone listens to the event doesn't matter.

  Parameters:
    `event` - the event to publish

### register

    void register(Object listener)

  Registers a listener. The definition of a correct listener is left up to the implementation.

  Parameters:
    `listener` - the listener to register.

### unregister

    void unregister(Object listener)

  Unregisters the give listener. Nothing happens if the listener was not previously registered.

  Parameters:
    `listener` - the listener to un-register

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007-2011. All Rights Reserved.