Class BetaComputerScrollInput
-
- All Implemented Interfaces:
public final class BetaComputerScrollInputScroll 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 classBetaComputerScrollInput.BuilderA builder for BetaComputerScrollInput.
-
Method Summary
Modifier and Type Method Description final LongscrollAmount()Number of 'clicks' of the scroll wheel. final BetaComputerScrollDirectionscrollDirection()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<BetaComputerScrollDirection>_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 BetaComputerScrollInput.BuildertoBuilder()final BetaComputerScrollInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaComputerScrollInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaComputerScrollInput. -
-
Method Detail
-
scrollAmount
final Long scrollAmount()
Number of 'clicks' of the scroll wheel.
-
scrollDirection
final BetaComputerScrollDirection 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<BetaComputerScrollDirection> _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 BetaComputerScrollInput.Builder toBuilder()
-
validate
final BetaComputerScrollInput 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 BetaComputerScrollInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaComputerScrollInput.
The following fields are required:
.scrollAmount() .scrollDirection()
-
-
-
-