| Constructor and Description | 
|---|
Event()  | 
Event(Object source)  | 
Event(Object source,
     T message)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
consume()
Call this method, if you handled this event and another handler is not required. 
 | 
void | 
consume(Object consumer)
Call this method, if you handled this event and another handler is not required. 
 | 
List<Object> | 
getConsumer()  | 
T | 
getMessage()  | 
String | 
getMessageString()
Get the message string. 
 | 
Object | 
getSource()  | 
boolean | 
isConsumed()
Test, if this event got handled before. 
 | 
protected void | 
setConsumed(boolean consumed)  | 
void | 
setMessage(T message)  | 
void | 
setSource(Object source)  | 
String | 
toString()  | 
public Event()
public Event(Object source)
public Object getSource()
public void setSource(Object source)
public T getMessage()
public void setMessage(T message)
public String getMessageString()
public boolean isConsumed()
protected void setConsumed(boolean consumed)
public void consume()
public void consume(Object consumer)
consumer - Set the consuming object, so that other handler can react on thisconsume()Copyright © 2017. All rights reserved.