Uses of Class
javafx.scene.input.KeyCode
-
Packages that use KeyCode 软件包 描述 javafx.scene.input 提供一组用于鼠标和键盘输入事件处理的类。 -
-
Uses of KeyCode in javafx.scene.input
Methods in javafx.scene.input that return KeyCode Modifier and Type 方法 描述 KeyCodeKeyCodeCombination. getCode()获取与该组合关联的键码。KeyCodeKeyEvent. getCode()与该键中的键相关的键代码按下或键释放事件。KeyCodeKeyCombination.Modifier. getKey()获取此Modifier的修饰键。static KeyCodeKeyCode. getKeyCode(String name)解析一个键的文本表示。static KeyCodeKeyCode. valueOf(String name)以指定的名称返回此类型的枚举常量。static KeyCode[]KeyCode. values()按照它们声明的顺序返回一个包含此枚举类型常量的数组。Constructors in javafx.scene.input with parameters of type KeyCode Constructor 描述 KeyCodeCombination(KeyCode code, KeyCombination.Modifier... modifiers)为指定的主键和指定的修饰符列表构造一个KeyCodeCombination。KeyCodeCombination(KeyCode code, KeyCombination.ModifierValue shift, KeyCombination.ModifierValue control, KeyCombination.ModifierValue alt, KeyCombination.ModifierValue meta, KeyCombination.ModifierValue shortcut)为指定的主键构建一个KeyCodeCombination,并显式指定所有修改键。KeyEvent(Object source, EventTarget target, EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown)从指定的参数构造一个新的KeyEvent事件。KeyEvent(EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown)从指定的参数构建一个新的KeyEvent事件,其中包含一个null源和目标。
-