Package | Description |
---|---|
org.openstreetmap.josm | |
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.actions.audio | |
org.openstreetmap.josm.actions.mapmode | |
org.openstreetmap.josm.gui.dialogs | |
org.openstreetmap.josm.gui.layer | |
org.openstreetmap.josm.gui.preferences.shortcut |
Provides classes for handling shortcut preferences.
|
org.openstreetmap.josm.gui.widgets | |
org.openstreetmap.josm.tools |
Modifier and Type | Method and Description |
---|---|
static Action |
Main.getRegisteredActionShortcut(Shortcut shortcut)
Replies the registered action for the given shortcut
|
static void |
Main.registerActionShortcut(Action action,
Shortcut shortcut) |
static void |
Main.unregisterActionShortcut(Action action,
Shortcut shortcut) |
static void |
Main.unregisterShortcut(Shortcut shortcut) |
Modifier and Type | Field and Description |
---|---|
protected Shortcut |
JosmAction.sc |
Modifier and Type | Method and Description |
---|---|
private static Shortcut |
MoveAction.calltosupermustbefirststatementinconstructor(MoveAction.Direction dir) |
Shortcut |
JosmAction.getShortcut()
Returns the shortcut for this action.
|
Constructor and Description |
---|
AbstractInfoAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register,
String toolbarId,
boolean installAdapters) |
AbstractMergeAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register) |
AbstractMergeAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register,
String toolbar,
boolean installAdapters) |
DiskAccessAction(String name,
String iconName,
String tooltip,
Shortcut shortcut)
Constructs a new
DiskAccessAction . |
DiskAccessAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register,
String toolbarId,
boolean installAdapters)
Constructs a new
DiskAccessAction . |
DownloadAlongAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar)
Constructs a new
DownloadAlongAction |
JoinNodeWayAction(boolean joinWayToNode,
String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar) |
JosmAction(String name,
Icon icon,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar,
String toolbarId,
boolean installAdapters)
Deprecated.
do not pass Icon, pass ImageProvider instead
|
JosmAction(String name,
ImageProvider icon,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar,
String toolbarId,
boolean installAdapters)
Constructs a
JosmAction . |
JosmAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar)
Constructs a new
JosmAction . |
JosmAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar,
boolean installAdapters)
Constructs a new
JosmAction . |
JosmAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar,
String toolbarId,
boolean installAdapters)
The new super for all actions.
|
SaveActionBase(String name,
String iconName,
String tooltip,
Shortcut shortcut) |
ToggleAction(String name,
ImageProvider icon,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar,
String toolbarId,
boolean installAdapters)
Constructs a
ToggleAction . |
ToggleAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean registerInToolbar)
Constructs a
ToggleAction . |
UpdateSelectionAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean register,
String toolbarId)
Constructs a new
UpdateSelectionAction . |
Constructor and Description |
---|
AudioFastSlowAction(String name,
String iconName,
String tooltip,
Shortcut shortcut,
boolean fast)
Constructs a new
AudioFastSlowAction . |
Modifier and Type | Field and Description |
---|---|
private Shortcut |
DrawAction.backspaceShortcut |
private Shortcut |
ExtrudeAction.dualAlignShortcut |
private Shortcut |
DrawAction.snappingShortcut |
Constructor and Description |
---|
MapMode(String name,
String iconName,
String tooltip,
Shortcut shortcut,
MapFrame mapFrame,
Cursor cursor)
Constructor for mapmodes without an menu
|
Modifier and Type | Field and Description |
---|---|
private static Shortcut |
FilterDialog.ENABLE_FILTER_SHORTCUT |
private static Shortcut |
FilterDialog.HIDING_FILTER_SHORTCUT |
private Shortcut |
LayerListDialog.ShowHideLayerAction.multikeyShortcut |
private Shortcut |
LayerListDialog.ActivateLayerAction.multikeyShortcut |
private Shortcut[] |
LayerListDialog.visibilityToggleShortcuts |
Modifier and Type | Method and Description |
---|---|
Shortcut |
FilterDialog.EnableFilterAction.getMultikeyShortcut() |
Shortcut |
FilterDialog.HidingFilterAction.getMultikeyShortcut() |
Shortcut |
LayerListDialog.ShowHideLayerAction.getMultikeyShortcut() |
Shortcut |
LayerListDialog.ActivateLayerAction.getMultikeyShortcut() |
Constructor and Description |
---|
ToggleDialog.ToggleDialogAction(String name,
String iconName,
String tooltip,
Shortcut shortcut) |
ToggleDialog(String name,
String iconName,
String tooltip,
Shortcut shortcut,
int preferredHeight)
Constructor
|
ToggleDialog(String name,
String iconName,
String tooltip,
Shortcut shortcut,
int preferredHeight,
boolean defShow)
Constructor
|
ToggleDialog(String name,
String iconName,
String tooltip,
Shortcut shortcut,
int preferredHeight,
boolean defShow,
Class<? extends PreferenceSetting> prefClass)
Constructor
|
Modifier and Type | Field and Description |
---|---|
private Shortcut |
JumpToMarkerActions.JumpToMarker.multikeyShortcut |
Modifier and Type | Method and Description |
---|---|
Shortcut |
JumpToMarkerActions.JumpToMarker.getMultikeyShortcut() |
Constructor and Description |
---|
JumpToMarkerActions.JumpToMarker(JumpToMarkerActions.JumpToMarkerLayer layer,
Shortcut shortcut) |
Modifier and Type | Field and Description |
---|---|
private List<Shortcut> |
PrefJPanel.ScListModel.data |
Modifier and Type | Field and Description |
---|---|
private List<Pair<Action,Shortcut>> |
DisableShortcutsOnFocusGainedTextField.unregisteredActionShortcuts |
Modifier and Type | Field and Description |
---|---|
(package private) Shortcut |
MultikeyActionsHandler.MyAction.shortcut |
Modifier and Type | Field and Description |
---|---|
private static Map<String,Shortcut> |
Shortcut.shortcuts |
Modifier and Type | Method and Description |
---|---|
static Shortcut |
Shortcut.findShortcut(int requestedKey,
int modifier) |
Shortcut |
MultikeyShortcutAction.getMultikeyShortcut() |
private static Shortcut |
Shortcut.reassignShortcut(String shortText,
String longText,
int requestedKey,
Shortcut conflict,
int m,
int k,
int newmodifier) |
static Shortcut |
Shortcut.registerShortcut(String shortText,
String longText,
int requestedKey,
int requestedGroup)
Register a shortcut.
|
private static Shortcut |
Shortcut.registerShortcut(String shortText,
String longText,
int requestedKey,
int requestedGroup,
Integer modifier) |
static Shortcut |
Shortcut.registerSystemShortcut(String shortText,
String longText,
int key,
int modifier)
FOR PLATFORMHOOK USE ONLY
This registers a system shortcut.
|
Modifier and Type | Method and Description |
---|---|
static List<Shortcut> |
Shortcut.listAll()
FOR PREF PANE ONLY
|
Modifier and Type | Method and Description |
---|---|
String |
PlatformHookOsx.makeTooltip(String name,
Shortcut sc) |
String |
PlatformHook.makeTooltip(String name,
Shortcut sc)
The makeTooltip hook will be called whenever a tooltip for
a menu or button is created.
|
String |
PlatformHookUnixoid.makeTooltip(String name,
Shortcut sc)
This should work for all platforms.
|
private static Shortcut |
Shortcut.reassignShortcut(String shortText,
String longText,
int requestedKey,
Shortcut conflict,
int m,
int k,
int newmodifier) |