Class BetaComputerScrollInput.Builder
-
- All Implemented Interfaces:
public final class BetaComputerScrollInput.BuilderA builder for BetaComputerScrollInput.
-
-
Method Summary
-
-
Method Detail
-
scrollAmount
final BetaComputerScrollInput.Builder scrollAmount(Long scrollAmount)
Number of 'clicks' of the scroll wheel.
-
scrollAmount
final BetaComputerScrollInput.Builder scrollAmount(JsonField<Long> scrollAmount)
Sets Builder.scrollAmount to an arbitrary JSON value.
You should usually call Builder.scrollAmount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scrollDirection
final BetaComputerScrollInput.Builder scrollDirection(BetaComputerScrollDirection scrollDirection)
-
scrollDirection
final BetaComputerScrollInput.Builder scrollDirection(JsonField<BetaComputerScrollDirection> scrollDirection)
Sets Builder.scrollDirection to an arbitrary JSON value.
You should usually call Builder.scrollDirection with a well-typed BetaComputerScrollDirection value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
coordinate
final BetaComputerScrollInput.Builder coordinate(List<Long> coordinate)
(x, y): x pixels from the left edge, y pixels from the top edge.
-
coordinate
final BetaComputerScrollInput.Builder coordinate(Optional<List<Long>> coordinate)
Alias for calling Builder.coordinate with
coordinate.orElse(null).
-
coordinate
final BetaComputerScrollInput.Builder coordinate(JsonField<List<Long>> coordinate)
Sets Builder.coordinate to an arbitrary JSON value.
You should usually call Builder.coordinate with a well-typed
List<Long>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
text
final BetaComputerScrollInput.Builder text(String text)
Optional key combination to hold down during this action (e.g. "ctrl", "shift", "ctrl+shift").
-
text
final BetaComputerScrollInput.Builder text(Optional<String> text)
Alias for calling Builder.text with
text.orElse(null).
-
text
final BetaComputerScrollInput.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaComputerScrollInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addCoordinate
final BetaComputerScrollInput.Builder addCoordinate(Long coordinate)
Adds a single Long to Builder.coordinate.
-
putAdditionalProperty
final BetaComputerScrollInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaComputerScrollInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaComputerScrollInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaComputerScrollInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaComputerScrollInput build()
Returns an immutable instance of BetaComputerScrollInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.scrollAmount() .scrollDirection()
-
-
-
-