Package com.biglybt.ui.swt
Class KeyBindings.KeyBindingInfo
- java.lang.Object
-
- com.biglybt.ui.swt.KeyBindings.KeyBindingInfo
-
- Enclosing class:
- KeyBindings
public static class KeyBindings.KeyBindingInfo extends java.lang.Object
A basic bean object containing the SWT accelerator and its display name. This is because on platforms like Windows, vanilla SWT MenuItem must be provided the textual representation (display name) of the accelerator in order for it to be visible to the users (as opposed to having it handled by a higher- level API like JFace or native rendering).
-
-
Field Summary
Fields Modifier and Type Field Description int
accelerator
The SWT keyboard accelerator valuejava.lang.String
name
The display name of the accelerator
-
Constructor Summary
Constructors Modifier Constructor Description private
KeyBindingInfo(java.lang.String name, int accelerator)
Constructs a new KeyBindingInfo object with the given accelerator name and accelerator value
-