Uses of Record Class
com.vaadin.flow.js.JsCall
Packages that use JsCall
Package
Description
-
Uses of JsCall in com.vaadin.browserless
Methods in com.vaadin.browserless that return types with arguments of type JsCallModifier and TypeMethodDescription<T extends JsInvokers>
List<JsCall> Gets the calls of one method of a JavaScript definition, the interface thatElement.executeJs(Class)is called with, that were sent to the browser, in the order the browser received them.ExecutedJavaScript.Execution.getJsCall()Gets the call of a JavaScript definition that this is, which says which definition, which method of it and with which arguments, as the application wrote it. -
Uses of JsCall in com.vaadin.flow.component.internal
Methods in com.vaadin.flow.component.internal that return JsCallModifier and TypeMethodDescription@Nullable JsCallUIInternals.JavaScriptInvocation.getJsCall()Gets the call that this invocation performs, for a caller that acts on the invocation instead of running its JavaScript — the client, which looks up the generated function rather than compiling the expression, and a driver of the client side that recognizes the call.Methods in com.vaadin.flow.component.internal with parameters of type JsCallModifier and TypeMethodDescriptionUIInternals.addJavaScriptInvocation(JsCall call) Adds an invocation of the given call to be sent to the client, owned by the root node of the state tree, which is what makes it an invocation of this UI rather than of anything in it.Constructors in com.vaadin.flow.component.internal with parameters of type JsCallModifierConstructorDescriptionJavaScriptInvocation(JsCall jsCall, String expression, Object... parameters) Creates a new invocation for the given call, whose expression and parameters the caller has already resolved. -
Uses of JsCall in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom that return JsCallModifier and TypeMethodDescriptionDomEventData.getDeclaredCall()Gets the call of theJsSnippetsmethod that declared this event data.DomEventFilter.getDeclaredCall()Gets the call of theJsSnippetsmethod that declared this filter.@Nullable JsCallJsFunction.getDeclaredCall()Gets the call of aJsSnippetsmethod that declared this function, which names the function of the bundle it runs.Methods in com.vaadin.flow.dom with parameters of type JsCallModifier and TypeMethodDescriptionstatic <T> DomEventData<T> DomEventData.ofDeclaredCall(JsCall call, Type returnType) Creates event data for the given call of aJsSnippetsmethod.static DomEventFilterDomEventFilter.ofDeclaredCall(JsCall call) Creates a filter for the given call of aJsSnippetsmethod.static JsFunctionJsFunction.ofDeclaredCall(JsCall call) Creates the function that a call of a method of aJsSnippetsinterface declares, which the build collects into the bundle. -
Uses of JsCall in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal that return JsCallModifier and TypeMethodDescriptionstatic @Nullable JsCallJsStringFallbacks.findDeclaredCall(String expression, @Nullable Object[] parameters) Finds the declared call that stands in for anexecuteJscall with a string expression, in the service of the current request.static @Nullable JsCallJsStringFallbacks.findDeclaredFunction(String body, @Nullable Object[] captures) Finds the declared call of a method returning aJsFunctionthat stands in for a function created from a string body, in the service of the current request. -
Uses of JsCall in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature that return JsCallModifier and TypeMethodDescriptionElementListenerMap.SnippetEntry.call()Returns the value of thecallrecord component.Constructors in com.vaadin.flow.internal.nodefeature with parameters of type JsCallModifierConstructorDescriptionSnippetEntry(String key, JsCall call, @Nullable String sideEffect, boolean filter, boolean mapElement) Creates an instance of aSnippetEntryrecord class. -
Uses of JsCall in com.vaadin.flow.js
Methods in com.vaadin.flow.js that return JsCallModifier and TypeMethodDescriptionstatic @Nullable JsCallJsDefinitionProxy.findDeclaredCall(JsSnippet snippet) Gets the call that declared the given snippet, if it is an implementation of a snippet type of the application, which is sent to the client as the function the call names and the arguments of the call.Method parameters in com.vaadin.flow.js with type arguments of type JsCallModifier and TypeMethodDescriptionstatic <T extends JsInvokers>
TJsDefinitionProxy.create(Class<T> definitionType, SerializableFunction<JsCall, PendingJavaScriptResult> runner) Creates an implementation of the given JavaScript definition, which hands every call of it to the given function and answers with what the function answers, for a method that declares a result.