public abstract class BasicViewInputHandler extends AbstractViewInputHandler
attributes, DEFAULT_DRAG_SLOPE_FACTOR, DEFAULT_PER_FRAME_INPUT_INTERVAL, dragSlopeFactor, enableSmoothing, GENERATE_EVENTS, keyActionMap, keyEventState, keyModsActionMap, lastMousePoint, lastPerFrameInputTime, lockHeading, modifierList, mouseActionMap, mouseDownModelview, mouseDownPoint, mouseDownProjection, mouseDownViewport, mouseModsActionMap, mousePoint, mouseWheelModsActionMap, NUM_MODIFIERS, perFrameInputInterval, QUERY_EVENTS, SCALE_FUNC_EYE_ALTITUDE, SCALE_FUNC_EYE_ALTITUDE_EXP, SCALE_FUNC_ZOOM, SCALE_FUNC_ZOOM_EXP, selectedPosition, stopOnFocusLost, wwd, wwdFocusOwner| Constructor and Description |
|---|
BasicViewInputHandler() |
computeDragSlope, computeSelectedPointAt, computeSelectedPosition, constrainToSourceBounds, evaluateScaleFuncEyeAltitude, evaluateScaleFuncZoom, focusGained, focusLost, getAttributes, getChangeInLocation, getDragSlopeFactor, getLastMousePoint, getMouseDownPoint, getMousePoint, getPerFrameInputInterval, getScaledValue, getScaleValue, getScaleValueElevation, getSelectedPosition, getView, getWorldWindow, handleFocusGained, handleFocusLost, handleKeyReleased, handleMouseMoved, handleMousePressed, handleMouseReleased, handlePerFrameAnimation, isEnableSmoothing, isLockHeading, isStopOnFocusLost, isWorldWindowFocusOwner, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, onStopView, propertyChange, rawInputToChangeInValue, setAttributes, setDragSlopeFactor, setEnableSmoothing, setLockHeading, setMouseDownPoint, setMouseDownView, setPerFrameInputInterval, setSelectedPosition, setStopOnFocusLost, setWorldWindow, setWorldWindowFocusOwner, updateMousePoint, viewAppliedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAnimator, goTo, isAnimating, stopAnimatorspublic void apply()
ViewInputHandlerView state prior to the View
setting the modelview matrix for rendering the current frame.apply in interface ViewInputHandlerapply in class AbstractViewInputHandlerprotected boolean callActionListener(KeyEventState keys, String target, ViewInputAttributes.ActionAttributes action)
protected boolean callActionListListeners(KeyEventState keys, String target, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, ViewInputAttributes.ActionAttributesList actionList)
protected boolean callActionListListeners(KeyEvent e, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, ViewInputAttributes.ActionAttributesList actionList)
protected boolean callMouseActionListListeners(MouseEvent e, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, ViewInputAttributes.ActionAttributesList actionList)
protected boolean callMouseWheelActionListListeners(MouseWheelEvent e, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, ViewInputAttributes.ActionAttributesList actionList)
protected void handleKeyPressed(KeyEvent e)
handleKeyPressed in class AbstractViewInputHandlerprotected void handleMouseClicked(MouseEvent e)
handleMouseClicked in class AbstractViewInputHandlerprotected void handleMouseDragged(MouseEvent e)
handleMouseDragged in class AbstractViewInputHandlerprotected void handleMouseWheelMoved(MouseWheelEvent e)
handleMouseWheelMoved in class AbstractViewInputHandlerprotected boolean handlePerFrameKeyState(KeyEventState keys, String target)
handlePerFrameKeyState in class AbstractViewInputHandlerprotected boolean handlePerFrameMouseState(KeyEventState keys, String target)
handlePerFrameMouseState in class AbstractViewInputHandlerprotected void handlePropertyChange(PropertyChangeEvent e)
handlePropertyChange in class AbstractViewInputHandlerprotected void handleViewStopped()
protected abstract void onHorizontalTranslateRel(double forwardInput,
double sideInput,
double sideInputFromMouseDown,
double forwardInputFromMouseDown,
ViewInputAttributes.DeviceAttributes deviceAttributes,
ViewInputAttributes.ActionAttributes actionAttributes)
protected abstract void onMoveTo(Position focalPosition, ViewInputAttributes.DeviceAttributes deviceAttributes, ViewInputAttributes.ActionAttributes actionAttribs)
protected abstract void onResetHeading(ViewInputAttributes.ActionAttributes actionAttribs)
protected abstract void onResetHeadingPitchRoll(ViewInputAttributes.ActionAttributes actionAttribs)
protected abstract void onRotateView(double headingInput,
double pitchInput,
double totalHeadingInput,
double totalPitchInput,
ViewInputAttributes.DeviceAttributes deviceAttributes,
ViewInputAttributes.ActionAttributes actionAttributes)
protected abstract void onVerticalTranslate(double translateChange,
double totalTranslateChange,
ViewInputAttributes.DeviceAttributes deviceAttributes,
ViewInputAttributes.ActionAttributes actionAttributes)