Class BrowserHoverInput
-
- All Implemented Interfaces:
public final class BrowserHoverInputMove the cursor to a coordinate or element without clicking.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserHoverInput.BuilderA builder for BrowserHoverInput.
-
Method Summary
Modifier and Type Method Description final BrowserClickTargettarget()Where to act: either a viewport coordinate or an element reference. final Optional<String>tabId()Tab to act on. final JsonField<BrowserClickTarget>_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 BrowserHoverInput.BuildertoBuilder()final BrowserHoverInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserHoverInput.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserHoverInput. final static BrowserHoverInputof(BrowserClickTarget target)Returns an immutable instance of BrowserHoverInput with the required target set to the given value. final static BrowserHoverInputof(BrowserCoordinateTarget coordinate)Alias for calling of with BrowserClickTarget.ofCoordinate(coordinate).final static BrowserHoverInputof(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.
-
_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.
-
_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 BrowserHoverInput.Builder toBuilder()
-
validate
final BrowserHoverInput 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 BrowserHoverInput.Builder builder()
Returns a mutable builder for constructing an instance of BrowserHoverInput.
The following fields are required:
.target()
-
of
final static BrowserHoverInput of(BrowserClickTarget target)
Returns an immutable instance of BrowserHoverInput with the required target set to the given value.
-
of
final static BrowserHoverInput of(BrowserCoordinateTarget coordinate)
Alias for calling of with
BrowserClickTarget.ofCoordinate(coordinate).
-
of
final static BrowserHoverInput of(BrowserRefTarget ref)
Alias for calling of with
BrowserClickTarget.ofRef(ref).
-
-
-
-