org.jdesktop.swingx.hyperlink
Class EditorPaneLinkVisitor
- java.lang.Object
-
- org.jdesktop.swingx.hyperlink.EditorPaneLinkVisitor
-
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- Direct Known Subclasses:
- FramedEditorPaneLinkVisitor
public class EditorPaneLinkVisitor extends java.lang.Object implements java.awt.event.ActionListenerA ActionListener using a JXEditorPane to "visit" a LinkModel. adds an internal HyperlinkListener to visit links contained in the document.
-
-
Constructor Summary
Constructors Constructor and Description EditorPaneLinkVisitor()EditorPaneLinkVisitor(JXEditorPane pane)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidactionPerformed(java.awt.event.ActionEvent e)JXEditorPanegetOutputComponent()voidvisit(LinkModel link)
-
-
-
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:
actionPerformedin interfacejava.awt.event.ActionListener
-
visit
public void visit(LinkModel link)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG