public class WarpNavigationActions extends Actions
Modifier and Type | Class and Description |
---|---|
static class |
WarpNavigationActions.AlignPlaneAction |
static class |
WarpNavigationActions.CardAction |
static class |
WarpNavigationActions.CollapseCardAction |
static class |
WarpNavigationActions.DisplayXfmAction |
static class |
WarpNavigationActions.ExpandCardAction |
static class |
WarpNavigationActions.RotatePlaneAction |
static class |
WarpNavigationActions.rotationDirections2d |
static class |
WarpNavigationActions.SetCurrentSourceOrGroupAction |
static class |
WarpNavigationActions.ToggleFusedModeAction |
static class |
WarpNavigationActions.ToggleGroupingAction |
static class |
WarpNavigationActions.ToggleInterPolationAction |
static class |
WarpNavigationActions.ToggleSourceOrGroupVisibilityAction |
Modifier and Type | Field and Description |
---|---|
static String |
ALIGN_PLANE |
static String |
COLLAPSE_CARDS |
static String[] |
COLLAPSE_CARDS_KEYS |
static String |
DISPLAY_XFMS |
static String |
EXPAND_CARDS |
static String[] |
EXPAND_CARDS_KEYS |
static String |
ROTATE_PLANE |
static String |
SET_CURRENT_SOURCE |
static String |
TOGGLE_FUSED_MODE |
static String |
TOGGLE_GROUPING |
static String |
TOGGLE_INTERPOLATION |
static String |
TOGGLE_SOURCE_VISIBILITY |
keyConfig, keyStrokeAdder
Constructor and Description |
---|
WarpNavigationActions(KeyStrokeAdder.Factory keyConfig) |
Modifier and Type | Method and Description |
---|---|
static void |
addToActionMap(ActionMap actionMap,
BigWarpViewerFrame frame,
int numSourceKeys) |
static ActionMap |
createActionMap(BigWarpViewerFrame frame) |
static ActionMap |
createActionMap(BigWarpViewerFrame frame,
int numSourceKeys) |
static InputMap |
createInputMap(KeyStrokeAdder.Factory keyProperties,
boolean is2d) |
static void |
installActionBindings(InputActionBindings inputActionBindings,
BigWarpViewerFrame frame,
KeyStrokeAdder.Factory keyProperties,
boolean is2d)
Create navigation actions and install them in the specified
InputActionBindings . |
getActionMap, getInputMap, install, namedAction, runnableAction, updateKeyConfig, updateKeyConfig
public static final String TOGGLE_INTERPOLATION
public static final String TOGGLE_FUSED_MODE
public static final String TOGGLE_GROUPING
public static final String SET_CURRENT_SOURCE
public static final String TOGGLE_SOURCE_VISIBILITY
public static final String ALIGN_PLANE
public static final String ROTATE_PLANE
public static final String DISPLAY_XFMS
public static final String EXPAND_CARDS
public static final String COLLAPSE_CARDS
public static final String[] EXPAND_CARDS_KEYS
public static final String[] COLLAPSE_CARDS_KEYS
public WarpNavigationActions(KeyStrokeAdder.Factory keyConfig)
public static void installActionBindings(InputActionBindings inputActionBindings, BigWarpViewerFrame frame, KeyStrokeAdder.Factory keyProperties, boolean is2d)
InputActionBindings
.inputActionBindings
- InputMap
and ActionMap
are installed here.frame
- Navigation actions are targeted at this BigWarpViewerFrame
.keyProperties
- user-defined key-bindings.is2d
- does this bigwarp instance work on 2d imagespublic static InputMap createInputMap(KeyStrokeAdder.Factory keyProperties, boolean is2d)
public static ActionMap createActionMap(BigWarpViewerFrame frame)
public static ActionMap createActionMap(BigWarpViewerFrame frame, int numSourceKeys)
public static void addToActionMap(ActionMap actionMap, BigWarpViewerFrame frame, int numSourceKeys)
Copyright © 2015–2021 Fiji. All rights reserved.