Package io.jmix.ui.component
Class JavaScriptComponent.JavaScriptCallbackEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.component.JavaScriptComponent.JavaScriptCallbackEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- JavaScriptComponent
An event that is fired when a method is called by a client-side JavaScript function.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptCallbackEvent(JavaScriptComponent source, elemental.json.JsonArray arguments) Constructs a prototypical Event. -
Method Summary
Modifier and TypeMethodDescriptionelemental.json.JsonArrayMethods inherited from class java.util.EventObject
toString
-
Field Details
-
arguments
protected elemental.json.JsonArray arguments
-
-
Constructor Details
-
JavaScriptCallbackEvent
Constructs a prototypical Event.- Parameters:
source- The object on which the Event initially occurred- Throws:
IllegalArgumentException- if source is null
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
getArguments
public elemental.json.JsonArray getArguments()- Returns:
- a list of arguments with which the JavaScript function was called
-