Class com.next.gt.EventManager
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.next.gt.EventManager

java.lang.Object
   |
   +----com.next.gt.EventManager

public class EventManager
extends Object

Variable Index

 o objectsToNotify

Constructor Index

 o EventManager()

Method Index

 o handleEvent(Event)
Handle the event by notifying registered objects.
 o registerForEventNotification(Object, int[])
Register for notification of an event with a Vector of events.
 o registerForSingleEventNotification(Object, int)
Register for a single notification of an event.
 o removeFromNotificationRegistry(Object)
Remove object from notification registry.

Variables

 o objectsToNotify
  protected Vector objectsToNotify

Constructors

 o EventManager
  public EventManager()

Methods

 o registerForEventNotification
  public void registerForEventNotification(Object theObject,
                                           int theEventVector[])
Register for notification of an event with a Vector of events.
 o registerForSingleEventNotification
  public void registerForSingleEventNotification(Object theObject,
                                                 int theEventID)
Register for a single notification of an event.
 o removeFromNotificationRegistry
  public void removeFromNotificationRegistry(Object theObject)
Remove object from notification registry.
 o handleEvent
  public boolean handleEvent(Event theEvent)
Handle the event by notifying registered objects.

All Packages  Class Hierarchy  This Package  Previous  Next  Index