virtual class vaseGui::Gesture

sys::Obj
  vaseGui::Gesture

@Js

currentState

GestureState currentState := defaultState { private set }

defaultState

GestureState defaultState := NoneState.<ctor>(this)

doubleClickTimeLimt

Int doubleClickTimeLimt := 150

firstTouchTime

Int firstTouchTime := 0

history

List<MotionEvent> history := MotionEvent[,]

lastTouchTime

Int lastTouchTime := 0

longPressTimeLimit

Int longPressTimeLimit := 600

onEvent

Void onEvent(MotionEvent e)

onFinished

virtual Void onFinished(MotionEvent e)

onGestureEvent

EventListeners onGestureEvent := EventListeners.<ctor>()

setCurrentState

Void setCurrentState(GestureState newState, MotionEvent e)

shortPressTimeLimit

Int shortPressTimeLimit := 150