| Package | Description |
|---|---|
| com.vaadin.generator | |
| com.vaadin.generator.metadata | |
| com.vaadin.generator.registry |
| Modifier and Type | Method and Description |
|---|---|
static String |
ComponentGeneratorUtils.generateElementApiGetterForType(ComponentBasicType basicType,
String propertyName)
Generates a code snippet that uses the
Element API to retrieve
properties from the client model. |
static String |
ComponentGeneratorUtils.generateElementApiSetterForType(ComponentBasicType basicType,
String propertyName,
String parameterName,
boolean nullable)
Generates a code snippet that uses the
Element API to set
properties to the client model. |
static String |
ComponentGeneratorUtils.generateElementApiValueGetterForType(ComponentBasicType basicType,
String propertyName)
Generates a code snippet that uses the
Element API to retrieve
properties from the client model when it implements the HasValue
contract. |
static Class<?> |
ComponentGeneratorUtils.toJavaType(ComponentBasicType type)
Converts a javascript basic type to a Java type.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentBasicType |
ComponentFunctionData.getReturns()
Gets the return type of the function.
|
static ComponentBasicType |
ComponentBasicType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentBasicType[] |
ComponentBasicType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<ComponentBasicType> |
ComponentObjectType.ComponentObjectTypeInnerType.getType()
Gets the type of the property.
|
Set<ComponentBasicType> |
ComponentPropertyBaseData.getType()
Gets the type of the property, or if property allows varying types, a
list of those.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentFunctionData.setReturns(ComponentBasicType returns)
Sets the return type of the function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentObjectType.ComponentObjectTypeInnerType.setType(List<ComponentBasicType> type)
Sets the type of the property.
|
void |
ComponentPropertyBaseData.setType(Set<ComponentBasicType> type)
Sets the type of the property, or if property allows varying types, a
list of those.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExclusionRegistry.excludePropertyType(ComponentBasicType type)
Excludes all the properties that have the given type from all the
components.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ExclusionRegistry.isPropertyExcluded(String elementTag,
String propertyName,
Set<ComponentBasicType> type)
Gets whether a property should be excluded or not from the generation.
|
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.