Class BrowserScrollToInput
-
- All Implemented Interfaces:
public final class BrowserScrollToInputScroll an element into view.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserScrollToInput.BuilderA builder for BrowserScrollToInput.
-
Method Summary
Modifier and Type Method Description final BrowserRefTargettarget()An element on the page, identified by a reference from a prior read_pageorfindresult.final Optional<String>tabId()Tab to act on. final JsonField<BrowserRefTarget>_target()Returns the raw JSON value of target. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserScrollToInput.BuildertoBuilder()final BrowserScrollToInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserScrollToInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserScrollToInput. final static BrowserScrollToInputof(BrowserRefTarget target)Returns an immutable instance of BrowserScrollToInput with the required target set to the given value. -
-
Method Detail
-
target
final BrowserRefTarget target()
An element on the page, identified by a reference from a prior
read_pageorfindresult. References are scoped to the tab that produced them and become stale after navigation or a major re-render.
-
_target
final JsonField<BrowserRefTarget> _target()
Returns the raw JSON value of target.
Unlike target, 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 BrowserScrollToInput.Builder toBuilder()
-
validate
final BrowserScrollToInput 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 BrowserScrollToInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserScrollToInput.
The following fields are required:
.target()
-
of
final static BrowserScrollToInput of(BrowserRefTarget target)
Returns an immutable instance of BrowserScrollToInput with the required target set to the given value.
-
-
-
-