org.gudy.azureus2.ui.swt
Class KeyBindings.KeyBindingInfo

java.lang.Object
  extended by org.gudy.azureus2.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
 int accelerator
          The SWT keyboard accelerator value
 java.lang.String name
          The display name of the accelerator
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final java.lang.String name
The display name of the accelerator


accelerator

public final int accelerator
The SWT keyboard accelerator value