@OpenApiAll public interface HyperlinkHandler extends ProtocolSupport
HyperlinksHandlersRegistry
HyperlinksHandlersRegistry
Modifier and Type | Method and Description |
---|---|
void |
activate(Element element,
Hyperlink link)
Activate given hyperlink.
|
default Hyperlink |
create(java.lang.String text,
java.lang.String url)
Deprecated.
|
default Hyperlink |
create(java.lang.String text,
java.lang.String url,
Project context)
Create hyperlink.
|
HyperlinkEditor |
getEditor()
Get hyperlink editor.
|
javax.swing.Icon |
getIcon(Hyperlink link)
Get hyperlink icon.
|
isSupportedProtocol
@CheckForNull javax.swing.Icon getIcon(Hyperlink link)
link
- hyperlink@CheckForNull default Hyperlink create(@CheckForNull java.lang.String text, java.lang.String url, @CheckForNull Project context)
text
- hyperlink texturl
- hyperlink URLcontext
- project@CheckForNull @Deprecated default Hyperlink create(@CheckForNull java.lang.String text, java.lang.String url)
create(String, String, Project)
text
- hyperlink texturl
- hyperlink URL@CheckForNull HyperlinkEditor getEditor()