home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- import java.awt.event.FocusEvent;
- import java.awt.event.FocusListener;
- import javax.accessibility.AccessibleState;
-
- public class Component$AccessibleAWTComponent$AccessibleAWTFocusHandler implements FocusListener {
- // $FF: synthetic field
- final Component.AccessibleAWTComponent this$1;
-
- protected Component$AccessibleAWTComponent$AccessibleAWTFocusHandler(Component.AccessibleAWTComponent 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);
- }
-
- }
- }
-