home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.event.FocusEvent;
- import java.awt.event.FocusListener;
- import javax.accessibility.AccessibleState;
-
- public class JComponent$AccessibleJComponent$AccessibleFocusHandler implements FocusListener {
- // $FF: synthetic field
- final JComponent.AccessibleJComponent this$1;
-
- protected JComponent$AccessibleJComponent$AccessibleFocusHandler(JComponent.AccessibleJComponent var1) {
- this.this$1 = var1;
- }
-
- public void focusGained(FocusEvent var1) {
- if (this.this$1.this$0.accessibleContext != null) {
- this.this$1.this$0.accessibleContext.firePropertyChange("AccessibleState", (Object)null, AccessibleState.FOCUSED);
- }
-
- }
-
- public void focusLost(FocusEvent var1) {
- if (this.this$1.this$0.accessibleContext != null) {
- this.this$1.this$0.accessibleContext.firePropertyChange("AccessibleState", AccessibleState.FOCUSED, (Object)null);
- }
-
- }
- }
-