Example usage for javafx.scene.input KeyCodeCombination getName

List of usage examples for javafx.scene.input KeyCodeCombination getName

Introduction

In this page you can find the example usage for javafx.scene.input KeyCodeCombination getName.

Prototype

@Override
public String getName() 

Source Link

Document

Returns a string representation of this KeyCodeCombination .

Usage

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();
}