public class ActiveURITip extends MouseAdapter implements URIEventListener
for license details. The copyright to this program is
held by its authors.| Modifier and Type | Field and Description |
|---|---|
private org.crosswire.common.xml.Converter |
converter |
private int |
lastb |
private int |
lastx |
private int |
lasty |
private LazyHTMLEditorKit |
lazykit |
private JTextPane |
owner |
private Popup |
popup |
private JScrollPane |
scrView |
private TitledBorder |
title |
private JTextPane |
txtView |
| Constructor and Description |
|---|
ActiveURITip(JTextPane own,
Dimension dim) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateURI(URIEvent ev)
This method is called to indicate that an URI can be processed.
|
void |
enterURI(URIEvent ev)
This method is called to indicate that the mouse has entered the URI.
|
(package private) void |
hideTip() |
(package private) boolean |
interested(URIEvent ev) |
void |
leaveURI(URIEvent ev)
This method is called to indicate that the mouse has left the URI.
|
void |
mousePressed(MouseEvent e) |
(package private) void |
showTip() |
void |
updateText(URIEvent event) |
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMovedprivate JTextPane owner
private LazyHTMLEditorKit lazykit
private JTextPane txtView
private JScrollPane scrView
private TitledBorder title
private Popup popup
private int lastx
private int lasty
private int lastb
private org.crosswire.common.xml.Converter converter
public void updateText(URIEvent event)
void showTip()
void hideTip()
boolean interested(URIEvent ev)
ev - if we are interested in this eventpublic void activateURI(URIEvent ev)
URIEventListeneractivateURI in interface URIEventListenerev - Describes the URIpublic void enterURI(URIEvent ev)
URIEventListenerenterURI in interface URIEventListenerev - Describes the URIpublic void leaveURI(URIEvent ev)
URIEventListenerleaveURI in interface URIEventListenerev - Describes the URIpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdapter