-
public final class SynthesizeScrollGestureRequestRequest object containing input parameters for the InputDomain.synthesizeScrollGesture command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Doublexprivate final Doubleyprivate final DoublexDistanceprivate final DoubleyDistanceprivate final DoublexOverscrollprivate final DoubleyOverscrollprivate final BooleanpreventFlingprivate final Integerspeedprivate final GestureSourceTypegestureSourceTypeprivate final IntegerrepeatCountprivate final IntegerrepeatDelayMsprivate final StringinteractionMarkerName
-
Constructor Summary
Constructors Constructor Description SynthesizeScrollGestureRequest(Double x, Double y, Double xDistance, Double yDistance, Double xOverscroll, Double yOverscroll, Boolean preventFling, Integer speed, GestureSourceType gestureSourceType, Integer repeatCount, Integer repeatDelayMs, String interactionMarkerName)
-
Method Summary
Modifier and Type Method Description final Doublecomponent1()final Doublecomponent2()final Doublecomponent3()final Doublecomponent4()final Doublecomponent5()final Doublecomponent6()final Booleancomponent7()final Integercomponent8()final GestureSourceTypecomponent9()final Integercomponent10()final Integercomponent11()final Stringcomponent12()final SynthesizeScrollGestureRequestcopy(Double x, Double y, Double xDistance, Double yDistance, Double xOverscroll, Double yOverscroll, Boolean preventFling, Integer speed, GestureSourceType gestureSourceType, Integer repeatCount, Integer repeatDelayMs, String interactionMarkerName)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 DoublegetXDistance()The distance to scroll along the X axis (positive to scroll left). final DoublegetYDistance()The distance to scroll along the Y axis (positive to scroll up). final DoublegetXOverscroll()The number of additional pixels to scroll back along the X axis, in addition to the given distance. final DoublegetYOverscroll()The number of additional pixels to scroll back along the Y axis, in addition to the given distance. final BooleangetPreventFling()Prevent fling (default: true). final IntegergetSpeed()Swipe speed in pixels per second (default: 800). final GestureSourceTypegetGestureSourceType()Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). final IntegergetRepeatCount()The number of times to repeat the gesture (default: 0). final IntegergetRepeatDelayMs()The number of milliseconds delay between each repeat. final StringgetInteractionMarkerName()The name of the interaction markers to generate, if not empty (default: ""). -
-
Constructor Detail
-
SynthesizeScrollGestureRequest
SynthesizeScrollGestureRequest(Double x, Double y, Double xDistance, Double yDistance, Double xOverscroll, Double yOverscroll, Boolean preventFling, Integer speed, GestureSourceType gestureSourceType, Integer repeatCount, Integer repeatDelayMs, String interactionMarkerName)
-
-
Method Detail
-
component1
final Double component1()
-
component2
final Double component2()
-
component3
final Double component3()
-
component4
final Double component4()
-
component5
final Double component5()
-
component6
final Double component6()
-
component7
final Boolean component7()
-
component8
final Integer component8()
-
component9
final GestureSourceType component9()
-
component10
final Integer component10()
-
component11
final Integer component11()
-
component12
final String component12()
-
copy
final SynthesizeScrollGestureRequest copy(Double x, Double y, Double xDistance, Double yDistance, Double xOverscroll, Double yOverscroll, Boolean preventFling, Integer speed, GestureSourceType gestureSourceType, Integer repeatCount, Integer repeatDelayMs, String interactionMarkerName)
-
getXDistance
final Double getXDistance()
The distance to scroll along the X axis (positive to scroll left).
-
getYDistance
final Double getYDistance()
The distance to scroll along the Y axis (positive to scroll up).
-
getXOverscroll
final Double getXOverscroll()
The number of additional pixels to scroll back along the X axis, in addition to the given distance.
-
getYOverscroll
final Double getYOverscroll()
The number of additional pixels to scroll back along the Y axis, in addition to the given distance.
-
getPreventFling
final Boolean getPreventFling()
Prevent fling (default: true).
-
getGestureSourceType
final GestureSourceType getGestureSourceType()
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
-
getRepeatCount
final Integer getRepeatCount()
The number of times to repeat the gesture (default: 0).
-
getRepeatDelayMs
final Integer getRepeatDelayMs()
The number of milliseconds delay between each repeat. (default: 250).
-
getInteractionMarkerName
final String getInteractionMarkerName()
The name of the interaction markers to generate, if not empty (default: "").
-
-
-
-