Package com.openfin.desktop
Class ActionEvent
java.lang.Object
java.util.EventObject
com.openfin.desktop.ActionEvent
- All Implemented Interfaces:
java.io.Serializable
public class ActionEvent
extends java.util.EventObject
An Event object is passed to EventListener when the registered event occurs.
- Since:
- 2/9/14
- Author:
- wche
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ActionEvent(java.lang.String type, org.json.JSONObject eventObject, java.lang.Object source)
Constructor -
Method Summary
Modifier and Type Method Description org.json.JSONObject
getEventObject()
Gets event data objectjava.lang.String
getType()
Gets event type
-
Constructor Details
-
ActionEvent
public ActionEvent(java.lang.String type, org.json.JSONObject eventObject, java.lang.Object source)Constructor- Parameters:
type
- Event typeeventObject
- Data included in the eventsource
- Event source
-
-
Method Details
-
getType
public java.lang.String getType()Gets event type- Returns:
- event type
-
getEventObject
public org.json.JSONObject getEventObject()Gets event data object- Returns:
- event data object
-