|
NCSA Portfolio | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ncsa.j3d.ui.tools.ReceiverList
THIS IS CONSIDERED LEGACY CODE AND SHOULD GO AWAY WHEN POSSIBLE. This object maintains a list of PortfolioEventRecievers and is capable of distributing events to them all in one logical operation.
Constructor Summary | |
ReceiverList()
Constructs a ReceiverList. |
Method Summary | |
void |
add(PortfolioEventReceiver i)
Adds an object into the distribution list. |
boolean |
contains(PortfolioEventReceiver i)
Allows an object to find out if a particular object is in the distribution list. |
PortfolioEventReceiver |
get(int index)
Indexes into the ditribution list and returns the object at a specific index. |
int |
getSize()
Checks the size. |
boolean |
notify(java.util.EventObject event)
Distributes an event to all members of the distibution list. |
boolean |
remove(PortfolioEventReceiver i)
Removes an object from the distibution list. |
void |
shred()
Removes all elements from the distibution list. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ReceiverList()
Method Detail |
public int getSize()
public void add(PortfolioEventReceiver i)
i
- The object to be inserted into the distibution list.public boolean remove(PortfolioEventReceiver i)
i
- The object to be removed.public boolean contains(PortfolioEventReceiver i)
i
- The object to find out about.public PortfolioEventReceiver get(int index)
index
- The number of items to index into the list.public void shred()
none
- public boolean notify(java.util.EventObject event)
event
- The event to distribute.
|
NCSA Portfolio | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |