Enum Class CollectionChangeType

java.lang.Object
java.lang.Enum<CollectionChangeType>
io.jmix.flowui.model.CollectionChangeType
All Implemented Interfaces:
Serializable, Comparable<CollectionChangeType>, Constable

public enum CollectionChangeType extends Enum<CollectionChangeType>
Type of a collection change event.
  • Enum Constant Details

    • REFRESH

      public static final CollectionChangeType REFRESH
      The collection was completely replaced or otherwise changed in such a way that the framework cannot determine what exactly items were added or removed.
    • ADD_ITEMS

      public static final CollectionChangeType ADD_ITEMS
      Some items were added to the collection. An event of this type contains information on what items were added.
    • REMOVE_ITEMS

      public static final CollectionChangeType REMOVE_ITEMS
      Some items were removed from the collection. An event of this type contains information on what items were removed.
    • SET_ITEM

      public static final CollectionChangeType SET_ITEM
      An item was replaced in the collection. An event of this type contains the new item.
  • Method Details

    • values

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

      public static CollectionChangeType valueOf(String name)
      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