|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprefuse.controls.ControlAdapter
ca.utoronto.cs.prefuseextensions.control.MouseWheelControl
public class MouseWheelControl
Increases or decreases a specified field when the mouse wheel moves.
Field Summary |
---|
Fields inherited from interface prefuse.controls.Control |
---|
LEFT_MOUSE_BUTTON, MIDDLE_MOUSE_BUTTON, RIGHT_MOUSE_BUTTON |
Constructor Summary | |
---|---|
MouseWheelControl(java.lang.String action,
java.lang.String field)
Create a new mouse wheel control to optionally manipulate a node parameter and optionally run an action after each manipulation. |
|
MouseWheelControl(java.lang.String action,
java.lang.String field,
double min,
double max,
double increment)
|
Method Summary | |
---|---|
void |
itemWheelMoved(prefuse.visual.VisualItem item,
java.awt.event.MouseWheelEvent e)
|
Methods inherited from class prefuse.controls.ControlAdapter |
---|
isEnabled, itemClicked, itemDragged, itemEntered, itemExited, itemKeyPressed, itemKeyReleased, itemKeyTyped, itemMoved, itemPressed, itemReleased, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MouseWheelControl(java.lang.String action, java.lang.String field)
action
- the action to run when the mouse wheel movesfield
- the field to manipulate when the mouse wheel movespublic MouseWheelControl(java.lang.String action, java.lang.String field, double min, double max, double increment)
action
- the action to run when the mouse wheel movesfield
- the field to manipulate when the mouse wheel movesMethod Detail |
---|
public void itemWheelMoved(prefuse.visual.VisualItem item, java.awt.event.MouseWheelEvent e)
itemWheelMoved
in interface prefuse.controls.Control
itemWheelMoved
in class prefuse.controls.ControlAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |