public enum SelectionOperation extends Enum<SelectionOperation>
UiFeatureSelectedValue.setSelection(SelectionChoice,
SelectionOperation)
Enum Constant and Description |
---|
ADD
This operation will add the indicated items to the current selection.
|
REMOVE
This operation will remove the indicated items from the current selection.
|
SET
This operation set the selection so only the indicated items are selected.
|
TOGGLE
This operation will toggle (invert) the selection of the indicated items.
|
Modifier and Type | Method and Description |
---|---|
static SelectionOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionOperation SET
public static final SelectionOperation ADD
SelectionMode.MULTIPLE_SELECTION
. Use SET
in case of
SelectionMode.SINGLE_SELECTION
.public static final SelectionOperation REMOVE
public static final SelectionOperation TOGGLE
public static SelectionOperation[] values()
for (SelectionOperation c : SelectionOperation.values()) System.out.println(c);
public static SelectionOperation 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 © 2001–2016 mmm-Team. All rights reserved.