-
public final class SynthesizeTapGestureRequestRequest object containing input parameters for the InputDomain.synthesizeTapGesture command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Doublexprivate final Doubleyprivate final Integerdurationprivate final IntegertapCountprivate final GestureSourceTypegestureSourceType
-
Constructor Summary
Constructors Constructor Description SynthesizeTapGestureRequest(Double x, Double y, Integer duration, Integer tapCount, GestureSourceType gestureSourceType)
-
Method Summary
Modifier and Type Method Description final Doublecomponent1()final Doublecomponent2()final Integercomponent3()final Integercomponent4()final GestureSourceTypecomponent5()final SynthesizeTapGestureRequestcopy(Double x, Double y, Integer duration, Integer tapCount, GestureSourceType gestureSourceType)final DoublegetX()X coordinate of the start of the gesture in CSS pixels. final DoublegetY()Y coordinate of the start of the gesture in CSS pixels. final IntegergetDuration()Duration between touchdown and touchup events in ms (default: 50). final IntegergetTapCount()Number of times to perform the tap (e.g. final GestureSourceTypegetGestureSourceType()Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). -
-
Constructor Detail
-
SynthesizeTapGestureRequest
SynthesizeTapGestureRequest(Double x, Double y, Integer duration, Integer tapCount, GestureSourceType gestureSourceType)
-
-
Method Detail
-
component1
final Double component1()
-
component2
final Double component2()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
component5
final GestureSourceType component5()
-
copy
final SynthesizeTapGestureRequest copy(Double x, Double y, Integer duration, Integer tapCount, GestureSourceType gestureSourceType)
-
getDuration
final Integer getDuration()
Duration between touchdown and touchup events in ms (default: 50).
-
getTapCount
final Integer getTapCount()
Number of times to perform the tap (e.g. 2 for double tap, default: 1).
-
getGestureSourceType
final GestureSourceType getGestureSourceType()
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
-
-
-
-