Package com.vaadin.swingkit.core
Class MethodDescription
java.lang.Object
com.vaadin.swingkit.core.MethodDescription
- All Implemented Interfaces:
Serializable
Describes a method that could be invoke from Swing app to a Vaadin View
integrated in a JVaadinPanel. Provides method and class names and the return
and arguments types.
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]Gets the types of the arguments of the method as an array of Strings.Gets the class name containing the method.Gets the method name.Gets the return type of the method as a String.inthashCode()voidsetArgTypes(String[] argTypes) Sets the types of the arguments of the method as an array of Strings.voidsetClassName(String className) Sets the class name containing the method.voidsetMethodName(String methodName) Sets the method name.voidsetReturnType(String returnType) Sets the return type of the method as a String.toString()
-
Constructor Details
-
MethodDescription
public MethodDescription()
-
-
Method Details
-
getMethodName
Gets the method name.- Returns:
- Method name as a String
-
getClassName
Gets the class name containing the method.- Returns:
- The class name of the class containing the method.
-
setClassName
Sets the class name containing the method.- Parameters:
className- The class name containing the method as String.
-
setMethodName
Sets the method name.- Parameters:
methodName- The method name.
-
getReturnType
Gets the return type of the method as a String.- Returns:
- The method type as a String.
-
setReturnType
Sets the return type of the method as a String.- Parameters:
returnType- The return type of the method as a String.
-
getArgTypes
Gets the types of the arguments of the method as an array of Strings.- Returns:
- The types of the arguments of the method as an array of Strings
-
setArgTypes
Sets the types of the arguments of the method as an array of Strings.- Parameters:
argTypes- The types of the arguments of the method as an array of Strings.
-
equals
-
hashCode
public int hashCode() -
toString
-