public class FormatDataEvent
extends java.lang.Object
FormatDataEventListener,
FormatDataHandler| Constructor and Description |
|---|
FormatDataEvent(java.lang.String name,
java.lang.Object data)
Constructs an event with a name and data associted with the event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getEventData()
Gets the data associated with this event.
|
java.lang.String |
getName()
Gets the name of this event.
|
void |
sendEvent(FormatDataEventListener listener)
Sends event to the event listener.
|
public FormatDataEvent(java.lang.String name,
java.lang.Object data)
name - name of the event.data - data associated with this event.public java.lang.String getName()
public java.lang.Object getEventData()
public void sendEvent(FormatDataEventListener listener)