APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.X11

public final Class XKeyboardFocusManagerPeer

extends KeyboardFocusManagerPeerImpl
Class Inheritance
Imports
java.awt.Component, .Window, sun.awt.AWTAccessor, .KeyboardFocusManagerPeerImpl, java.awt.event.FocusEvent, sun.util.logging.PlatformLogger

Field Summary

Modifier and TypeField and Description
private Window
private Component
private static final PlatformLogger
private static final XKeyboardFocusManagerPeer
Inherited from sun.awt.KeyboardFocusManagerPeerImpl:
SNFH_FAILURESNFH_SUCCESS_HANDLEDSNFH_SUCCESS_PROCEED

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
deliverFocus(Component lightweightChild, Component target, boolean temporary, boolean focusedWindowChangeAllowed, long time, FocusEvent.Cause cause)

public Window
public Component
getCurrentFocusOwner()

Implements java.awt.peer.KeyboardFocusManagerPeer.getCurrentFocusOwner.

Returns the component that currently owns the input focus.

public static XKeyboardFocusManagerPeer
public void
setCurrentFocusedWindow(Window win)

Implements java.awt.peer.KeyboardFocusManagerPeer.setCurrentFocusedWindow.

Sets the window that should become the focused window.

public void
setCurrentFocusOwner(Component comp)

Implements java.awt.peer.KeyboardFocusManagerPeer.setCurrentFocusOwner.

Sets the component that should become the focus owner.

Inherited from sun.awt.KeyboardFocusManagerPeerImpl:
clearGlobalFocusOwnerdeliverFocusprocessSynchronousLightweightTransferremoveLastFocusRequestrequestFocusForshouldFocusOnClickshouldNativelyFocusHeavyweight

Field Detail

currentFocusedWindowback to summary
private Window currentFocusedWindow
currentFocusOwnerback to summary
private Component currentFocusOwner
focusLogback to summary
private static final PlatformLogger focusLog

Hides sun.awt.KeyboardFocusManagerPeerImpl.focusLog.

instback to summary
private static final XKeyboardFocusManagerPeer inst

Constructor Detail

XKeyboardFocusManagerPeerback to summary
private XKeyboardFocusManagerPeer()

Method Detail

deliverFocusback to summary
public static boolean deliverFocus(Component lightweightChild, Component target, boolean temporary, boolean focusedWindowChangeAllowed, long time, FocusEvent.Cause cause)
getCurrentFocusedWindowback to summary
public Window getCurrentFocusedWindow()

Implements java.awt.peer.KeyboardFocusManagerPeer.getCurrentFocusedWindow.

Doc from java.awt.peer.KeyboardFocusManagerPeer.getCurrentFocusedWindow.

Returns the currently focused window.

Annotations
@Override
getCurrentFocusOwnerback to summary
public Component getCurrentFocusOwner()

Implements java.awt.peer.KeyboardFocusManagerPeer.getCurrentFocusOwner.

Doc from java.awt.peer.KeyboardFocusManagerPeer.getCurrentFocusOwner.

Returns the component that currently owns the input focus.

Annotations
@Override
getInstanceback to summary
public static XKeyboardFocusManagerPeer getInstance()
setCurrentFocusedWindowback to summary
public void setCurrentFocusedWindow(Window win)

Implements java.awt.peer.KeyboardFocusManagerPeer.setCurrentFocusedWindow.

Doc from java.awt.peer.KeyboardFocusManagerPeer.setCurrentFocusedWindow.

Sets the window that should become the focused window.

Annotations
@Override
setCurrentFocusOwnerback to summary
public void setCurrentFocusOwner(Component comp)

Implements java.awt.peer.KeyboardFocusManagerPeer.setCurrentFocusOwner.

Doc from java.awt.peer.KeyboardFocusManagerPeer.setCurrentFocusOwner.

Sets the component that should become the focus owner.

Annotations
@Override