Class BrowserMiddleClickInput.Builder
-
- All Implemented Interfaces:
public final class BrowserMiddleClickInput.BuilderA builder for BrowserMiddleClickInput.
-
-
Method Summary
-
-
Method Detail
-
target
final BrowserMiddleClickInput.Builder target(BrowserClickTarget target)
Where to act: either a viewport coordinate or an element reference.
-
target
final BrowserMiddleClickInput.Builder target(JsonField<BrowserClickTarget> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed BrowserClickTarget value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
target
final BrowserMiddleClickInput.Builder target(BrowserCoordinateTarget coordinate)
Alias for calling target with
BrowserClickTarget.ofCoordinate(coordinate).
-
target
final BrowserMiddleClickInput.Builder target(BrowserRefTarget ref)
Alias for calling target with
BrowserClickTarget.ofRef(ref).
-
modifiers
final BrowserMiddleClickInput.Builder modifiers(String modifiers)
Optional modifier key chord to hold for the duration of this action (e.g. "shift", "ctrl+shift", "cmd+alt").
-
modifiers
final BrowserMiddleClickInput.Builder modifiers(Optional<String> modifiers)
Alias for calling Builder.modifiers with
modifiers.orElse(null).
-
modifiers
final BrowserMiddleClickInput.Builder modifiers(JsonField<String> modifiers)
Sets Builder.modifiers to an arbitrary JSON value.
You should usually call Builder.modifiers with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tabId
final BrowserMiddleClickInput.Builder tabId(String tabId)
Tab to act on. Defaults to the active tab when omitted.
-
tabId
final BrowserMiddleClickInput.Builder tabId(Optional<String> tabId)
Alias for calling Builder.tabId with
tabId.orElse(null).
-
tabId
final BrowserMiddleClickInput.Builder tabId(JsonField<String> tabId)
Sets Builder.tabId to an arbitrary JSON value.
You should usually call Builder.tabId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BrowserMiddleClickInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
refTarget
final BrowserMiddleClickInput.Builder refTarget(String ref)
Alias for calling target with the following:
BrowserRefTarget.builder() .ref(ref) .build()
-
putAdditionalProperty
final BrowserMiddleClickInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrowserMiddleClickInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrowserMiddleClickInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrowserMiddleClickInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrowserMiddleClickInput build()
Returns an immutable instance of BrowserMiddleClickInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.target()
-
-
-
-