| Modifier and Type | Field and Description |
|---|---|
| private Object | data
A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest. |
| private Range | range
The range this link applies to. |
| private String | target
The uri this link points to. |
| private String | tooltip
The tooltip text when you hover over this link. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Object | getData()
A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest. |
| public Range | |
| public String | |
| public String | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| data | back to summary |
|---|---|
| private Object data A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest. Since 3.8.0 | |
| range | back to summary |
|---|---|
| private Range range The range this link applies to. | |
| target | back to summary |
|---|---|
| private String target The uri this link points to. If missing a resolve request is sent later. | |
| tooltip | back to summary |
|---|---|
| private String tooltip The tooltip text when you hover over this link. If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary depending on OS, user settings, and localization. Since 3.15.0 | |
| DocumentLink | back to summary |
|---|---|
| public DocumentLink() | |
| DocumentLink | back to summary |
|---|---|
| public DocumentLink(final Range range) | |
| DocumentLink | back to summary |
|---|---|
| public DocumentLink(final Range range, final String target) | |
| DocumentLink | back to summary |
|---|---|
| public DocumentLink(final Range range, final String target, final Object data) | |
| DocumentLink | back to summary |
|---|---|
| public DocumentLink(final Range range, final String target, final Object data, final String tooltip) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getData | back to summary |
|---|---|
| public Object getData() A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest. Since 3.8.0 | |
| getRange | back to summary |
|---|---|
| public Range getRange() The range this link applies to.
| |
| getTarget | back to summary |
|---|---|
| public String getTarget() The uri this link points to. If missing a resolve request is sent later. | |
| getTooltip | back to summary |
|---|---|
| public String getTooltip() The tooltip text when you hover over this link. If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary depending on OS, user settings, and localization. Since 3.15.0 | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setData | back to summary |
|---|---|
| public void setData(final Object data) A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest. Since 3.8.0 | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) The range this link applies to. | |
| setTarget | back to summary |
|---|---|
| public void setTarget(final String target) The uri this link points to. If missing a resolve request is sent later. | |
| setTooltip | back to summary |
|---|---|
| public void setTooltip(final String tooltip) The tooltip text when you hover over this link. If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as `{0} (ctrl + click)`. The specific instructions vary depending on OS, user settings, and localization. Since 3.15.0 | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |