Package org.jedit.keymap
Interface Keymap
-
public interface Keymap
- Since:
- jEdit 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getShortcut(java.lang.String name)
Returns a shortcut.void
save()
Save the keymaps.void
setShortcut(java.lang.String name, java.lang.String shortcut)
Set a new shortcut.
-
-
-
Method Detail
-
getShortcut
java.lang.String getShortcut(java.lang.String name)
Returns a shortcut.- Parameters:
name
- the shortcut name- Returns:
- the action name or
null
if there is no shortcut
-
setShortcut
void setShortcut(java.lang.String name, java.lang.String shortcut)
Set a new shortcut.- Parameters:
name
- the shortcut nameshortcut
- the action name, ornull
to delete a shortcut
-
save
void save()
Save the keymaps.
-
-