|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fishbolt.common.listener.ext.Event<S,T>
S - type of changed object.T - type that describes that changepublic class Event<S,T>
An event is being created by the system before notifying the listeners. The constructor of the class gets the object that is a source of the event as the first argument. The second parameter is a type of the event.
| Constructor Summary | |
|---|---|
Event(S source,
T type)
Creates an instance of event |
|
| Method Summary | |
|---|---|
S |
getSource()
Changed object |
T |
getType()
Type of the change |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Event(S source,
T type)
source - is the changed objecttype - that describes that change| Method Detail |
|---|
public S getSource()
IEvent
getSource in interface IEvent<S,T>public T getType()
IEvent
getType in interface IEvent<S,T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||