@OpenApiAll
public class HyperlinksUIUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static java.awt.AWTEvent |
mLastHyperLinkEvent |
Constructor and Description |
---|
HyperlinksUIUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
activateHyperlink(Element element,
java.awt.AWTEvent event,
LocationInTool locationInTool)
Opens active hyperlink for given Element.
|
static void |
activateHyperlink(Element owner,
Hyperlink hyperlink)
Activates given hyperlink
|
static void |
activateHyperlink(Element owner,
Hyperlink hyperlink,
java.awt.AWTEvent event,
LocationInTool location)
Activates given hyperlink
|
public static void activateHyperlink(@CheckForNull Element owner, @Nonnull Hyperlink hyperlink, @CheckForNull java.awt.AWTEvent event, LocationInTool location)
owner
- hyperlink ownerhyperlink
- hyperlinkevent
- input event (used to take click modifiers)location
- hyperlink activation location in MDpublic static void activateHyperlink(@CheckForNull Element owner, @Nonnull Hyperlink hyperlink)
owner
- hyperlink ownerhyperlink
- hyperlink in MDpublic static boolean activateHyperlink(@Nonnull Element element, @CheckForNull java.awt.AWTEvent event, LocationInTool locationInTool)
element
- given elementevent
- event that triggered hyperlinklocationInTool
- location where hyperlink is triggered from