|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprefuse.controls.ControlAdapter
prefuse.controls.ToolTipControl
public class ToolTipControl
Control that enables a tooltip display for items based on mouse hover.
Field Summary |
---|
Fields inherited from interface prefuse.controls.Control |
---|
LEFT_MOUSE_BUTTON, MIDDLE_MOUSE_BUTTON, RIGHT_MOUSE_BUTTON |
Constructor Summary | |
---|---|
ToolTipControl(java.lang.String field)
Create a new ToolTipControl. |
|
ToolTipControl(java.lang.String[] fields)
Create a new ToolTipControl. |
Method Summary | |
---|---|
void |
itemEntered(VisualItem<?> item,
java.awt.event.MouseEvent e)
Invoked when the mouse enters a VisualItem. |
void |
itemExited(VisualItem<?> item,
java.awt.event.MouseEvent e)
Invoked when the mouse exits a VisualItem. |
Methods inherited from class prefuse.controls.ControlAdapter |
---|
isEnabled, itemClicked, itemDragged, itemKeyPressed, itemKeyReleased, itemKeyTyped, itemMoved, itemPressed, itemReleased, itemWheelMoved, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolTipControl(java.lang.String field)
field
- the field name to use for the tooltip textpublic ToolTipControl(java.lang.String[] fields)
fields
- the field names to use for the tooltip text. The
values of each field will be concatenated to form the tooltip.Method Detail |
---|
public void itemEntered(VisualItem<?> item, java.awt.event.MouseEvent e)
Control
itemEntered
in interface Control
itemEntered
in class ControlAdapter
Control.itemEntered(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
public void itemExited(VisualItem<?> item, java.awt.event.MouseEvent e)
Control
itemExited
in interface Control
itemExited
in class ControlAdapter
Control.itemExited(prefuse.visual.VisualItem, java.awt.event.MouseEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |