Enum Class SelectionChangeListener.SelectionChange.SelectionChangeType
java.lang.Object
java.lang.Enum<SelectionChangeListener.SelectionChange.SelectionChangeType>
de.bernd_michaely.common.desktop.fx.collections.selection.SelectionChangeListener.SelectionChange.SelectionChangeType
- All Implemented Interfaces:
Serializable
,Comparable<SelectionChangeListener.SelectionChange.SelectionChangeType>
,Constable
- Enclosing class:
- SelectionChangeListener.SelectionChange<E>
public static enum SelectionChangeListener.SelectionChange.SelectionChangeType
extends Enum<SelectionChangeListener.SelectionChange.SelectionChangeType>
Enum to describe details about the kind of selection change.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA complex selection change has happened, changing the selection state of more than one item.A single list item has been changed from selected to unselected state.A single list item has been changed from unselected to selected state. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true, if the change is a single change.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE_INCREMENT
A single list item has been changed from unselected to selected state. -
SINGLE_DECREMENT
A single list item has been changed from selected to unselected state. -
COMPLEX_CHANGE
A complex selection change has happened, changing the selection state of more than one 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
-
isSingleChange
public boolean isSingleChange()Returns true, if the change is a single change.- Returns:
- true, if the change is a single change
-