source: other-projects/rsyntax-textarea/src/java/org/fife/ui/rsyntaxtextarea/parser/ExtendedHyperlinkListener.java@ 25584

Last change on this file since 25584 was 25584, checked in by davidb, 12 years ago

Initial cut an a text edit area for GLI that supports color syntax highlighting

File size: 1.0 KB
Line 
1/*
2 * 07/31/2009
3 *
4 * ExtendedHyeprlinkListener.java - A hyperlink event from a FocusableTip.
5 *
6 * This library is distributed under a modified BSD license. See the included
7 * RSyntaxTextArea.License.txt file for details.
8 */
9package org.fife.ui.rsyntaxtextarea.parser;
10
11import java.util.EventListener;
12import javax.swing.event.HyperlinkEvent;
13
14import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
15import org.fife.ui.rsyntaxtextarea.focusabletip.FocusableTip;
16
17
18/**
19 * Listens for hyperlink events from {@link FocusableTip}s. In addition to
20 * the link event, the text area that the tip is for is also received, which
21 * allows the listener to modify the displayed content, if desired.
22 *
23 * @author Robert Futrell
24 * @version 1.0
25 */
26public interface ExtendedHyperlinkListener extends EventListener {
27
28
29 /**
30 * Called when a link in a {@link FocusableTip} is clicked.
31 *
32 * @param textArea The text area displaying the tip.
33 * @param e The event.
34 */
35 public void linkClicked(RSyntaxTextArea textArea, HyperlinkEvent e);
36
37
38}
Note: See TracBrowser for help on using the repository browser.