Package org.jdesktop.swingx.hyperlink
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 JXEditorPane
private HyperlinkListener
private LinkModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected JXEditorPane
protected HyperlinkListener
protected HyperlinkListener
protected LinkModel
void
protected void
visitInternal
(URL url)
-
Field Details
-
editorPane
-
hyperlinkListener
-
internalLink
-
-
Constructor Details
-
EditorPaneLinkVisitor
public EditorPaneLinkVisitor() -
EditorPaneLinkVisitor
-
-
Method Details
-
getOutputComponent
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
visit
-
createDefaultEditorPane
-
getHyperlinkListener
-
createHyperlinkListener
-
getInternalLink
-
visitInternal
-