Class EditorPaneLinkVisitor
java.lang.Object
org.jdesktop.swingx.hyperlink.EditorPaneLinkVisitor
- All Implemented Interfaces:
ActionListener, EventListener
A ActionListener using a JXEditorPane to "visit" a LinkModel.
adds an internal HyperlinkListener to visit links contained
in the document.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JXEditorPaneprivate HyperlinkListenerprivate LinkModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected JXEditorPaneprotected HyperlinkListenerprotected HyperlinkListenerprotected LinkModelvoidprotected voidvisitInternal(URL url)
-
Field Details
-
editorPane
-
hyperlinkListener
-
internalLink
-
-
Constructor Details
-
EditorPaneLinkVisitor
public EditorPaneLinkVisitor() -
EditorPaneLinkVisitor
-
-
Method Details
-
getOutputComponent
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
visit
-
createDefaultEditorPane
-
getHyperlinkListener
-
createHyperlinkListener
-
getInternalLink
-
visitInternal
-