public static enum EntitySelection.State extends Enum<EntitySelection.State>
Enum Constant and Description |
---|
DESELECTED
If a user deselected it.
|
SELECTED
If a user selected it.
|
UNKNOWN
Default state.
|
Modifier and Type | Method and Description |
---|---|
static EntitySelection.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntitySelection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntitySelection.State SELECTED
public static final EntitySelection.State DESELECTED
public static final EntitySelection.State UNKNOWN
EntitySelection.isSelected()
.public static EntitySelection.State[] values()
for (EntitySelection.State c : EntitySelection.State.values()) System.out.println(c);
public static EntitySelection.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2021 XWiki. All rights reserved.