com.zion.jbuddy.bots
Class BotEventHandlerSet

java.lang.Object
  extended by com.zion.jbuddy.bots.BotEventHandlerSet

public class BotEventHandlerSet
extends Object

A set of event handlers.

See Also:
BotEventHandler

Method Summary
 void add(BotEventHandler event)
          Adds an event handler to this set.
 void add(BotEventHandler event, int index)
          Adds an event handler to this set at the specified index.
 void clear()
          Removes all event handlers from this set.
 Object clone()
          Returns an exact copy of this set.
 BotEventHandler getByID(String id)
          Returns the event handler with the specified ID, or null.
 List getEventHandlers()
          Returns a List of event handlers in this set.
 void remove(BotEventHandler event)
          Removes an event handler from this set.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public void add(BotEventHandler event)
Adds an event handler to this set.


add

public void add(BotEventHandler event,
                int index)
Adds an event handler to this set at the specified index.


getByID

public BotEventHandler getByID(String id)
Returns the event handler with the specified ID, or null.


getEventHandlers

public List getEventHandlers()
Returns a List of event handlers in this set.


remove

public void remove(BotEventHandler event)
Removes an event handler from this set.


clear

public void clear()
Removes all event handlers from this set.


clone

public Object clone()
Returns an exact copy of this set.

Overrides:
clone in class Object


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.