Class BrowserLeftMouseDownInput
-
- All Implemented Interfaces:
public final class BrowserLeftMouseDownInputPress and hold the left mouse button at a viewport coordinate. Pair with left_mouse_up to perform a custom drag.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserLeftMouseDownInput.BuilderA builder for BrowserLeftMouseDownInput.
-
Method Summary
Modifier and Type Method Description final BrowserCoordinateTargettarget()A point in the browser viewport, in viewport pixels (the same frame as a full-viewport screenshot). final Optional<String>tabId()Tab to act on. final JsonField<BrowserCoordinateTarget>_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 BrowserLeftMouseDownInput.BuildertoBuilder()final BrowserLeftMouseDownInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserLeftMouseDownInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserLeftMouseDownInput. final static BrowserLeftMouseDownInputof(BrowserCoordinateTarget target)Returns an immutable instance of BrowserLeftMouseDownInput with the required target set to the given value. -
-
Method Detail
-
target
final BrowserCoordinateTarget target()
A point in the browser viewport, in viewport pixels (the same frame as a full-viewport screenshot).
-
_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.
-
_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 BrowserLeftMouseDownInput.Builder toBuilder()
-
validate
final BrowserLeftMouseDownInput 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 BrowserLeftMouseDownInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserLeftMouseDownInput.
The following fields are required:
.target()
-
of
final static BrowserLeftMouseDownInput of(BrowserCoordinateTarget target)
Returns an immutable instance of BrowserLeftMouseDownInput with the required target set to the given value.
-
-
-
-