Module java.desktop

Class HTMLEditorKit.LinkController

    • Constructor Detail

      • LinkController

        public LinkController()
    • Method Detail

      • activateLink

        protected void activateLink​(int pos,
                                    JEditorPane editor)
        Calls linkActivated on the associated JEditorPane if the given position represents a link.

        This is implemented to forward to the method with the same name, but with the following args both == -1.

        Parameters:
        pos - the position
        editor - the editor pane