Class JavaScriptComponent.JavaScriptCallbackEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.component.JavaScriptComponent.JavaScriptCallbackEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
JavaScriptComponent

public static class JavaScriptComponent.JavaScriptCallbackEvent extends EventObject
An event that is fired when a method is called by a client-side JavaScript function.
See Also:
  • Field Details

    • arguments

      protected elemental.json.JsonArray arguments
  • Constructor Details

    • JavaScriptCallbackEvent

      public JavaScriptCallbackEvent(JavaScriptComponent source, elemental.json.JsonArray arguments)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred
      Throws:
      IllegalArgumentException - if source is null
  • Method Details

    • getSource

      public JavaScriptComponent getSource()
      Overrides:
      getSource in class EventObject
    • getArguments

      public elemental.json.JsonArray getArguments()
      Returns:
      a list of arguments with which the JavaScript function was called