Class BetaBrowserScrollInput
-
- All Implemented Interfaces:
public final class BetaBrowserScrollInputScroll at a viewport position.
targetmust be a coordinate target.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaBrowserScrollInput.BuilderA builder for BetaBrowserScrollInput.
-
Method Summary
Modifier and Type Method Description final BetaBrowserScrollDirectionscrollDirection()final BetaBrowserCoordinateTargettarget()A point in the browser viewport, in viewport pixels (the same frame as a full-viewport screenshot). final Optional<Long>scrollAmount()Scroll-wheel notches (1–10). final Optional<String>tabId()Tab to act on. final JsonField<BetaBrowserScrollDirection>_scrollDirection()Returns the raw JSON value of scrollDirection. final JsonField<BetaBrowserCoordinateTarget>_target()Returns the raw JSON value of target. final JsonField<Long>_scrollAmount()Returns the raw JSON value of scrollAmount. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BetaBrowserScrollInput.BuildertoBuilder()final BetaBrowserScrollInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaBrowserScrollInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaBrowserScrollInput. -
-
Method Detail
-
scrollDirection
final BetaBrowserScrollDirection scrollDirection()
-
target
final BetaBrowserCoordinateTarget target()
A point in the browser viewport, in viewport pixels (the same frame as a full-viewport screenshot).
-
scrollAmount
final Optional<Long> scrollAmount()
Scroll-wheel notches (1–10). Default 3.
-
_scrollDirection
final JsonField<BetaBrowserScrollDirection> _scrollDirection()
Returns the raw JSON value of scrollDirection.
Unlike scrollDirection, this method doesn't throw if the JSON field has an unexpected type.
-
_target
final JsonField<BetaBrowserCoordinateTarget> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_tabId
final JsonField<String> _tabId()
Returns the raw JSON value of tabId.
Unlike tabId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaBrowserScrollInput.Builder toBuilder()
-
validate
final BetaBrowserScrollInput 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 BetaBrowserScrollInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaBrowserScrollInput.
The following fields are required:
.scrollDirection() .target()
-
-
-
-