|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRiaListenerManager
Interface implemented for every component managing some listeners on event processing
RiaListenerManagerImpl
,
RiaComponentModel
Method Summary | |
---|---|
void |
addEventListener(IRiaListener listener)
Add a listener for all the events of this component |
void |
addEventTypeListener(IRiaListener listener,
int eventType)
Add a listener for a specific event type of this component |
void |
fireEventType(RiaEvent event)
Fire the event to all the listeners waiting for a notification |
void |
removeAllEventListeners()
Remove all the listeners on this component, even the ones bound on a specific type |
void |
removeAllEventTypeListeners(int eventType)
Remove all the listeners bound on a specific type on this component |
void |
removeEventListener(IRiaListener listener)
Remove a listener for all the events of this component |
void |
removeEventTypeListener(IRiaListener listener,
int eventType)
Remove a listener for a specific event type on this component |
Method Detail |
---|
void addEventListener(IRiaListener listener)
listener
- the listener to addvoid addEventTypeListener(IRiaListener listener, int eventType)
listener
- the listener to addeventType
- the type of the event to listenvoid removeEventListener(IRiaListener listener)
listener
- the listener to removevoid removeEventTypeListener(IRiaListener listener, int eventType)
listener
- the listener to removeeventType
- the type of the event to remove onvoid removeAllEventListeners()
void removeAllEventTypeListeners(int eventType)
void fireEventType(RiaEvent event)
event
- the event to fire, composed of the component source id and of the type to fire.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |