public static enum PatchedExpandableListAdapter.ChoiceMode extends Enum<PatchedExpandableListAdapter.ChoiceMode>
ExpandableListView
.
While similar to those found within AbsListView
they are not
equivalent.setChoiceMode()
Enum Constant and Description |
---|
MULTIPLE
The ExpandableListView allows multiple choices.
|
MULTIPLE_MODAL
The ExpandableListView allows multiple choices in a modal selection mode.
|
NONE
Normal ExpandableListView that does not indicate choices.
|
SINGLE
The ExpandableListView allows up to one choice.
|
SINGLE_MODAL
The ExpandableListView allows up to one choice in a modal selection mode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDisabled() |
boolean |
isModal() |
boolean |
isMultiple() |
boolean |
isSingle() |
static PatchedExpandableListAdapter.ChoiceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchedExpandableListAdapter.ChoiceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchedExpandableListAdapter.ChoiceMode NONE
public static final PatchedExpandableListAdapter.ChoiceMode SINGLE
public static final PatchedExpandableListAdapter.ChoiceMode SINGLE_MODAL
public static final PatchedExpandableListAdapter.ChoiceMode MULTIPLE
public static final PatchedExpandableListAdapter.ChoiceMode MULTIPLE_MODAL
public static PatchedExpandableListAdapter.ChoiceMode[] values()
for (PatchedExpandableListAdapter.ChoiceMode c : PatchedExpandableListAdapter.ChoiceMode.values()) System.out.println(c);
public static PatchedExpandableListAdapter.ChoiceMode 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 nullpublic boolean isDisabled()
public boolean isModal()
public boolean isMultiple()
public boolean isSingle()