Package com.vaadin.copilot
Enum Class ComponentPropertyType
- All Implemented Interfaces:
Serializable,Comparable<ComponentPropertyType>,Constable
Property types that properties panel supports
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentPropertyTypeReturns theComponentPropertyTypecorresponding to the given Java type name.static ComponentPropertyTypeReturns the enum constant of this class with the specified name.static ComponentPropertyType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTEGER
-
STRING
-
BOOLEAN
-
DOUBLE
-
LONG
-
FLOAT
-
SHORT
-
BYTE
-
CHARACTER
-
BIG_DECIMAL
-
BIG_INTEGER
-
ENUM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
find
Returns theComponentPropertyTypecorresponding to the given Java type name.This method searches the available
ComponentPropertyTypeenum values to find a match where the enum's name exactly equals the providedjavaTypestring. If the input isnullor no matching enum constant is found, the method returnsnull.- Parameters:
javaType- the name of the Java type to find a matchingComponentPropertyTypefor; may benull- Returns:
- the matching
ComponentPropertyTypeif found; otherwisenull
-