Package io.jmix.flowui.model
Enum Class CollectionChangeType
- All Implemented Interfaces:
Serializable
,Comparable<CollectionChangeType>
,Constable
Describes the type of collection change event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSome items were added to the collection.The collection was completely replaced or otherwise changed in such a way that the framework cannot determine what exactly items were added or removed.Some items were removed from the collection.An item was replaced in the collection. -
Method Summary
Modifier and TypeMethodDescriptionstatic CollectionChangeType
Returns the enum constant of this class with the specified name.static CollectionChangeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Some items were added to the collection. An event of this type contains information on what items were added. -
REMOVE_ITEMS
Some items were removed from the collection. An event of this type contains information on what items were removed. -
SET_ITEM
An item was replaced in the collection. An event of this type contains the new item.
-
-
Method Details
-
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
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
-