< prev index next >

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

Print this page

        

*** 27,36 **** --- 27,37 ---- 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,112 **** */ void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc); /* * Requests focus to the component. */ ! boolean requestFocus(Component comp, CausedFocusEvent.Cause cause); /* * Determines if the component can gain focus. */ boolean canBeFocusOwner(Component comp); --- 103,113 ---- */ void setGraphicsConfiguration(Component comp, GraphicsConfiguration gc); /* * Requests focus to the component. */ ! boolean requestFocus(Component comp, Cause cause); /* * Determines if the component can gain focus. */ boolean canBeFocusOwner(Component comp);
*** 436,446 **** int shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time, ! CausedFocusEvent.Cause cause); /** * Delivers focus for the lightweight descendant of the heavyweight * synchronously. */ boolean processSynchronousLightweightTransfer(Component heavyweight, --- 437,447 ---- int shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time, ! Cause cause); /** * Delivers focus for the lightweight descendant of the heavyweight * synchronously. */ boolean processSynchronousLightweightTransfer(Component heavyweight,
< prev index next >