List of usage examples for javafx.scene.input KeyCodeCombination KeyCodeCombination
public KeyCodeCombination(final @NamedArg("code") KeyCode code, final @NamedArg("shift") ModifierValue shift, final @NamedArg("control") ModifierValue control, final @NamedArg("alt") ModifierValue alt, final @NamedArg("meta") ModifierValue meta, final @NamedArg("shortcut") ModifierValue shortcut)
From source file:com.ubershy.streamsis.actions.HotkeyAction.java
private String generateStubKeyCombinationString() { ArrayList<ModifierValue> modifiers = generateDefaultModifiers(); // No way to create KeyCodeCombination with null keycode, using "Clear" that is not located // on keyboard; KeyCodeCombination kb = new KeyCodeCombination(emptyCode, modifiers.get(0), modifiers.get(1), modifiers.get(2), modifiers.get(3), modifiers.get(4)); return kb.getName(); }