< prev index next >

src/java.desktop/share/classes/sun/awt/AWTAccessor.java

Print this page

        

@@ -27,10 +27,11 @@
 
 import sun.misc.Unsafe;
 
 import javax.accessibility.AccessibleContext;
 import java.awt.*;
+import java.awt.event.FocusEvent.Cause;
 import java.awt.dnd.DragSourceContext;
 import java.awt.dnd.DropTargetContext;
 import java.awt.dnd.peer.DragSourceContextPeer;
 import java.awt.dnd.peer.DropTargetContextPeer;
 import java.awt.event.InputEvent;

@@ -102,11 +103,11 @@
          */
         void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc);
         /*
          * Requests focus to the component.
          */
-        boolean requestFocus(Component comp, CausedFocusEvent.Cause cause);
+        boolean requestFocus(Component comp, Cause cause);
         /*
          * Determines if the component can gain focus.
          */
         boolean canBeFocusOwner(Component comp);
 

@@ -436,11 +437,11 @@
         int shouldNativelyFocusHeavyweight(Component heavyweight,
                                            Component descendant,
                                            boolean temporary,
                                            boolean focusedWindowChangeAllowed,
                                            long time,
-                                           CausedFocusEvent.Cause cause);
+                                           Cause cause);
         /**
          * Delivers focus for the lightweight descendant of the heavyweight
          * synchronously.
          */
         boolean processSynchronousLightweightTransfer(Component heavyweight,
< prev index next >