Class ComputerScrollInput
-
- All Implemented Interfaces:
public final class ComputerScrollInputScroll the screen at the specified (x, y) pixel coordinate, or the current cursor position if
coordinateis omitted. Do NOT use PageUp/PageDown to scroll.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classComputerScrollInput.BuilderA builder for ComputerScrollInput.
-
Method Summary
Modifier and Type Method Description final LongscrollAmount()Number of 'clicks' of the scroll wheel. final ComputerScrollDirectionscrollDirection()final Optional<List<Long>>coordinate()(x, y): x pixels from the left edge, y pixels from the top edge. final Optional<String>text()Optional key combination to hold down during this action (e.g. final JsonField<Long>_scrollAmount()Returns the raw JSON value of scrollAmount. final JsonField<ComputerScrollDirection>_scrollDirection()Returns the raw JSON value of scrollDirection. final JsonField<List<Long>>_coordinate()Returns the raw JSON value of coordinate. final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final ComputerScrollInput.BuildertoBuilder()final ComputerScrollInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ComputerScrollInput.Builderbuilder()Returns a mutable builder for constructing an instance of ComputerScrollInput. -
-
Method Detail
-
scrollAmount
final Long scrollAmount()
Number of 'clicks' of the scroll wheel.
-
scrollDirection
final ComputerScrollDirection scrollDirection()
-
coordinate
final Optional<List<Long>> coordinate()
(x, y): x pixels from the left edge, y pixels from the top edge.
-
text
final Optional<String> text()
Optional key combination to hold down during this action (e.g. "ctrl", "shift", "ctrl+shift").
-
_scrollAmount
final JsonField<Long> _scrollAmount()
Returns the raw JSON value of scrollAmount.
Unlike scrollAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_scrollDirection
final JsonField<ComputerScrollDirection> _scrollDirection()
Returns the raw JSON value of scrollDirection.
Unlike scrollDirection, this method doesn't throw if the JSON field has an unexpected type.
-
_coordinate
final JsonField<List<Long>> _coordinate()
Returns the raw JSON value of coordinate.
Unlike coordinate, this method doesn't throw if the JSON field has an unexpected type.
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ComputerScrollInput.Builder toBuilder()
-
validate
final ComputerScrollInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ComputerScrollInput.Builder builder()
Returns a mutable builder for constructing an instance of ComputerScrollInput.
The following fields are required:
.scrollAmount() .scrollDirection()
-
-
-
-