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

    Fields inherited from class java.util.EventObject

    source
  • 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 object
    java.lang.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 Details

    • ActionEvent

      public ActionEvent​(java.lang.String type, org.json.JSONObject eventObject, java.lang.Object source)
      Constructor
      Parameters:
      type - Event type
      eventObject - Data included in the event
      source - 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