Interface HyperlinkHandler

    • Method Detail

      • getIcon

        @CheckForNull
        javax.swing.Icon getIcon​(Hyperlink link)
        Get hyperlink icon.
        Parameters:
        link - hyperlink
        Returns:
        icon
      • create

        @CheckForNull
        default Hyperlink create​(@CheckForNull
                                 java.lang.String text,
                                 java.lang.String url,
                                 @CheckForNull
                                 Project context)
        Create hyperlink.
        Parameters:
        text - hyperlink text
        url - hyperlink URL
        context - project
        Returns:
        created hyperlink
      • create

        @CheckForNull
        @Deprecated
        default Hyperlink create​(@CheckForNull
                                 java.lang.String text,
                                 java.lang.String url)
        Create hyperlink.
        Parameters:
        text - hyperlink text
        url - hyperlink URL
        Returns:
        created hyperlink
      • getEditor

        @CheckForNull
        HyperlinkEditor getEditor()
        Get hyperlink editor.
        Returns:
        hyperlink editor
      • activate

        void activate​(@CheckForNull
                      Element element,
                      Hyperlink link)
        Activate given hyperlink.
        Parameters:
        element - hyperlink owner
        link - hyperlink to activate