public enum RefreshState extends java.lang.Enum<RefreshState>
Enum Constant and Description |
---|
LoadFinish |
Loading |
LoadReleased |
None |
PullDownCanceled |
PullDownToRefresh |
PullUpCanceled |
PullUpToLoad |
RefreshFinish |
Refreshing |
RefreshReleased |
ReleaseToLoad |
ReleaseToRefresh |
ReleaseToTwoLevel |
TwoLevel |
TwoLevelFinish |
TwoLevelReleased |
Modifier and Type | Field and Description |
---|---|
boolean |
isDragging |
boolean |
isFinishing |
boolean |
isFooter |
boolean |
isHeader |
boolean |
isOpening |
boolean |
isReleaseToOpening |
boolean |
isTwoLevel |
Modifier and Type | Method and Description |
---|---|
RefreshState |
toFooter() |
RefreshState |
toHeader() |
static RefreshState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RefreshState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefreshState None
public static final RefreshState PullDownToRefresh
public static final RefreshState PullUpToLoad
public static final RefreshState PullDownCanceled
public static final RefreshState PullUpCanceled
public static final RefreshState ReleaseToRefresh
public static final RefreshState ReleaseToLoad
public static final RefreshState ReleaseToTwoLevel
public static final RefreshState TwoLevelReleased
public static final RefreshState RefreshReleased
public static final RefreshState LoadReleased
public static final RefreshState Refreshing
public static final RefreshState Loading
public static final RefreshState TwoLevel
public static final RefreshState RefreshFinish
public static final RefreshState LoadFinish
public static final RefreshState TwoLevelFinish
public final boolean isHeader
public final boolean isFooter
public final boolean isTwoLevel
public final boolean isDragging
public final boolean isOpening
public final boolean isFinishing
public final boolean isReleaseToOpening
public static RefreshState[] values()
for (RefreshState c : RefreshState.values()) System.out.println(c);
public static RefreshState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic RefreshState toFooter()
public RefreshState toHeader()