public class AWTDualModeMouseSelector extends Object
AWTCameraMouseController
, used to
control viewpoint
KeyListener
to toggle between the two modes.Modifier and Type | Field and Description |
---|---|
protected Chart |
chart |
protected boolean |
displayMessage |
protected String |
message |
static String |
MESSAGE_ROTATION_MODE |
static String |
MESSAGE_SELECTION_MODE |
protected Renderer2d |
messageRenderer |
protected AWTCameraMouseController |
mouseCamera |
protected AWTAbstractMouseSelector |
mouseSelection |
protected CameraThreadController |
threadCamera |
Constructor and Description |
---|
AWTDualModeMouseSelector(Chart chart,
AWTAbstractMouseSelector alternativeMouse) |
Modifier and Type | Method and Description |
---|---|
Chart |
build(Chart chart,
AWTAbstractMouseSelector alternativeMouse) |
Renderer2d |
buildMessageRenderer() |
KeyListener |
buildToggleKeyListener(Chart chart) |
protected void |
releaseCam() |
protected void |
useCam() |
protected Chart chart
protected Renderer2d messageRenderer
protected CameraThreadController threadCamera
protected AWTCameraMouseController mouseCamera
protected AWTAbstractMouseSelector mouseSelection
protected boolean displayMessage
protected String message
public static String MESSAGE_SELECTION_MODE
public static String MESSAGE_ROTATION_MODE
public AWTDualModeMouseSelector(Chart chart, AWTAbstractMouseSelector alternativeMouse)
public Chart build(Chart chart, AWTAbstractMouseSelector alternativeMouse)
public KeyListener buildToggleKeyListener(Chart chart)
public Renderer2d buildMessageRenderer()
protected void useCam()
protected void releaseCam()
Copyright © 2016. All rights reserved.