| java.lang.Object java.awt.ComponentXWindow java.awt.HeavyweightComponentXWindow java.awt.WindowXWindow
All known Subclasses: java.awt.FrameXWindow, java.awt.DialogXWindow,
WindowXWindow | class WindowXWindow extends HeavyweightComponentXWindow (Code) | | The base class for all top level windows. Top level X windows
have the X root window as their parent.
version: 1.17, 08/19/02 author: Nicholas Allen |
Method Summary | |
void | create() | native int | create(int owner) | void | map() | void | postMouseButtonEvent(int id, long when, int modifiers, int x, int y) Called when a mouse event is received from the X server for this X window. | void | postMouseEvent(int id, long when, int modifiers, int x, int y) | void | postMovedEvent() | final void | postPaintEvent(int x, int y, int width, int height) Called by the native code when an area of the X Window is exposed.
This posts a paint event into Java's event queue for processing by Java
so that the exposed area is redrawn. | void | postResizedEvent() | final synchronized void | setBounds(int x, int y, int width, int height) | native void | setBoundsNative(int x, int y, int width, int height) | void | setDefaultBorders(int top, int left, int bottom, int right) | final void | setIconImage(Image image) | final native void | setIconImageNative(int pixmap) | final native void | setMouseEventMask(long mask) Sets the event mask for the X window using the supplied event mask (see AWTEvent).
This lets the X server know what kinds of events we are interested in. | final synchronized void | setResizable(boolean b) | final synchronized void | setSizeHints(Dimension minSize, Dimension maxSize) Sets the hints for the window manager for the minimum/maximum size of the window.
The window manager may or may not respect this. | final native void | setTitle(String title) | final native void | toBack() | final native void | toFront() |
topBorderleftBorderbottomBorderrightBorder | int topBorderleftBorderbottomBorderrightBorder(Code) | | |
create | native int create(int owner)(Code) | | |
postMouseButtonEvent | void postMouseButtonEvent(int id, long when, int modifiers, int x, int y)(Code) | | Called when a mouse event is received from the X server for this X window. We post a
mouse event into Java's event queue for processing. This is overriden to translate the coordinates
to the outer window's coordinate system.
|
postMouseEvent | void postMouseEvent(int id, long when, int modifiers, int x, int y)(Code) | | |
postMovedEvent | void postMovedEvent()(Code) | | |
postPaintEvent | final void postPaintEvent(int x, int y, int width, int height)(Code) | | Called by the native code when an area of the X Window is exposed.
This posts a paint event into Java's event queue for processing by Java
so that the exposed area is redrawn.
|
postResizedEvent | void postResizedEvent()(Code) | | |
setBounds | final synchronized void setBounds(int x, int y, int width, int height)(Code) | | |
setBoundsNative | native void setBoundsNative(int x, int y, int width, int height)(Code) | | |
setDefaultBorders | void setDefaultBorders(int top, int left, int bottom, int right)(Code) | | |
setIconImageNative | final native void setIconImageNative(int pixmap)(Code) | | |
setMouseEventMask | final native void setMouseEventMask(long mask)(Code) | | Sets the event mask for the X window using the supplied event mask (see AWTEvent).
This lets the X server know what kinds of events we are interested in.
|
setResizable | final synchronized void setResizable(boolean b)(Code) | | |
setSizeHints | final synchronized void setSizeHints(Dimension minSize, Dimension maxSize)(Code) | | Sets the hints for the window manager for the minimum/maximum size of the window.
The window manager may or may not respect this.
|
toBack | final native void toBack()(Code) | | |
toFront | final native void toFront()(Code) | | |
Methods inherited from java.awt.ComponentXWindow | void create()(Code)(Java Doc) native void dispose()(Code)(Java Doc) native Point getLocationOnScreen()(Code)(Java Doc) void map()(Code)(Java Doc) native void mapNative()(Code)(Java Doc) void postMouseButtonEvent(int id, long when, int modifiers, int x, int y)(Code)(Java Doc) void postMouseEvent(int id, long when, int modifiers, int x, int y)(Code)(Java Doc) void setBackground(Color c)(Code)(Java Doc) void setBounds(int x, int y, int width, int height)(Code)(Java Doc) native void setBoundsNative(int x, int y, int width, int height)(Code)(Java Doc) void setCursor(Cursor cursor)(Code)(Java Doc) native void setCursorNative(int type)(Code)(Java Doc) native void setMouseEventMask(long mask)(Code)(Java Doc) native void unmap()(Code)(Java Doc)
|
|
|