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

public Class XEmbeddedFrame

extends EmbeddedFrame
Class Inheritance
Known Direct Subclasses
sun.awt.X11.XTrayIconPeer.XTrayIconEmbeddedFrame
Annotations
@SuppressWarnings:serial
Imports
java.awt.AWTKeyStroke, .Component, .Toolkit, java.awt.peer.ComponentPeer, sun.awt.AWTAccessor, .EmbeddedFrame, sun.util.logging.PlatformLogger

Field Summary

Modifier and TypeField and Description
pack-priv long
private static final PlatformLogger
Inherited from sun.awt.EmbeddedFrame:
BACKWARDFORWARD

Constructor Summary

AccessConstructor and Description
public
public
XEmbeddedFrame(long handle)

public
XEmbeddedFrame(long handle, boolean supportsXEmbed, boolean isTrayIconWindow)

public
XEmbeddedFrame(long handle, boolean supportsXEmbed)

Method Summary

Modifier and TypeMethod and Description
public void
addNotify()

Overrides sun.awt.EmbeddedFrame.addNotify.

Makes this Frame displayable by connecting it to a native screen resource.

public void
public void
synthesizeWindowActivation(boolean doActivate)

Overrides sun.awt.EmbeddedFrame.synthesizeWindowActivation.

Synthesize native message to activate or deactivate EmbeddedFrame window depending on the value of parameter b.

public boolean
traverseIn(boolean direction)

Overrides sun.awt.EmbeddedFrame.traverseIn.

This method is called by the embedder when we should receive focus as element of the traversal chain.

protected boolean
traverseOut(boolean direction)

Overrides sun.awt.EmbeddedFrame.traverseOut.

This method is called from dispatchKeyEvent in the following two cases: 1.

public void
Inherited from sun.awt.EmbeddedFrame:
dispatchKeyEventgetBoundsPrivategetCursorgetLocationPrivategetParenthideisCursorAllowedisResizablenotifyModalBlockedpropertyChangeregisterListenersremovesetBoundsPrivatesetCursorAllowedsetIconImagesetIconImagessetLocationPrivatesetMenuBarsetPeersetResizablesetTitleshowsupportsXEmbedtoBacktoFront

Field Detail

handleback to summary
pack-priv long handle
logback to summary
private static final PlatformLogger log

Hides java.awt.Window.log.

Constructor Detail

XEmbeddedFrameback to summary
public XEmbeddedFrame()
XEmbeddedFrameback to summary
public XEmbeddedFrame(long handle)
XEmbeddedFrameback to summary
public XEmbeddedFrame(long handle, boolean supportsXEmbed, boolean isTrayIconWindow)
XEmbeddedFrameback to summary
public XEmbeddedFrame(long handle, boolean supportsXEmbed)

Method Detail

addNotifyback to summary
public void addNotify()

Overrides sun.awt.EmbeddedFrame.addNotify.

Doc from java.awt.Frame.addNotify.

Makes this Frame displayable by connecting it to a native screen resource. Making a frame displayable will cause any of its children to be made displayable. This method is called internally by the toolkit and should not be called directly by programs.

Annotations
@Override
registerAcceleratorback to summary
public void registerAccelerator(AWTKeyStroke stroke)

Implements abstract sun.awt.EmbeddedFrame.registerAccelerator.

Annotations
@Override
synthesizeWindowActivationback to summary
public void synthesizeWindowActivation(boolean doActivate)

Overrides sun.awt.EmbeddedFrame.synthesizeWindowActivation.

Doc from sun.awt.EmbeddedFrame.synthesizeWindowActivation.

Synthesize native message to activate or deactivate EmbeddedFrame window depending on the value of parameter b. Peers should override this method if they are to implement this functionality.

Annotations
@Override
traverseInback to summary
public boolean traverseIn(boolean direction)

Overrides sun.awt.EmbeddedFrame.traverseIn.

Doc from sun.awt.EmbeddedFrame.traverseIn.

This method is called by the embedder when we should receive focus as element of the traversal chain. The method requests focus on: 1. the first Component of this EmbeddedFrame if user moves focus forward in the focus traversal cycle. 2. the last Component of this EmbeddedFrame if user moves focus backward in the focus traversal cycle. The direction parameter specifies which of the two mentioned cases is happening. Use FORWARD and BACKWARD constants defined in the EmbeddedFrame class to avoid confusing boolean values. A concrete implementation of this method is defined in the platform-dependent subclasses.

Annotations
@Override
traverseOutback to summary
protected boolean traverseOut(boolean direction)

Overrides sun.awt.EmbeddedFrame.traverseOut.

Doc from sun.awt.EmbeddedFrame.traverseOut.

This method is called from dispatchKeyEvent in the following two cases: 1. The focus is on the first Component of this EmbeddedFrame and we are about to transfer the focus backward. 2. The focus in on the last Component of this EmbeddedFrame and we are about to transfer the focus forward. This is needed to give the opportunity for keyboard focus to leave the EmbeddedFrame. Override this method, initiate focus transfer in it and return true if you want the focus to leave EmbeddedFrame's cycle. The direction parameter specifies which of the two mentioned cases is happening. Use FORWARD and BACKWARD constants defined in EmbeddedFrame to avoid confusing boolean values.

Annotations
@Override
unregisterAcceleratorback to summary
public void unregisterAccelerator(AWTKeyStroke stroke)

Implements abstract sun.awt.EmbeddedFrame.unregisterAccelerator.

Annotations
@Override