public class WheelScaleInteractor extends WheelTransformInteractor
Details: This transform interactor scales the figure's view when the mouse wheel is rotated.
|Constructor and Description|
Configures scaling behavior.
|Modifier and Type||Method and Description|
mouseButtonPressed, mouseButtonReleased, mouseWheelRotated
public WheelScaleInteractor(boolean iArmedWhenPressed, boolean iWheelReversed)
See the superconstructor for general information about the parameters.
Normal operation is to zoom in when the mouse wheel is rolled towards the user.
This behavior is accomplished by setting
To reverse this behavior, set
iArmedWhenPressed- See superconstructor.
iWheelReversed- false for normal operation
Copyright © 2013. All Rights Reserved.