com.isti.util
Class IstiEventListenerList

java.lang.Object
  extended by com.isti.util.IstiEventListenerList

public class IstiEventListenerList
extends java.lang.Object

Class IstiEventListenerList defines an event listener list.


Constructor Summary
IstiEventListenerList()
           
 
Method Summary
 void add(IstiEventListener l)
          Adds the event listener.
 void clear()
          Removes all of the event listeners.
 IstiEventListener getEventListener(int index)
          Get the event listener for the specified index.
 void notifyEvent(java.util.EventObject e)
          This notification tells listeners an event has occurred.
 void remove(IstiEventListener l)
          Removes the event listener.
 int size()
          Gets the number of event listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IstiEventListenerList

public IstiEventListenerList()
Method Detail

add

public void add(IstiEventListener l)
Adds the event listener.

Parameters:
l - the event listener.

clear

public void clear()
Removes all of the event listeners.


getEventListener

public IstiEventListener getEventListener(int index)
Get the event listener for the specified index.

Parameters:
index - the index.
Returns:
the event listener.

notifyEvent

public void notifyEvent(java.util.EventObject e)
This notification tells listeners an event has occurred.

Parameters:
e - the event object.

remove

public void remove(IstiEventListener l)
Removes the event listener.

Parameters:
l - the event listener.

size

public int size()
Gets the number of event listeners.

Returns:
the number of event listeners.