Package jadx.gui.utils.shortcut
Class ShortcutsController
- java.lang.Object
-
- jadx.gui.utils.shortcut.ShortcutsController
-
public class ShortcutsController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShortcutsController(JadxSettings settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(IShortcutAction action)Binds to an action and updates its shortcut every time loadSettings is calledvoidbindImmediate(IShortcutAction action)@Nullable Shortcutget(ActionModel actionModel)static java.util.Map<ActionModel,Shortcut>getDefault()javax.swing.KeyStrokegetKeyStroke(ActionModel actionModel)voidloadSettings()voidregisterMouseEventListener(MainWindow mw)voidreset()Keep only actions bound to the main window.voidunbindActionsForComponent(javax.swing.JComponent component)
-
-
-
Constructor Detail
-
ShortcutsController
public ShortcutsController(JadxSettings settings)
-
-
Method Detail
-
loadSettings
public void loadSettings()
-
get
@Nullable public @Nullable Shortcut get(ActionModel actionModel)
-
getKeyStroke
public javax.swing.KeyStroke getKeyStroke(ActionModel actionModel)
-
bind
public void bind(IShortcutAction action)
Binds to an action and updates its shortcut every time loadSettings is called
-
bindImmediate
public void bindImmediate(IShortcutAction action)
-
getDefault
public static java.util.Map<ActionModel,Shortcut> getDefault()
-
registerMouseEventListener
public void registerMouseEventListener(MainWindow mw)
-
unbindActionsForComponent
public void unbindActionsForComponent(javax.swing.JComponent component)
-
reset
public void reset()
Keep only actions bound to the main window. Other actions will be added on demand.
-
-