Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

dexter.events
Class EventDispatcher  view EventDispatcher download EventDispatcher.java

java.lang.Object
  extended bydexter.events.EventDispatcher

public class EventDispatcher
extends java.lang.Object


Field Summary
(package private)  java.util.HashMap actions
           
 
Constructor Summary
EventDispatcher()
          Creates a new instance of EventDispatcher
 
Method Summary
 void addActionListener(java.lang.String actionName, ActionListener actionListener)
           
 java.util.HashMap getActions()
           
 Action registerAction(java.lang.String actionName)
           
 boolean removeActionListener(java.lang.String actionName, ActionListener actionListener)
           
 Action unRegisterEvent(Action action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actions

java.util.HashMap actions
Constructor Detail

EventDispatcher

public EventDispatcher()
Creates a new instance of EventDispatcher

Method Detail

registerAction

public Action registerAction(java.lang.String actionName)

unRegisterEvent

public Action unRegisterEvent(Action action)

addActionListener

public void addActionListener(java.lang.String actionName,
                              ActionListener actionListener)

getActions

public java.util.HashMap getActions()

removeActionListener

public boolean removeActionListener(java.lang.String actionName,
                                    ActionListener actionListener)