|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable context.arch.handler.Handlers
This class maintains a list of context widget handlers, allows additions and removals of individual handlers.
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 |
HandlerInfo |
getHandlerInfo(java.lang.String key)
Return the HandlerInfo corresponding to a subscription |
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 |
void |
removeHandler(java.lang.String subId)
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 |
public Handlers()
Method Detail |
public void addHandler(HandlerInfo info)
HandlerInfo
public void removeHandler(HandlerInfo info)
HandlerInfo
public void removeHandler(java.lang.String subId)
HandlerInfo
public Handler getHandler(java.lang.String key)
key
- String that matches handler info
public HandlerInfo getHandlerInfo(java.lang.String key)
public java.util.Enumeration getHandlers()
public int numHandlers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |