Package | Description |
---|---|
com.vaadin.flow.component |
Modifier and Type | Method and Description |
---|---|
static PropertyDescriptor<String,String> |
PropertyDescriptors.attributeWithDefault(String name,
String defaultValue)
Creates a descriptor for an attribute of the component's root element
with a non-null default value.
|
static PropertyDescriptor<String,String> |
PropertyDescriptors.attributeWithDefault(String name,
String defaultValue,
boolean removeDefault)
Creates a descriptor for an attribute of the component's root element
with a non-null default value.
|
static PropertyDescriptor<String,Optional<String>> |
PropertyDescriptors.optionalAttributeWithDefault(String name,
String defaultValue)
Creates a descriptor for an optional attribute of the component's root
element with a non-null default value.
|
static PropertyDescriptor<String,Optional<String>> |
PropertyDescriptors.optionalAttributeWithDefault(String name,
String defaultValue,
boolean removeDefault)
Creates a descriptor for an optional attribute of the component's root
element with a non-null default value.
|
static PropertyDescriptor<Boolean,Boolean> |
PropertyDescriptors.propertyWithDefault(String name,
Boolean defaultValue)
Creates a descriptor for a property of the component's root element with
a non-null default value.
|
static PropertyDescriptor<Double,Double> |
PropertyDescriptors.propertyWithDefault(String name,
Double defaultValue)
Creates a descriptor for a property of the component's root element with
a non-null default value.
|
static PropertyDescriptor<Integer,Integer> |
PropertyDescriptors.propertyWithDefault(String name,
Integer defaultValue)
Creates a descriptor for a property of the component's root element with
a non-null default value.
|
static PropertyDescriptor<String,String> |
PropertyDescriptors.propertyWithDefault(String name,
String defaultValue)
Creates a descriptor for a property of the component's root element with
a non-null default value.
|
Modifier and Type | Method and Description |
---|---|
protected <T> T |
Component.get(PropertyDescriptor<?,T> descriptor)
Gets the value of the given component property.
|
protected <T> void |
Text.set(PropertyDescriptor<T,?> descriptor,
T value) |
protected <T> void |
Component.set(PropertyDescriptor<T,?> descriptor,
T value)
Sets the value of the given component property.
|
Copyright © 2025. All rights reserved.