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

pack-priv Class XCanvasPeer

extends XComponentPeer
implements CanvasPeer
Class Inheritance
All Implemented Interfaces
java.awt.peer.CanvasPeer, java.awt.peer.ComponentPeer
Known Direct Subclasses
sun.awt.X11.XEmbedCanvasPeer, sun.awt.X11.XPanelPeer
Imports
java.awt.*, java.awt.peer.*, sun.awt.SunToolkit, .X11GraphicsConfig, .X11GraphicsDevice

Field Summary

Modifier and TypeField and Description
private boolean
Inherited from sun.awt.X11.XComponentPeer:
backgroundBACKGROUND_COLORbHasFocusboundsOperationdarkShadowfontforegroundFOREGROUND_COLORHIGHLIGHT_COLORisLayoutinglightShadowpaintPendingselectColorSHADOW_COLORsystemColors

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
protected boolean
public GraphicsConfiguration
private X11GraphicsDevice
pack-priv void
preInit(XCreateWindowParams params)

Overrides sun.awt.X11.XComponentPeer.preInit.

Called before window creation, descendants should override to initialize the data, initialize params.

protected boolean
Inherited from sun.awt.X11.XComponentPeer:
addDropTargetapplyShapebeginLayoutbeginValidatecanDetermineObscuritycoalescePaintEventcreateBufferscreateImagecreateVolatileImagedestroyBuffersdraw3DOvaldraw3DOvaldraw3DRectdraw3DRectdrawMotif3DRectdrawScrollbarendLayoutendValidateflipfocusGainedfocusLostgetBackBuffergetBackBufferCapsgetFontgetFontMetricsgetGraphicsgetGUIcolorsgetInsetsgetMinimumSizegetParentTopLevelgetPeerBackgroundgetPeerFontgetPeerForegroundgetPeerSizegetPreferredSizegetRGBvalsgetSystemColorsgetWinBackgroundhandleEventhandleF10JavaKeyEventhandleJavaFocusEventhandleJavaInputMethodEventhandleJavaKeyEventhandleJavaMouseEventhandleJavaMouseWheelEventhandleJavaWindowFocusEventhandlesWheelScrollinghasFocushideisEnabledisEventDisabledisFocusableisInitialReshapeisObscuredisPaintPendingisReparentSupportedlayoutnotifyTextComponentChangeoperationToStringpaintpostInitprintpSetCursorpSetCursorremoveDropTargetreparentrequestFocusreshapesetBackgroundsetBoundssetBoundsOperationsetEnabledsetFontsetForegroundsetVisiblesetZOrderupdateCursorImmediatelyupdateGraphicsDataupdateMotifColorswrapInSequenced

Field Detail

eraseBackgroundDisabledback to summary
private boolean eraseBackgroundDisabled

Constructor Detail

XCanvasPeerback to summary
pack-priv XCanvasPeer()
XCanvasPeerback to summary
pack-priv XCanvasPeer(XCreateWindowParams params)
XCanvasPeerback to summary
pack-priv XCanvasPeer(Component target)

Method Detail

disableBackgroundEraseback to summary
public void disableBackgroundErase()
doEraseBackgroundback to summary
protected boolean doEraseBackground()

Overrides sun.awt.X11.XWindow.doEraseBackground.

Annotations
@Override
getAppropriateGraphicsConfigurationback to summary
public GraphicsConfiguration getAppropriateGraphicsConfiguration(GraphicsConfiguration gc)

Implements java.awt.peer.CanvasPeer.getAppropriateGraphicsConfiguration.

Doc from java.awt.peer.CanvasPeer.getAppropriateGraphicsConfiguration.

Requests a GC that best suits this Canvas. The returned GC may differ from the requested GC passed as the argument to this method. This method must return a non-null value (given the argument is non-null as well).

Annotations
@Override
getSameScreenDeviceback to summary
private X11GraphicsDevice getSameScreenDevice(GraphicsConfiguration gc)
preInitback to summary
pack-priv void preInit(XCreateWindowParams params)

Overrides sun.awt.X11.XComponentPeer.preInit.

Doc from sun.awt.X11.XBaseWindow.preInit.

Called before window creation, descendants should override to initialize the data, initialize params.

Annotations
@Override
shouldFocusOnClickback to summary
protected boolean shouldFocusOnClick()