public abstract class ShortCutStd
extends java.lang.Object
Extend the class to override the method interpretControlModifiedKeys:
public final class MainShortCuts extends de.must.wuic.ShortCutStd {
Create it e.g. in the MainMenu class:
private MainShortCuts mainShortCuts = new MainShortCuts();
Help
Constructor and Description |
---|
ShortCutStd()
Constructs a shortcut instance and registers it statically for later use by standard components.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.event.KeyEvent |
getLastSuccessfullInterpretedKeyEvent() |
protected boolean |
interpretControlModifiedKeys(int keyEventVKcode)
Called each time a key is pressed in combination with ctrl modifier.
|
public ShortCutStd()
public static java.awt.event.KeyEvent getLastSuccessfullInterpretedKeyEvent()
protected boolean interpretControlModifiedKeys(int keyEventVKcode)
keyEventVKcode
- the key code of the pressed keyCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de