Class AWTDualModeMouseSelector
- java.lang.Object
-
- org.jzy3d.chart.controllers.mouse.AWTDualModeMouseSelector
-
public class AWTDualModeMouseSelector extends Object
A utility to toggle between- the main default mouse controller
AWTCameraMouseController
, used to control viewpoint - another custom mouse controller, such as a selection mouse utility
KeyListener
to toggle between the two modes.- Author:
- Martin Pernollet
- the main default mouse controller
-
-
Field Summary
Fields Modifier and Type Field Description protected Chart
chart
protected boolean
displayMessage
protected String
message
static String
MESSAGE_ROTATION_MODE
static String
MESSAGE_SELECTION_MODE
protected AWTRenderer2d
messageRenderer
protected AWTCameraMouseController
mouseCamera
protected AWTAbstractMouseSelector
mouseSelection
protected CameraThreadController
threadCamera
-
Constructor Summary
Constructors Constructor Description AWTDualModeMouseSelector(Chart chart, AWTAbstractMouseSelector alternativeMouse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chart
build(Chart chart, AWTAbstractMouseSelector alternativeMouse)
AWTRenderer2d
buildMessageRenderer()
KeyListener
buildToggleKeyListener(Chart chart)
protected void
releaseCam()
protected void
useCam()
-
-
-
Field Detail
-
chart
protected Chart chart
-
messageRenderer
protected AWTRenderer2d messageRenderer
-
threadCamera
protected CameraThreadController threadCamera
-
mouseCamera
protected AWTCameraMouseController mouseCamera
-
mouseSelection
protected AWTAbstractMouseSelector mouseSelection
-
displayMessage
protected boolean displayMessage
-
message
protected String message
-
MESSAGE_SELECTION_MODE
public static String MESSAGE_SELECTION_MODE
-
MESSAGE_ROTATION_MODE
public static String MESSAGE_ROTATION_MODE
-
-
Constructor Detail
-
AWTDualModeMouseSelector
public AWTDualModeMouseSelector(Chart chart, AWTAbstractMouseSelector alternativeMouse)
-
-
Method Detail
-
build
public Chart build(Chart chart, AWTAbstractMouseSelector alternativeMouse)
-
buildToggleKeyListener
public KeyListener buildToggleKeyListener(Chart chart)
-
buildMessageRenderer
public AWTRenderer2d buildMessageRenderer()
-
useCam
protected void useCam()
-
releaseCam
protected void releaseCam()
-
-