Enum Class ClientUpdateMode

java.lang.Object
java.lang.Enum<ClientUpdateMode>
com.vaadin.flow.templatemodel.ClientUpdateMode
All Implemented Interfaces:
Serializable, Comparable<ClientUpdateMode>, Constable

@Deprecated public enum ClientUpdateMode extends Enum<ClientUpdateMode>
Deprecated.
Template model and polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog.
A mode for whether a model property may be updated from the client.
Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Enum Constant Details

    • ALLOW

      public static final ClientUpdateMode ALLOW
      Deprecated.
      Always allow updating the property.
    • DENY

      public static final ClientUpdateMode DENY
      Deprecated.
      Never allow updating the property.
    • IF_TWO_WAY_BINDING

      public static final ClientUpdateMode 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

      public static ClientUpdateMode[] 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

      public static ClientUpdateMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null