Class BrowserMiddleClickInput
-
- All Implemented Interfaces:
public final class BrowserMiddleClickInputMiddle-click at a viewport coordinate or on an element by reference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserMiddleClickInput.BuilderA builder for BrowserMiddleClickInput.
-
Method Summary
Modifier and Type Method Description final BrowserClickTargettarget()Where to act: either a viewport coordinate or an element reference. final Optional<String>modifiers()Optional modifier key chord to hold for the duration of this action (e.g. final Optional<String>tabId()Tab to act on. final JsonField<BrowserClickTarget>_target()Returns the raw JSON value of target. final JsonField<String>_modifiers()Returns the raw JSON value of modifiers. final JsonField<String>_tabId()Returns the raw JSON value of tabId. final Map<String, JsonValue>_additionalProperties()final BrowserMiddleClickInput.BuildertoBuilder()final BrowserMiddleClickInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserMiddleClickInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserMiddleClickInput. final static BrowserMiddleClickInputof(BrowserClickTarget target)Returns an immutable instance of BrowserMiddleClickInput with the required target set to the given value. final static BrowserMiddleClickInputof(BrowserCoordinateTarget coordinate)Alias for calling of with BrowserClickTarget.ofCoordinate(coordinate).final static BrowserMiddleClickInputof(BrowserRefTarget ref)Alias for calling of with BrowserClickTarget.ofRef(ref).-
-
Method Detail
-
target
final BrowserClickTarget target()
Where to act: either a viewport coordinate or an element reference.
-
modifiers
final Optional<String> modifiers()
Optional modifier key chord to hold for the duration of this action (e.g. "shift", "ctrl+shift", "cmd+alt").
-
_target
final JsonField<BrowserClickTarget> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_modifiers
final JsonField<String> _modifiers()
Returns the raw JSON value of modifiers.
Unlike modifiers, 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 BrowserMiddleClickInput.Builder toBuilder()
-
validate
final BrowserMiddleClickInput 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 BrowserMiddleClickInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserMiddleClickInput.
The following fields are required:
.target()
-
of
final static BrowserMiddleClickInput of(BrowserClickTarget target)
Returns an immutable instance of BrowserMiddleClickInput with the required target set to the given value.
-
of
final static BrowserMiddleClickInput of(BrowserCoordinateTarget coordinate)
Alias for calling of with
BrowserClickTarget.ofCoordinate(coordinate).
-
of
final static BrowserMiddleClickInput of(BrowserRefTarget ref)
Alias for calling of with
BrowserClickTarget.ofRef(ref).
-
-
-
-