home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import javax.accessibility.AccessibleKeyBinding;
-
- class AbstractButton$AccessibleAbstractButton$ButtonKeyBinding implements AccessibleKeyBinding {
- int mnemonic;
- // $FF: synthetic field
- final AbstractButton.AccessibleAbstractButton this$1;
-
- AbstractButton$AccessibleAbstractButton$ButtonKeyBinding(AbstractButton.AccessibleAbstractButton var1, int var2) {
- this.this$1 = var1;
- this.mnemonic = var2;
- }
-
- public int getAccessibleKeyBindingCount() {
- return 1;
- }
-
- public Object getAccessibleKeyBinding(int var1) {
- if (var1 != 0) {
- throw new IllegalArgumentException();
- } else {
- return KeyStroke.getKeyStroke(this.mnemonic, 0);
- }
- }
- }
-