home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import javax.accessibility.AccessibleKeyBinding;
-
- class JLabel$AccessibleJLabel$LabelKeyBinding implements AccessibleKeyBinding {
- int mnemonic;
- // $FF: synthetic field
- final JLabel.AccessibleJLabel this$1;
-
- JLabel$AccessibleJLabel$LabelKeyBinding(JLabel.AccessibleJLabel 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);
- }
- }
- }
-