public static enum TextSelection.TextSelectionTrigger extends Enum<TextSelection.TextSelectionTrigger>
| Enum Constant and Description |
|---|
LongPress
Text selection is triggered by a long press on some text.
|
Press
TextSelection is triggered by a pointer press and drag.
|
| Modifier and Type | Method and Description |
|---|---|
static TextSelection.TextSelectionTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextSelection.TextSelectionTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOfpublic static final TextSelection.TextSelectionTrigger Press
public static final TextSelection.TextSelectionTrigger LongPress
public static TextSelection.TextSelectionTrigger[] values()
for (TextSelection.TextSelectionTrigger c : TextSelection.TextSelectionTrigger.values()) System.out.println(c);
public static TextSelection.TextSelectionTrigger 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 null