com.openfin.desktop
Class ActionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.openfin.desktop.ActionEvent
All Implemented Interfaces:
Serializable

public class ActionEvent
extends 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
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActionEvent(String type, org.json.JSONObject eventObject, Object source)
          Constructor
 
Method Summary
 org.json.JSONObject getEventObject()
          Gets event data object
 String getType()
          Gets event type
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionEvent

public ActionEvent(String type,
                   org.json.JSONObject eventObject,
                   Object source)
Constructor

Parameters:
type - Event type
eventObject - Data included in the event
source - Event source
Method Detail

getType

public String getType()
Gets event type

Returns:
event type

getEventObject

public org.json.JSONObject getEventObject()
Gets event data object

Returns:
event data object


Copyright © 2016. All rights reserved.