Class EditorPaneLinkVisitor

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener

    public class EditorPaneLinkVisitor
    extends java.lang.Object
    implements java.awt.event.ActionListener
    A ActionListener using a JXEditorPane to "visit" a LinkModel. adds an internal HyperlinkListener to visit links contained in the document.
    • Constructor Detail

      • EditorPaneLinkVisitor

        public EditorPaneLinkVisitor()
      • EditorPaneLinkVisitor

        public EditorPaneLinkVisitor​(JXEditorPane pane)
    • Method Detail

      • getOutputComponent

        public JXEditorPane getOutputComponent()
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
      • visit

        public void visit​(LinkModel link)
      • createDefaultEditorPane

        protected JXEditorPane createDefaultEditorPane()
      • getHyperlinkListener

        protected javax.swing.event.HyperlinkListener getHyperlinkListener()
      • createHyperlinkListener

        protected javax.swing.event.HyperlinkListener createHyperlinkListener()
      • getInternalLink

        protected LinkModel getInternalLink()
      • visitInternal

        protected void visitInternal​(java.net.URL url)