|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.controls.ControlAdapter prefuse.controls.AbstractZoomControl prefuse.controls.WheelZoomControl
public class WheelZoomControl
Zooms the display using the mouse scroll wheel, changing the scale of the viewable region.
Field Summary |
---|
Fields inherited from class prefuse.controls.AbstractZoomControl |
---|
DEFAULT_MAX_SCALE, DEFAULT_MIN_SCALE, m_maxScale, m_minScale, m_zoomOverItem, MAX_ZOOM, MIN_ZOOM, NO_ZOOM, ZOOM |
Fields inherited from interface prefuse.controls.Control |
---|
LEFT_MOUSE_BUTTON, MIDDLE_MOUSE_BUTTON, RIGHT_MOUSE_BUTTON |
Constructor Summary | |
---|---|
WheelZoomControl()
|
Method Summary | |
---|---|
void |
itemWheelMoved(VisualItem item,
java.awt.event.MouseWheelEvent e)
Invoked when the mouse wheel is rotated while the mouse is over a VisualItem. |
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Invoked when the mouse wheel is rotated while the mouse is over the Display (but NOT a VisualItem). |
Methods inherited from class prefuse.controls.AbstractZoomControl |
---|
getMaxScale, getMinScale, isZoomOverItem, setMaxScale, setMinScale, setZoomOverItem, zoom |
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, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WheelZoomControl()
Method Detail |
---|
public void itemWheelMoved(VisualItem item, java.awt.event.MouseWheelEvent e)
Control
itemWheelMoved
in interface Control
itemWheelMoved
in class ControlAdapter
Control.itemWheelMoved(prefuse.visual.VisualItem, java.awt.event.MouseWheelEvent)
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Control
mouseWheelMoved
in interface java.awt.event.MouseWheelListener
mouseWheelMoved
in interface Control
mouseWheelMoved
in class ControlAdapter
MouseWheelListener.mouseWheelMoved(java.awt.event.MouseWheelEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |