public class ViewInputAttributes extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ViewInputAttributes.ActionAttributes |
class |
ViewInputAttributes.ActionAttributesList |
static class |
ViewInputAttributes.ActionAttributesMap |
static class |
ViewInputAttributes.DeviceAttributes |
class |
ViewInputAttributes.DeviceModifierMap |
Constructor and Description |
---|
ViewInputAttributes() |
public static final boolean DEFAULT_HORIZONTAL_TRANSLATE_SMOOTHING_ENABLED
public static final double DEFAULT_HORIZONTAL_TRANSLATE_SMOOTHING_VALUE
public static final double DEFAULT_KEY_HORIZONTAL_TRANSLATE_MAX_VALUE
public static final double DEFAULT_KEY_HORIZONTAL_TRANSLATE_MIN_VALUE
public static final double DEFAULT_KEY_ROLL_MAX_VALUE
public static final double DEFAULT_KEY_ROLL_MIN_VALUE
public static final double DEFAULT_KEY_ROTATE_MAX_VALUE
public static final double DEFAULT_KEY_ROTATE_MIN_VALUE
public static final double DEFAULT_KEY_SENSITIVITY
public static final double DEFAULT_KEY_VERTICAL_TRANSLATE_VALUE
public static final double DEFAULT_MOUSE_HORIZONTAL_TRANSLATE_MAX_VALUE
public static final double DEFAULT_MOUSE_HORIZONTAL_TRANSLATE_MIN_VALUE
public static final double DEFAULT_MOUSE_MOVE_TO_MAX_VALUE
public static final double DEFAULT_MOUSE_MOVE_TO_MIN_VALUE
public static final double DEFAULT_MOUSE_ROTATE_MAX_VALUE
public static final double DEFAULT_MOUSE_ROTATE_MIN_VALUE
public static final double DEFAULT_MOUSE_SENSITIVITY
public static final double DEFAULT_MOUSE_VERTICAL_TRANSLATE_VALUE
public static final double DEFAULT_MOUSE_WHEEL_SENSITIVITY
public static final double DEFAULT_MOUSE_WHEEL_VERTICAL_TRANSLATE_VALUE
public static final double DEFAULT_MOUSE_WHEEL_VERTICAL_TRANSLATE_VALUE_OSX
public static final boolean DEFAULT_MOVE_TO_SMOOTHING_ENABLED
public static final double DEFAULT_MOVE_TO_SMOOTHING_VALUE
public static final boolean DEFAULT_ROLL_SMOOTHING_ENABLED
public static final double DEFAULT_ROLL_SMOOTHING_VALUE
protected static final ViewInputAttributes.ActionAttributes.KeyAction DEFAULT_ROTATE_ROLLDOWN_KEY_ACT
protected static final ViewInputAttributes.ActionAttributes.KeyAction DEFAULT_ROTATE_ROLLUP_KEY_ACT
public static final boolean DEFAULT_ROTATE_SMOOTHING_ENABLED
public static final double DEFAULT_ROTATE_SMOOTHING_VALUE
public static final double DEFAULT_SLOW_VALUE
public static final boolean DEFAULT_VERTICAL_TRANSLATE_SMOOTHING_ENABLED
public static final double DEFAULT_VERTICAL_TRANSLATE_SMOOTHING_VALUE
public static final String DEVICE_KEYBOARD
public static final String DEVICE_KEYBOARD_MODS
public static final String DEVICE_MOUSE
public static final String DEVICE_MOUSE_MODS
public static final String DEVICE_MOUSE_WHEEL
public static final String DEVICE_MOUSE_WHEEL_MODS
public static final ViewInputAttributes.ActionAttributes.KeyAction[] horizontalTransKeyEvents
public static final ViewInputAttributes.ActionAttributes.MouseAction[] horizontalTransMouseEvents
public static final ViewInputAttributes.ActionAttributes.MouseAction[] moveToMouseEvents
public static final ViewInputAttributes.ActionAttributes.KeyAction[] resetHeadingEvents
public static final ViewInputAttributes.ActionAttributes.KeyAction[] resetHeadingPitchRollEvents
public static final ViewInputAttributes.ActionAttributes.KeyAction[] rollKeyEvents
public static final ViewInputAttributes.ActionAttributes.MouseAction[] rotateMouseEvents
public static final ViewInputAttributes.ActionAttributes.MouseAction[] rotateMouseEventsShift
public static final ViewInputAttributes.ActionAttributes.KeyAction[] rotationKeyEvents
public static final ViewInputAttributes.ActionAttributes.KeyAction[] rotationKeyEventsPage
public static final ViewInputAttributes.ActionAttributes.KeyAction[] stopViewEvents
public static final ViewInputAttributes.ActionAttributes.KeyAction[] verticalTransKeyEvents
public static final ViewInputAttributes.ActionAttributes.KeyAction[] verticalTransKeyEventsCtrl
public static final ViewInputAttributes.ActionAttributes.MouseAction[] verticalTransMouseEvents
public static final ViewInputAttributes.ActionAttributes.MouseAction[] verticalTransMouseEventsCtrl
public static final ViewInputAttributes.ActionAttributes.MouseAction[] verticalTransMouseWheelEvents
public static final String VIEW_FOCUS
public static final String VIEW_FOCUS_SLOW
public static final String VIEW_HORIZONTAL_TRANS_KEYS
public static final String VIEW_HORIZONTAL_TRANSLATE
public static final String VIEW_HORIZONTAL_TRANSLATE_SLOW
public static final String VIEW_MOVE_TO
public static final String VIEW_MOVE_TO_SLOW
public static final String VIEW_PAN
public static final String VIEW_PAN_SLOW
public static final String VIEW_RESET_HEADING
public static final String VIEW_RESET_HEADING_PITCH_ROLL
public static final String VIEW_ROLL_KEYS
public static final String VIEW_ROTATE
public static final String VIEW_ROTATE_KEYS
public static final String VIEW_ROTATE_KEYS_SHIFT
public static final String VIEW_ROTATE_KEYS_SHIFT_SLOW
public static final String VIEW_ROTATE_SHIFT
public static final String VIEW_ROTATE_SLOW
public static final String VIEW_STOP_VIEW
public static final String VIEW_VERTICAL_TRANS_KEYS
public static final String VIEW_VERTICAL_TRANS_KEYS_CTRL
public static final String VIEW_VERTICAL_TRANS_KEYS_META
public static final String VIEW_VERTICAL_TRANS_KEYS_SLOW
public static final String VIEW_VERTICAL_TRANS_KEYS_SLOW_CTRL
public static final String VIEW_VERTICAL_TRANS_KEYS_SLOW_META
public static final String VIEW_VERTICAL_TRANSLATE
public static final String VIEW_VERTICAL_TRANSLATE_CTRL
public static final String VIEW_VERTICAL_TRANSLATE_SLOW
public static final String VIEW_ZOOM
public static final String VIEW_ZOOM_SLOW
public void addAction(Object deviceKey, Integer modifier, Object actionKey, ViewInputAttributes.ActionAttributes actionAttrs)
public void addModifierAction(Object device, Integer modifier, ViewInputAttributes.ActionAttributes action)
public ViewInputAttributes.ActionAttributes getActionAttributes(Object deviceKey, Object actionKey)
public ViewInputAttributes.ActionAttributesMap getActionMap(Object deviceKey)
public ViewInputAttributes.DeviceAttributes getDeviceAttributes(Object deviceKey)
public ViewInputAttributes.DeviceModifierMap getModifierActionMap(Object deviceKey)
protected ViewInputAttributes.ActionAttributes makeSlowActionAttributes(ViewInputAttributes.ActionAttributes attributes, double slowCoefficient)
public void setActionListener(Object deviceKey, Object actionKey, ViewInputActionHandler listener)
public void setActionMap(Object deviceKey, ViewInputAttributes.ActionAttributesMap map)
public void setActionTrigger(Object device, Object action, ViewInputAttributes.ActionAttributes.ActionTrigger trigger)
protected void setDefaultDeviceAttributes()
public void setDeviceAttributes(Object deviceKey, ViewInputAttributes.DeviceAttributes attributes)
protected void setDeviceModifierActionMaps()
public void setModifierActionMap(Object deviceKey, ViewInputAttributes.DeviceModifierMap map)
public void setMouseActionAttributes(String actionName, int modifier, ViewInputAttributes.ActionAttributes.ActionTrigger trigger, ViewInputAttributes.ActionAttributes.MouseAction[] mouseActions, double minValue, double maxValue, boolean smoothingEnabled, double smoothingValue)