com.sas.visuals
Class ForwardedActionListenerList

com.sas.visuals.ForwardedActionListenerList
All Implemented Interfaces:
java.io.Serializable

public final class ForwardedActionListenerList
implements java.io.Serializable

Manage a list of listeners for the com.sas.visuals.ForwardedActionEvent event.

See Also:
ForwardedActionEvent, ForwardedActionListener, Serialized Form

Constructor Summary
ForwardedActionListenerList()
           
ForwardedActionListenerList(int initialIncrement)
           
 
Method Summary
 void add(ForwardedActionListener listener)
          Add a listener to the list of listeners.
 int count()
           
 ForwardedActionListener[] getListeners()
          Return a safe copy of the list of listeners for this event.
 void remove(ForwardedActionListener listener)
          Remove a listener from the list of listeners.
 

Constructor Detail

ForwardedActionListenerList

public ForwardedActionListenerList()

ForwardedActionListenerList

public ForwardedActionListenerList(int initialIncrement)
Method Detail

count

public int count()

add

public void add(ForwardedActionListener listener)
Add a listener to the list of listeners.

Parameters:
listener - a new listener for the ForwardedActionEvent event

getListeners

public ForwardedActionListener[] getListeners()
Return a safe copy of the list of listeners for this event. the client may iterate over this list and send events to the clients in a thread safe manner; calls to addForwardedActionListener or removeForwardedActionListener may take place but do not affect this copied listener list.

Returns:
a safe arry copy of the listener list. The array contains no null items.

remove

public void remove(ForwardedActionListener listener)
Remove a listener from the list of listeners.

Parameters:
listener - the listener to remove from the list.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.