context.arch.handler
Class Handlers

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--context.arch.handler.Handlers

public class Handlers
extends java.util.Hashtable

This class maintains a list of context widget handlers, allows additions and removals of individual handlers.

See Also:
Serialized Form

Constructor Summary
Handlers()
          Basic empty constructor
 
Method Summary
 void addHandler(HandlerInfo info)
          Adds a handler to the handler list
 Handler getHandler(java.lang.String key)
          Returns a handler that matches the given key
 java.util.Enumeration getHandlers()
          Returns an enumeration containing all the handlers in the list
 int numHandlers()
          Returns the number of handlers in the list
 void removeHandler(HandlerInfo info)
          Removes a handler from the handler list
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Handlers

public Handlers()
Basic empty constructor
Method Detail

addHandler

public void addHandler(HandlerInfo info)
Adds a handler to the handler list
Parameters:
handlerInfo - container for handler info
See Also:
HandlerInfo

removeHandler

public void removeHandler(HandlerInfo info)
Removes a handler from the handler list
Parameters:
handlerInfo - HandlerInfo object to remove
See Also:
HandlerInfo

getHandler

public Handler getHandler(java.lang.String key)
Returns a handler that matches the given key
Parameters:
key - String that matches handler info
Returns:
context widget handler that matches the given key

getHandlers

public java.util.Enumeration getHandlers()
Returns an enumeration containing all the handlers in the list

numHandlers

public int numHandlers()
Returns the number of handlers in the list