|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.client.api.event.Event
org.exoplatform.social.client.api.event.LifecycleEvent<M,L>
public class LifecycleEvent<M,L>
General event for notifying listeners of significant changes on a component that implements the Lifecycle interface.
| Constructor Summary | |
|---|---|
LifecycleEvent(Lifecycle<M,L> source,
String type)
Construct a new LifecycleEvent with the specified parameters. |
|
LifecycleEvent(Lifecycle<M,L> source,
String type,
L data)
Construct a new LifecycleEvent with the specified parameters. |
|
| Method Summary | |
|---|---|
L |
getData()
Return the event data of this event. |
Lifecycle<M,L> |
getSource()
Return the Lifecycle on which this event occurred. |
String |
getType()
Return the event type of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifecycleEvent(Lifecycle<M,L> source,
String type)
source - Component on which this event occurredtype - Event type (required)
public LifecycleEvent(Lifecycle<M,L> source,
String type,
L data)
source - Component on which this event occurredtype - Event type (required)data - Event data (if any)| Method Detail |
|---|
public String getType()
public L getData()
public Lifecycle<M,L> getSource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||