public class MouseControls extends Object
MouseControl instances| Modifier and Type | Method and Description |
|---|---|
static MouseControl |
createDefault(Viewer viewer)
Create a default
MouseControl for the given Viewer,
where rotation and non-uniform scaling are allowed. |
static MouseControl |
createDefault(Viewer viewer,
boolean rotationAllowed,
boolean nonUniformScalingAllowed)
Create a default
MouseControl for the given Viewer. |
public static MouseControl createDefault(Viewer viewer)
MouseControl for the given Viewer,
where rotation and non-uniform scaling are allowed. See
createDefault(Viewer, boolean, boolean) for details.viewer - The ViewerMouseControlpublic static MouseControl createDefault(Viewer viewer, boolean rotationAllowed, boolean nonUniformScalingAllowed)
MouseControl for the given Viewer.viewer - The ViewerrotationAllowed - Whether rotations are allowednonUniformScalingAllowed - Whether non-uniform scaling along
the x- and y axis is allowedMouseControlCopyright © 2015. All rights reserved.