Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractPositionGesture<V>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly delegate

delegate: null | PositionGestureDelegate

Readonly hoverCount

hoverCount: number

Readonly inputCount

inputCount: number

Readonly inputs

inputs: {}

Type declaration

Readonly pressCount

pressCount: number

Readonly view

view: null | V

Methods

Protected attachEvents

  • attachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected attachHoverEvents

  • attachHoverEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected attachPressEvents

  • attachPressEvents(view: V): void
  • Parameters

    • view: V

    Returns void

beginHover

  • Parameters

    Returns void

beginPress

  • Parameters

    Returns void

cancelPress

  • Parameters

    Returns void

Protected clearInput

  • Parameters

    Returns void

Protected createInput

  • Parameters

    • inputId: string
    • inputType: GestureInputType
    • isPrimary: boolean
    • x: number
    • y: number
    • t: number

    Returns PositionGestureInput

Protected detachEvents

  • detachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected detachHoverEvents

  • detachHoverEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected detachPressEvents

  • detachPressEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected didBeginHover

  • Parameters

    Returns void

Protected didBeginPress

  • Parameters

    Returns void

Protected didCancelPress

  • Parameters

    Returns void

Protected didEndHover

  • Parameters

    Returns void

Protected didEndPress

  • Parameters

    Returns void

Protected didLongPress

  • Parameters

    Returns void

Protected didMovePress

  • Parameters

    Returns void

Protected didPress

  • Parameters

    Returns void

Protected didStartHovering

  • didStartHovering(): void
  • Returns void

Protected didStartPressing

  • didStartPressing(): void
  • Returns void

Protected didStopHovering

  • didStopHovering(): void
  • Returns void

Protected didStopPressing

  • didStopPressing(): void
  • Returns void

endHover

  • Parameters

    Returns void

endPress

  • Parameters

    Returns void

getInput

  • Parameters

    • inputId: string | number

    Returns null | PositionGestureInput

Protected getOrCreateInput

  • Parameters

    • inputId: string | number
    • inputType: GestureInputType
    • isPrimary: boolean
    • x: number
    • y: number
    • t: number

    Returns PositionGestureInput

Protected initView

  • initView(view: null | V): void
  • Parameters

    • view: null | V

    Returns void

isHovering

  • isHovering(): boolean
  • Returns boolean

isPressing

  • isPressing(): boolean
  • Returns boolean

longPress

  • Parameters

    Returns void

movePress

  • Parameters

    Returns void

Protected onBeginHover

  • Parameters

    Returns void

Protected onBeginPress

  • Parameters

    Returns void

Protected onCancelPress

  • Parameters

    Returns void

Protected onEndHover

  • Parameters

    Returns void

Protected onEndPress

  • Parameters

    Returns void

Protected onLongPress

  • Parameters

    Returns void

Protected onMovePress

  • Parameters

    Returns void

Protected onPress

  • Parameters

    Returns void

Protected onStartHovering

  • onStartHovering(): void
  • Returns void

Protected onStartPressing

  • onStartPressing(): void
  • Returns void

Protected onStopHovering

  • onStopHovering(): void
  • Returns void

Protected onStopPressing

  • onStopPressing(): void
  • Returns void

press

  • Parameters

    Returns void

setDelegate

  • Parameters

    Returns void

setView

  • setView(newView: null | V): void
  • Parameters

    • newView: null | V

    Returns void

Protected startHovering

  • startHovering(): void
  • Returns void

Protected startPressing

  • startPressing(): void
  • Returns void

Protected stopHovering

  • stopHovering(): void
  • Returns void

Protected stopPressing

  • stopPressing(): void
  • Returns void

viewDidMount

  • viewDidMount(view: V): void
  • Parameters

    • view: V

    Returns void

viewWillUnmount

  • viewWillUnmount(view: V): void
  • Parameters

    • view: V

    Returns void

Protected willBeginHover

  • Parameters

    Returns void

Protected willBeginPress

  • Parameters

    Returns boolean

Protected willCancelPress

  • Parameters

    Returns void

Protected willEndHover

  • Parameters

    Returns void

Protected willEndPress

  • Parameters

    Returns void

Protected willLongPress

  • Parameters

    Returns void

Protected willMovePress

  • Parameters

    Returns void

Protected willPress

  • Parameters

    Returns void

Protected willStartHovering

  • willStartHovering(): void
  • Returns void

Protected willStartPressing

  • willStartPressing(): void
  • Returns void

Protected willStopHovering

  • willStopHovering(): void
  • Returns void

Protected willStopPressing

  • willStopPressing(): void
  • Returns void

Generated using TypeDoc