org.annotation.gui
Class EventManager

java.lang.Object
  extended byorg.annotation.gui.EventManager
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class EventManager
extends java.lang.Object
implements java.awt.event.ActionListener


Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 int broadcast(java.lang.String[] eventTypes, java.lang.Object source)
           
 int broadcast(java.lang.String eventType, java.lang.Object source)
           
static EventManager getEventManager()
           
 int registerBroadcaster(java.lang.String eventType, java.lang.Object broadcaster)
           
 int registerBroadcaster(java.lang.String eventType, java.lang.Object broadcaster, javax.swing.AbstractButton c)
           
 int registerBroadcaster(java.lang.String eventType, java.lang.Object broadcaster, javax.swing.JComboBox c)
           
 int registerListener(java.lang.String eventType, EventListener listener)
           
 void registerStickyEvent(java.lang.String eventType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEventManager

public static EventManager getEventManager()

registerListener

public int registerListener(java.lang.String eventType,
                            EventListener listener)

registerBroadcaster

public int registerBroadcaster(java.lang.String eventType,
                               java.lang.Object broadcaster,
                               javax.swing.AbstractButton c)

registerBroadcaster

public int registerBroadcaster(java.lang.String eventType,
                               java.lang.Object broadcaster,
                               javax.swing.JComboBox c)

registerBroadcaster

public int registerBroadcaster(java.lang.String eventType,
                               java.lang.Object broadcaster)

registerStickyEvent

public void registerStickyEvent(java.lang.String eventType)

broadcast

public int broadcast(java.lang.String eventType,
                     java.lang.Object source)

broadcast

public int broadcast(java.lang.String[] eventTypes,
                     java.lang.Object source)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.