public enum SelectionMode extends Enum<SelectionMode>
| Enum Constant and Description |
|---|
EXTENDED
用户按下 SHIFT 键的同时可选择多个项目。
|
MULTIPLE
用户无需按下组合键便可选择多个项目。
|
SINGLE
用户一次只能选择一个项目。
|
| Modifier and Type | Method and Description |
|---|---|
static SelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionMode SINGLE
public static final SelectionMode MULTIPLE
public static final SelectionMode EXTENDED
public static SelectionMode[] values()
for (SelectionMode c : SelectionMode.values()) System.out.println(c);
public static SelectionMode 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 2009-2012 Micro Focus. All Rights Reserved.