Class BrowserScrollInput
-
- All Implemented Interfaces:
public final class BrowserScrollInputScroll at a viewport position.
targetmust be a coordinate target.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserScrollInput.BuilderA builder for BrowserScrollInput.
-
Method Summary
Modifier and Type Method Description final BrowserScrollDirectionscrollDirection()final BrowserCoordinateTargettarget()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<BrowserScrollDirection>_scrollDirection()Returns the raw JSON value of scrollDirection. final JsonField<BrowserCoordinateTarget>_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 BrowserScrollInput.BuildertoBuilder()final BrowserScrollInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserScrollInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserScrollInput. -
-
Method Detail
-
scrollDirection
final BrowserScrollDirection scrollDirection()
-
target
final BrowserCoordinateTarget 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<BrowserScrollDirection> _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<BrowserCoordinateTarget> _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 BrowserScrollInput.Builder toBuilder()
-
validate
final BrowserScrollInput 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 BrowserScrollInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserScrollInput.
The following fields are required:
.scrollDirection() .target()
-
-
-
-