Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addParam(String, Serializable) - Method in class com.vaadin.swingkit.core.VaadinSwingEventBuilder
-
Add data to be added to the created events.
- ATTACH - Static variable in class com.vaadin.swingkit.core.EventType
-
In the event of a swing bridge becoming ready for use in a Vaadin view.
B
- build() - Method in class com.vaadin.swingkit.core.VaadinSwingEventBuilder
-
Creates a new
VaadinSwingEventinstance with the configuration of this builder.
C
- clearParams() - Method in class com.vaadin.swingkit.core.VaadinSwingEventBuilder
-
Removes all parameters from the builder.
- com.vaadin.swingkit.core - package com.vaadin.swingkit.core
- create(Method, Object[]) - Static method in class com.vaadin.swingkit.core.InvocationUtils
-
Creates a
MethodInvocationinstance out of a method and the arguments used in its call.
D
- decode(String) - Static method in class com.vaadin.swingkit.core.InvocationUtils
-
Decodes a Base64 String and returns the object encoded in it.
- descriptionToMethod(MethodDescription, ClassLoader) - Method in class com.vaadin.swingkit.core.HandledInvocations
-
Transform a
MethodDescriptionand its relatedClassLoader. - DETACH - Static variable in class com.vaadin.swingkit.core.EventType
-
In the event of a swing bridge being removed from a Vaadin view.
E
- EmbeddedBrowserException - Exception Class in com.vaadin.swingkit.core
-
Exception produced when something goes wrong trying to call the embedded browser javascript function that allows Vaadin to Swing communication.
- EmbeddedBrowserException(String) - Constructor for exception class com.vaadin.swingkit.core.EmbeddedBrowserException
- encode(Object) - Static method in class com.vaadin.swingkit.core.InvocationUtils
-
Encode a method invocation call or any other object into a Base64 string.
- encode(Method, Object[]) - Static method in class com.vaadin.swingkit.core.InvocationUtils
-
Encode a method invocation call and its arguments into a Base64 string.
- equals(Object) - Method in class com.vaadin.swingkit.core.MethodDescription
- EventType - Class in com.vaadin.swingkit.core
-
Utility class that holds constants for common event types.
- EXCEPTION - Static variable in class com.vaadin.swingkit.core.EventType
-
For events that represent an exception thrown.
G
- getArgTypes() - Method in class com.vaadin.swingkit.core.MethodDescription
-
Gets the types of the arguments of the method as an array of Strings.
- getArgValues() - Method in class com.vaadin.swingkit.core.MethodInvocation
-
Gets the arguments values used for the invocation.
- getClassName() - Method in class com.vaadin.swingkit.core.MethodDescription
-
Gets the class name containing the method.
- getClassType() - Method in class com.vaadin.swingkit.core.InvocationResponse
-
The fully qualified name of the type of the response.
- getData() - Method in class com.vaadin.swingkit.core.InvocationResponse
-
Get the actual response data.
- getFromName(String) - Static method in enum com.vaadin.swingkit.core.SwingVaadinConsts.UserAgent
- getHandledInvocations() - Method in class com.vaadin.swingkit.core.HandledInvocations
-
Get the handled (registered)
MethodDescriptionby this handler. - getId() - Method in class com.vaadin.swingkit.core.InvocationResponse
-
Get the id of the response, which should match the id of the request.
- getId() - Method in class com.vaadin.swingkit.core.MethodInvocation
-
Gets the id of the invocation.
- getMethodDescription() - Method in class com.vaadin.swingkit.core.MethodInvocation
-
Gets the
MethodDescriptionof the method that will be called by the invocation. - getMethodName() - Method in class com.vaadin.swingkit.core.MethodDescription
-
Gets the method name.
- getName() - Method in enum com.vaadin.swingkit.core.SwingVaadinConsts.UserAgent
- getParams() - Method in class com.vaadin.swingkit.core.VaadinSwingEvent
-
Get a copy of the event's parameters.
- getReturnType() - Method in class com.vaadin.swingkit.core.MethodDescription
-
Gets the return type of the method as a String.
- getType() - Method in class com.vaadin.swingkit.core.VaadinSwingEvent
-
Get the event's type.
H
- HandledInvocations - Class in com.vaadin.swingkit.core
-
Class to handle and synchronize calls from Swing app to Vaadin app.
- HandledInvocations() - Constructor for class com.vaadin.swingkit.core.HandledInvocations
-
Constructor of the class.
- hashCode() - Method in class com.vaadin.swingkit.core.MethodDescription
I
- InvocationResponse - Class in com.vaadin.swingkit.core
-
Represents the response from a remote method call between a Swing app and a Vaadin app in a Vaadin panel.
- InvocationResponse() - Constructor for class com.vaadin.swingkit.core.InvocationResponse
- InvocationUtils - Class in com.vaadin.swingkit.core
-
Utility class to handle method invocations between a Swing app and a Vaadin app embedded in a JVaadinPanel.
- invoke(MethodInvocation) - Method in class com.vaadin.swingkit.core.HandledInvocations
-
Calls the corresponding method invocation if it is found on the registered method descriptions of the handler.
- invoke(MethodInvocation) - Method in interface com.vaadin.swingkit.core.SwingVaadinInvocation
-
Calls the implementation of the
MethodInvocation - isHandled(MethodInvocation) - Method in class com.vaadin.swingkit.core.HandledInvocations
-
Checks if the
MethodInvocationis handled (registered) by the handler.
J
- JAVASCRIPT_VAADIN_ACTION_QUERY - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
Vaadin to Swing action query function name (Event fired from Vaadin side with user interaction)
- JAVASCRIPT_VAADIN_ACTION_QUERY_CANCEL - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
Vaadin to Swing cancel action query function name
- JAVASCRIPT_VAADIN_QUERY - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
Vaadin to Swing query function name (Event fired as response from a Swing action)
- JAVASCRIPT_VAADIN_QUERY_CANCEL - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
Vaadin to Swing cancel query function name
- JCEFBROWSER_AGENT - Enum constant in enum com.vaadin.swingkit.core.SwingVaadinConsts.UserAgent
- JCEFBROWSER_AGENT_NAME - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
User Agent String for JCefBrowser implementation
- JXBROWSER_AGENT - Enum constant in enum com.vaadin.swingkit.core.SwingVaadinConsts.UserAgent
- JXBROWSER_AGENT_NAME - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
User Agent String for JxBrowser implementation
M
- MethodDescription - Class in com.vaadin.swingkit.core
-
Describes a method that could be invoke from Swing app to a Vaadin View integrated in a JVaadinPanel.
- MethodDescription() - Constructor for class com.vaadin.swingkit.core.MethodDescription
- MethodInvocation - Class in com.vaadin.swingkit.core
-
Describes a method invocation that can be used to run code from a Swing app to a Vaadin view that implements
SwingVaadinCallable - MethodInvocation() - Constructor for class com.vaadin.swingkit.core.MethodInvocation
N
- NETWORK_ERROR_PAGE - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
Network error page url to be loaded after a
SwingKitException.NETWORK_EXCEPTION - NETWORK_EXCEPTION - Enum constant in enum com.vaadin.swingkit.core.SwingKitException
-
Exception thrown when something goes wrong loading a url in the embedded browser
R
- register(MethodDescription, SwingVaadinInvocation<?>) - Method in class com.vaadin.swingkit.core.HandledInvocations
-
Register a pair
MethodDescriptionandSwingVaadinInvocation - register(String, String, String, String[], SwingVaadinInvocation<?>) - Method in class com.vaadin.swingkit.core.HandledInvocations
- removeParam(String) - Method in class com.vaadin.swingkit.core.VaadinSwingEventBuilder
-
Removes a parameter.
S
- setArgTypes(String[]) - Method in class com.vaadin.swingkit.core.MethodDescription
-
Sets the types of the arguments of the method as an array of Strings.
- setArgValues(Object[]) - Method in class com.vaadin.swingkit.core.MethodInvocation
-
Sets the arguments values used for the invocation.
- setClassName(String) - Method in class com.vaadin.swingkit.core.MethodDescription
-
Sets the class name containing the method.
- setClassType(String) - Method in class com.vaadin.swingkit.core.InvocationResponse
-
Set the fully qualified name of the type of the response.
- setData(Object) - Method in class com.vaadin.swingkit.core.InvocationResponse
-
Set the response data.
- setId(String) - Method in class com.vaadin.swingkit.core.InvocationResponse
-
Set the id of the response, which should match the id of the request.
- setId(String) - Method in class com.vaadin.swingkit.core.MethodInvocation
-
Sets the Id of the invocation.
- setMethodDescription(MethodDescription) - Method in class com.vaadin.swingkit.core.MethodInvocation
-
Sets the
MethodDescriptionof the method that will be called by the invocation. - setMethodName(String) - Method in class com.vaadin.swingkit.core.MethodDescription
-
Sets the method name.
- setReturnType(String) - Method in class com.vaadin.swingkit.core.MethodDescription
-
Sets the return type of the method as a String.
- SWING_BRIDGE_TAGNAME - Static variable in interface com.vaadin.swingkit.core.SwingVaadinConsts
-
Swing Bridge tag name
- SwingKitException - Enum in com.vaadin.swingkit.core
-
Swing Kit predefined exceptions
- SwingVaadinCallable - Interface in com.vaadin.swingkit.core
-
Empty interface to mark Swing callable interfaces that can be used in JVaadinPanel and can communicate components between Swing app and Vaadin view.
- SwingVaadinConsts - Interface in com.vaadin.swingkit.core
-
Swing Kit constants
- SwingVaadinConsts.UserAgent - Enum in com.vaadin.swingkit.core
-
User Agent enumerated
- SwingVaadinInvocation<V> - Interface in com.vaadin.swingkit.core
-
Describes a Swing Vaadin Invocation implementing the invoke method to deal with the
MethodInvocationprovided.
T
- toString() - Method in class com.vaadin.swingkit.core.InvocationResponse
- toString() - Method in class com.vaadin.swingkit.core.MethodDescription
- toString() - Method in class com.vaadin.swingkit.core.MethodInvocation
- type(String) - Method in class com.vaadin.swingkit.core.VaadinSwingEventBuilder
-
Set the type of events to create.
V
- VAADIN_EXCEPTION - Enum constant in enum com.vaadin.swingkit.core.SwingKitException
-
Exception thrown from the Vaadin side not caught by the Vaadin App
- VaadinSwingEvent - Class in com.vaadin.swingkit.core
-
Represents an event that can be sent from a Vaadin app to a Swing app.
- VaadinSwingEvent(String) - Constructor for class com.vaadin.swingkit.core.VaadinSwingEvent
-
Creates a new
VaadinSwingEventof the specified type with no parameters. - VaadinSwingEvent(String, HashMap<String, Serializable>) - Constructor for class com.vaadin.swingkit.core.VaadinSwingEvent
-
Creates a new
VaadinSwingEventof the specified type with the specified parameters. - VaadinSwingEventBuilder - Class in com.vaadin.swingkit.core
-
A builder for
VaadinSwingEventinstances. - VaadinSwingEventBuilder(String) - Constructor for class com.vaadin.swingkit.core.VaadinSwingEventBuilder
-
Creates a builder of
VaadinSwingEventobjects of a certain type. - valueOf(String) - Static method in enum com.vaadin.swingkit.core.SwingKitException
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.vaadin.swingkit.core.SwingVaadinConsts.UserAgent
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.vaadin.swingkit.core.SwingKitException
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.vaadin.swingkit.core.SwingVaadinConsts.UserAgent
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form