Package com.vaadin.flow.templatemodel
Enum Class ClientUpdateMode
- All Implemented Interfaces:
Serializable,Comparable<ClientUpdateMode>,Constable
Deprecated.
A mode for whether a model property may be updated from the client.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Always allow updating the property.Deprecated.Never allow updating the property.Deprecated.Allow updating the property if there is a corresponding two-way binding in the template. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientUpdateModeDeprecated.Returns the enum constant of this class with the specified name.static ClientUpdateMode[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOW
Deprecated.Always allow updating the property. -
DENY
Deprecated.Never allow updating the property. -
IF_TWO_WAY_BINDING
Deprecated.Allow updating the property if there is a corresponding two-way binding in the template. This is the default mode that is used if nothing else has been defined for a property.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
LitTemplateinstead. Read more details from the Vaadin blog.