| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.umd.cs.piccolo.event.PBasicInputEventHandler
edu.umd.cfar.lamp.viper.gui.canvas.ScrollWheelZoomHandler
| Constructor Summary | |
ScrollWheelZoomHandler()
 | 
|
| Method Summary | |
 double | 
getMaxScale()
Returns the maximum view magnification factor that this event handler is bound by.  | 
 double | 
getMinScale()
Returns the minimum view magnification factor that this event handler is bound by.  | 
 void | 
mouseWheelRotated(edu.umd.cs.piccolo.event.PInputEvent event)
Wheel rotation up zooms in.  | 
protected  java.lang.String | 
paramString()
Returns a string representing the state of this node.  | 
 void | 
setMaxScale(double maxScale)
Sets the maximum view magnification factor that this event handler is bound by.  | 
 void | 
setMinScale(double minScale)
Sets the minimum view magnification factor that this event handler is bound by.  | 
| Methods inherited from class edu.umd.cs.piccolo.event.PBasicInputEventHandler | 
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelRotatedByBlock, processEvent, setEventFilter, toString | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public ScrollWheelZoomHandler()
| Method Detail | 
public void mouseWheelRotated(edu.umd.cs.piccolo.event.PInputEvent event)
public double getMinScale()
public void setMinScale(double minScale)
minScale is larger than
 the current scale.
minScale - the minimum scale, must not be negative.public double getMaxScale()
public void setMaxScale(double maxScale)
maxScale is smaller than
 the current scale. Use Double.MAX_VALUE to specify the largest possible scale.
maxScale - the maximum scale, must not be negative.protected java.lang.String paramString()
null.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||