|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IEventManager
Interface for event managers (e.g., see class EventManager).
| Method Summary | |
|---|---|
void |
addEventListener(java.lang.String a_eventName,
GeneticEventListener a_eventListenerToAdd)
Adds a new listener that will be notified when the event represented by the given name is fired. |
void |
fireGeneticEvent(GeneticEvent a_eventToFire)
Fires a genetic event. |
void |
removeEventListener(java.lang.String a_eventName,
GeneticEventListener a_eventListenerToRemove)
Removes the given listener from subscription of the indicated event. |
| Method Detail |
|---|
void addEventListener(java.lang.String a_eventName,
GeneticEventListener a_eventListenerToAdd)
a_eventName - the name of the event to which the given listener
should be subscribed. Standard events are represented by constants in the
GeneticEvent classa_eventListenerToAdd - the genetic listener to subscribe to
notifications of the given event
void removeEventListener(java.lang.String a_eventName,
GeneticEventListener a_eventListenerToRemove)
a_eventName - the name of the event to which the given listener
should be removed. Standard events are represented by constants in the
GeneticEvent classa_eventListenerToRemove - the genetic listener to unsubscribe from
notifications of the given eventvoid fireGeneticEvent(GeneticEvent a_eventToFire)
a_eventToFire - the representation of the genetic event to fire
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||