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

public final Class XContentWindow

extends XWindow
Class Inheritance
Imports
java.awt.Component, .Rectangle, .Insets, java.awt.event.ComponentEvent, sun.util.logging.PlatformLogger, sun.awt.AWTAccessor

This class implements window which serves as content window for decorated frames. Its purpose to provide correct events dispatching for the complex constructs such as decorated frames. It should always be located at (- left inset, - top inset) in the associated decorated window. So coordinates in it would be the same as java coordinates.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final List<XContentWindow.SavedExposeEvent>
private static PlatformLogger
private final XDecoratedPeer
Inherited from sun.awt.X11.XWindow:
backgroundColorclickCountgraphicsConfiggraphicsConfigDatalastButtonlastTimelastWindowReflastXlastYmwm_hintsoldHeightoldWidthpaintAreaparentREPARENTEDsurfaceDatatargetTARGETwinAttrwm_delete_windowwm_protocolswm_take_focus

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static XContentWindow
protected String
public void
public void
protected boolean
public void
postPaintEvent(Component target, int x, int y, int w, int h)

Overrides sun.awt.X11.XWindow.postPaintEvent.

pack-priv void
preInit(XCreateWindowParams params)

Overrides sun.awt.X11.XWindow.preInit.

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

pack-priv void
pack-priv void
public String
toString()

Overrides sun.awt.X11.XBaseWindow.toString.

Returns a string representation of the object.

Inherited from sun.awt.X11.XWindow:
disposedoEraseBackgrounddoLayoutdoValidateSurfaceenterNotifyflushgetAWTKeyCodeForKeySymgetColorModelgetColorModelgetDefaultFontgetEventSourcegetFontMetricsgetGraphicsgetGraphicsgetGraphicsConfigurationgetGraphicsConfigurationDatagetKeySymForAWTKeyCodegetLocationOnScreengetModifiersgetMouseMovementSmudgegetMWMHintsgetParentWindowIDgetParentXWindowObjectgetScalegetSurfaceDatagetTargetgetTargetBoundsgetWheelModifiersgetWinBackgroundgetWMClassgetWMProtocolsgetWMStategetXModifiershandleButtonPressReleasehandleConfigureNotifyEventhandleKeyPresshandleKeyPresshandleKeyReleasehandleMapNotifyEventhandleMotionNotifyhandlePropertyNotifyhandleUnmapNotifyEventhandleXCrossingEventinitGraphicsConfigurationinitWMProtocolsisEmbeddedisFullScreenExclusiveModeisLocationByPlatformisMouseAboveisParentOfisReparentedisResizableisShowingisWheelkeyEventType2IdkeysymToUnicodelayoutleaveNotifylogIncomingKeyEventpaintpaintPeerpopuppostEventpostEventStaticpostEventToEventQueuepostInitpostKeyEventprePostEventrepaintrepaintreshapereshapescaleDownscaleUpsendEventsetBackgroundsetBDatasetFullScreenExclusiveModeStatesetMouseAbovesetMWMHintssetReparentedstateChangedupdateSizeHintsupdateSizeHintsupdateSizeHintsvalidateSurfacewinBackgroundxSetBackground

Field Detail

iconifiedExposeEventsback to summary
private final List<XContentWindow.SavedExposeEvent> iconifiedExposeEvents
insLogback to summary
private static PlatformLogger insLog

Hides sun.awt.X11.XWindow.insLog.

parentFrameback to summary
private final XDecoratedPeer parentFrame

Constructor Detail

XContentWindowback to summary
private XContentWindow(XDecoratedPeer parentFrame, Rectangle bounds)

Method Detail

createContentback to summary
pack-priv static XContentWindow createContent(XDecoratedPeer parentFrame)
getWMNameback to summary
protected String getWMName()

Overrides sun.awt.X11.XBaseWindow.getWMName.

Annotations
@Override
handleExposeEventback to summary
public void handleExposeEvent(XEvent xev)

Overrides sun.awt.X11.XWindow.handleExposeEvent.

Annotations
@Override
handleResizeback to summary
public void handleResize(Rectangle bounds)
isEventDisabledback to summary
protected boolean isEventDisabled(XEvent e)

Overrides sun.awt.X11.XBaseWindow.isEventDisabled.

Annotations
@Override
postPaintEventback to summary
public void postPaintEvent(Component target, int x, int y, int w, int h)

Overrides sun.awt.X11.XWindow.postPaintEvent.

Annotations
@Override
preInitback to summary
pack-priv void preInit(XCreateWindowParams params)

Overrides sun.awt.X11.XWindow.preInit.

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

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

Annotations
@Override
purgeIconifiedExposeEventsback to summary
pack-priv void purgeIconifiedExposeEvents()
setContentBoundsback to summary
pack-priv void setContentBounds(WindowDimensions dims)
toStringback to summary
public String toString()

Overrides sun.awt.X11.XBaseWindow.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
sun.awt.X11 back to summary

private final Class XContentWindow.SavedExposeEvent

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
h

pack-priv Component
pack-priv int
w

pack-priv int
x

pack-priv int
y

Constructor Summary

AccessConstructor and Description
pack-priv
SavedExposeEvent(Component target, int x, int y, int w, int h)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hback to summary
pack-priv int h
targetback to summary
pack-priv Component target
wback to summary
pack-priv int w
xback to summary
pack-priv int x
yback to summary
pack-priv int y

Constructor Detail

SavedExposeEventback to summary
pack-priv SavedExposeEvent(Component target, int x, int y, int w, int h)