| java.lang.Object java.awt.ComponentXWindow java.awt.HeavyweightComponentXWindow
All known Subclasses: java.awt.WindowXWindow,
HeavyweightComponentXWindow | class HeavyweightComponentXWindow extends ComponentXWindow implements ComponentListener,ContainerListener(Code) | | The X window used by a component, that is traditionally heavyweight, to get mouse events from the X server.
This winow represents an InputOutput
window in X (an opaque window that can be used to select and receive events). This is required for maximum
compatiability with applications/applets that assume AWT components are heavyweight. Heavyweight components
generate their own paint events and also appear in front of lightweights. Some programs may require these
assumptions in order to work properly so by providing a heavyweight window we can maintain maximum
compatiability.
version: 1.1, 10/22/01 author: Nicholas Allen |
HeavyweightComponentXWindow | HeavyweightComponentXWindow(Component component)(Code) | | |
componentAdded | public void componentAdded(ContainerEvent e)(Code) | | Invoked when a component has been added to the container.
|
componentHidden | public void componentHidden(ComponentEvent e)(Code) | | Invoked when the component has been made invisible.
|
componentMoved | public void componentMoved(ComponentEvent e)(Code) | | Invoked when the component's position changes.
|
componentRemoved | public void componentRemoved(ContainerEvent e)(Code) | | Invoked when a component has been removed from the container.
|
componentResized | public void componentResized(ComponentEvent e)(Code) | | Invoked when the component's size changes.
|
componentShown | public void componentShown(ComponentEvent e)(Code) | | Invoked when the component has been made visible.
|
postPaintEvent | 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.
|
setBackground | final native void setBackground(Color color)(Code) | | |
setBounds | void setBounds(int x, int y, int width, int height)(Code) | | |
setMouseEventMask | native void setMouseEventMask(long mask)(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)
|
|
|