public class TreeLinkMouseListener extends LinkMouseListenerBase
Modifier and Type | Class and Description |
---|---|
static interface |
TreeLinkMouseListener.HaveTooltip |
Modifier and Type | Field and Description |
---|---|
protected java.lang.ref.WeakReference<javax.swing.tree.TreeNode> |
myLastHitNode |
Constructor and Description |
---|
TreeLinkMouseListener(ColoredTreeCellRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doCacheLastNode() |
protected int |
getRendererRelativeX(java.awt.event.MouseEvent e,
javax.swing.JTree tree,
javax.swing.tree.TreePath path) |
protected java.lang.Object |
getTagAt(java.awt.event.MouseEvent e) |
protected void |
showTooltip(javax.swing.JTree tree,
java.awt.event.MouseEvent e,
TreeLinkMouseListener.HaveTooltip launcher) |
handleTagClick, installOn, installSingleTagOn, mouseDragged, mouseMoved, onClick
installOn, uninstall
protected java.lang.ref.WeakReference<javax.swing.tree.TreeNode> myLastHitNode
public TreeLinkMouseListener(ColoredTreeCellRenderer renderer)
protected void showTooltip(javax.swing.JTree tree, java.awt.event.MouseEvent e, TreeLinkMouseListener.HaveTooltip launcher)
protected java.lang.Object getTagAt(java.awt.event.MouseEvent e)
getTagAt
in class LinkMouseListenerBase
protected int getRendererRelativeX(java.awt.event.MouseEvent e, javax.swing.JTree tree, javax.swing.tree.TreePath path)
protected boolean doCacheLastNode()