public static enum SwipeActionsBehavior.SwipeActionsState extends Enum<SwipeActionsBehavior.SwipeActionsState>
SwipeActionsBehavior
.Enum Constant and Description |
---|
ACTIVE
This state indicates that the item has been reset and its dock position is different from
its original one.
|
IDLE
This state indicates that the swiped item is at its original position and no user
interaction is present.
|
RESETTING
This state indicates that the user has released the swiped item and it is being reset to its
dock position.
|
SWIPING
This state indicates that the user is currently swiping an item.
|
Modifier and Type | Method and Description |
---|---|
static SwipeActionsBehavior.SwipeActionsState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwipeActionsBehavior.SwipeActionsState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwipeActionsBehavior.SwipeActionsState IDLE
public static final SwipeActionsBehavior.SwipeActionsState SWIPING
public static final SwipeActionsBehavior.SwipeActionsState RESETTING
public static final SwipeActionsBehavior.SwipeActionsState ACTIVE
public static SwipeActionsBehavior.SwipeActionsState[] values()
for (SwipeActionsBehavior.SwipeActionsState c : SwipeActionsBehavior.SwipeActionsState.values()) System.out.println(c);
public static SwipeActionsBehavior.SwipeActionsState 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