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

public Class XPanelPeer

extends XCanvasPeer
implements PanelPeer
Class Inheritance
All Implemented Interfaces
java.awt.peer.PanelPeer, java.awt.peer.ContainerPeer, java.awt.peer.ComponentPeer
Known Direct Subclasses
sun.awt.X11.XWindowPeer
Imports
java.awt.*, java.awt.peer.*, sun.awt.AWTAccessor, .AWTAccessor.ComponentAccessor, .SunGraphicsCallback

Field Summary

Modifier and TypeField and Description
pack-priv XEmbeddingContainer

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
dispose()

Overrides sun.awt.X11.XWindow.dispose.

Implements java.awt.peer.ComponentPeer.dispose.

Disposes all resources held by the component peer.

public Insets
getInsets()

Overrides sun.awt.X11.XComponentPeer.getInsets.

Implements java.awt.peer.ContainerPeer.getInsets.

Returns the insets of this container.

public void
paint(Graphics g)

Overrides sun.awt.X11.XComponentPeer.paint.

Implements java.awt.peer.ComponentPeer.paint.

Paints the component to the specified graphics context.

pack-priv void
postInit(XCreateWindowParams params)

Overrides sun.awt.X11.XComponentPeer.postInit.

Called after window creation, descendants should override to initialize Window with class-specific values and perform post-initialization actions.

public void
setBackground(Color c)

Overrides sun.awt.X11.XComponentPeer.setBackground.

Implements java.awt.peer.ComponentPeer.setBackground.

Sets the background color of this component.

public void
setForeground(Color c)

Overrides sun.awt.X11.XComponentPeer.setForeground.

Implements java.awt.peer.ComponentPeer.setForeground.

Sets the foreground color of this component.

private void
protected boolean
public void
xembed(long window)

Embeds the given window into container using XEmbed protocol

Inherited from sun.awt.X11.XCanvasPeer:
disableBackgroundErasedoEraseBackgroundgetAppropriateGraphicsConfigurationpreInit

Field Detail

embedderback to summary
pack-priv XEmbeddingContainer embedder

Constructor Detail

XPanelPeerback to summary
pack-priv XPanelPeer()
XPanelPeerback to summary
pack-priv XPanelPeer(XCreateWindowParams params)
XPanelPeerback to summary
pack-priv XPanelPeer(Component target)

Method Detail

disposeback to summary
public void dispose()

Overrides sun.awt.X11.XWindow.dispose.

Implements java.awt.peer.ComponentPeer.dispose.

Doc from java.awt.peer.ComponentPeer.dispose.

Disposes all resources held by the component peer. This is called when the component has been disconnected from the component hierarchy and is about to be garbage collected.

Annotations
@Override
getInsetsback to summary
public Insets getInsets()

Overrides sun.awt.X11.XComponentPeer.getInsets.

Implements java.awt.peer.ContainerPeer.getInsets.

Doc from java.awt.peer.ContainerPeer.getInsets.

Returns the insets of this container. Insets usually is the space that is occupied by things like borders.

Annotations
@Override
paintback to summary
public void paint(Graphics g)

Overrides sun.awt.X11.XComponentPeer.paint.

Implements java.awt.peer.ComponentPeer.paint.

Doc from java.awt.peer.ComponentPeer.paint.

Paints the component to the specified graphics context. This is called by Component#paintAll(Graphics) to paint the component.

Annotations
@Override
postInitback to summary
pack-priv void postInit(XCreateWindowParams params)

Overrides sun.awt.X11.XComponentPeer.postInit.

Doc from sun.awt.X11.XBaseWindow.postInit.

Called after window creation, descendants should override to initialize Window with class-specific values and perform post-initialization actions.

Annotations
@Override
setBackgroundback to summary
public void setBackground(Color c)

Overrides sun.awt.X11.XComponentPeer.setBackground.

Implements java.awt.peer.ComponentPeer.setBackground.

Doc from java.awt.peer.ComponentPeer.setBackground.

Sets the background color of this component.

Annotations
@Override
setForegroundback to summary
public void setForeground(Color c)

Overrides sun.awt.X11.XComponentPeer.setForeground.

Implements java.awt.peer.ComponentPeer.setForeground.

Doc from java.awt.peer.ComponentPeer.setForeground.

Sets the foreground color of this component.

Annotations
@Override
setForegroundForHierarchyback to summary
private void setForegroundForHierarchy(Container cont, Color c)
shouldFocusOnClickback to summary
protected boolean shouldFocusOnClick()

Overrides sun.awt.X11.XCanvasPeer.shouldFocusOnClick.

Annotations
@Override
xembedback to summary
public void xembed(long window)

Embeds the given window into container using XEmbed protocol