public class BoxZoomMouseModule extends BoxRangeSelectorMouseModule
ZoomPanMouseModuleMouseModule.PosxAxis, yAxisdragRenderer, logger, parent| Constructor and Description |
|---|
BoxZoomMouseModule(DasCanvasComponent parent,
DataSetConsumer consumer,
DasAxis xAxis,
DasAxis yAxis)
Creates a new instance of BoxZoomMouseModule
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAutoUpdate()
Getter for property autoUpdate.
|
boolean |
isConstrainProportions()
Getter for property constrainProportions.
|
void |
mouseRangeSelected(MouseDragEvent e0)
Action to take when a mouse range (click, drag, release) has been
selected.
|
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
mouse wheel events zoom or pan rapidly.
|
void |
setAutoUpdate(boolean autoUpdate)
Setter for property autoUpdate.
|
void |
setConstrainProportions(boolean constrainProportions)
Setter for property constrainProportions.
|
protected void |
zoomBox() |
addBoxSelectionListener, create, fireBoxSelected, removeBoxSelectionListeneraxisIsAdjustable, drawListIcon, getCursor, getDirections, getDragRenderer, getLabel, getListIcon, getListLabel, getParent, keyPressed, keyReleased, keyTyped, maybeRound, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePointSelected, mousePressed, mouseReleased, position, setDirections, setDragRenderer, setLabelpublic BoxZoomMouseModule(DasCanvasComponent parent, DataSetConsumer consumer, DasAxis xAxis, DasAxis yAxis)
parent - component who owns the mouse moduleconsumer - is the source context of the data set selectionxAxis - the plot's xaxis.yAxis - the plot's yaxis.protected void zoomBox()
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
mouseWheelMoved in interface java.awt.event.MouseWheelListenermouseWheelMoved in class MouseModulee - public void mouseRangeSelected(MouseDragEvent e0)
MouseModulemouseRangeSelected in class BoxRangeSelectorMouseModulee0 - the drag event.public boolean isAutoUpdate()
public void setAutoUpdate(boolean autoUpdate)
autoUpdate - New value of property autoUpdate.public boolean isConstrainProportions()
public void setConstrainProportions(boolean constrainProportions)
constrainProportions - New value of property constrainProportions.