protected class OverScrollBounceEffectDecoratorBase.IdleState extends java.lang.Object implements OverScrollBounceEffectDecoratorBase.IDecoratorState
Constructor and Description |
---|
IdleState() |
Modifier and Type | Method and Description |
---|---|
int |
getStateId()
The client-perspective ID of the state associated with this (internal) one.
|
void |
handleEntryTransition(OverScrollBounceEffectDecoratorBase.IDecoratorState fromState)
Handle a transition onto this state, as it becomes 'current' state.
|
boolean |
handleMoveTouchEvent(android.view.MotionEvent event)
Handle a motion (touch) event.
|
boolean |
handleUpOrCancelTouchEvent(android.view.MotionEvent event)
Handle up / touch-cancel events.
|
public int getStateId()
OverScrollBounceEffectDecoratorBase.IDecoratorState
me.everything.android.ui.overscroll.IOverScrollState
.getStateId
in interface OverScrollBounceEffectDecoratorBase.IDecoratorState
IOverScrollState.STATE_IDLE
.public boolean handleMoveTouchEvent(android.view.MotionEvent event)
OverScrollBounceEffectDecoratorBase.IDecoratorState
handleMoveTouchEvent
in interface OverScrollBounceEffectDecoratorBase.IDecoratorState
event
- The event from onTouch.public boolean handleUpOrCancelTouchEvent(android.view.MotionEvent event)
OverScrollBounceEffectDecoratorBase.IDecoratorState
handleUpOrCancelTouchEvent
in interface OverScrollBounceEffectDecoratorBase.IDecoratorState
event
- The event from onTouch.public void handleEntryTransition(OverScrollBounceEffectDecoratorBase.IDecoratorState fromState)
OverScrollBounceEffectDecoratorBase.IDecoratorState
handleEntryTransition
in interface OverScrollBounceEffectDecoratorBase.IDecoratorState