| java.lang.Object sun.awt.X11.XBaseWindow sun.awt.X11.XWindow sun.awt.X11.XComponentPeer
All known Subclasses: sun.awt.X11.XCheckboxPeer, sun.awt.X11.XCanvasPeer, sun.awt.X11.XTextFieldPeer, sun.awt.X11.XListPeer, sun.awt.X11.XScrollbarPeer, sun.awt.X11.XTextAreaPeer, sun.awt.X11.XButtonPeer, sun.awt.X11.XChoicePeer, sun.awt.X11.XLabelPeer, sun.awt.X11.XScrollPanePeer,
Method Summary | |
public void | addDropTarget(DropTarget dt) | public void | beginLayout() | public void | beginValidate() | static void | callRequestFocus(Component target, CausedFocusEvent.Cause cause) | static boolean | canBeFocusedByClick(Component component) Checks whether or not this component would be focused by native system if it would be allowed to do so. | public boolean | canDetermineObscurity() | public int | checkImage(Image img, int w, int h, ImageObserver o) | public void | coalescePaintEvent(PaintEvent e) | public void | createBuffers(int numBuffers, BufferCapabilities caps) The following multibuffering-related methods delegate to our
associated GraphicsConfig (X11 or GLX) to handle the appropriate
native windowing system specific actions. | public Image | createImage(ImageProducer producer) | public Image | createImage(int width, int height) | public VolatileImage | createVolatileImage(int width, int height) | public void | destroyBuffers() | public void | disable() | public void | draw3DOval(Graphics g, Color colors, int x, int y, int w, int h, boolean raised) Draw a 3D oval. | void | draw3DOval(Graphics g, Color bg, int x, int y, int w, int h, boolean raised) | public void | draw3DRect(Graphics g, Color colors, int x, int y, int width, int height, boolean raised) | void | draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised) | public void | drawMotif3DRect(Graphics g, int x, int y, int width, int height, boolean topShadow) | void | drawScrollbar(Graphics g, Color bg, int thickness, int length, int min, int max, int val, int vis, boolean horizontal) | public void | enable() | public void | endLayout() | public void | endValidate() | public void | flip(BufferCapabilities.FlipContents flipAction) | public void | focusGained(FocusEvent e) | public void | focusLost(FocusEvent e) | public Image | getBackBuffer() | static Window | getContainingWindow(Component comp) | public Font | getFont() | public FontMetrics | getFontMetrics(Font font) Gets the font metrics for the specified font. | public Color[] | getGUIcolors() | public Graphics | getGraphics() | public Insets | getInsets() | public Dimension | getMinimumSize() | static XComponentPeer | getNativeContainer(Component comp) | XWindowPeer | getParentTopLevel() | Color | getPeerBackground() | Font | getPeerFont() | Color | getPeerForeground() | Dimension | getPeerSize() | public Dimension | getPreferredSize() | static int[] | getRGBvals(Color c) | static Color[] | getSystemColors() Returns an array of Colors similar to getGUIcolors(), but using the
System colors. | public java.awt.Toolkit | getToolkit() | public Color | getWinBackground() | public void | handleButtonPressRelease(XEvent xev) | public void | handleEvent(java.awt.AWTEvent e) | void | handleF10JavaKeyEvent(KeyEvent e) | void | handleJavaFocusEvent(AWTEvent e) | void | handleJavaInputMethodEvent(InputMethodEvent e) | void | handleJavaKeyEvent(KeyEvent e) | void | handleJavaMouseEvent(MouseEvent e) | void | handleJavaMouseWheelEvent(MouseWheelEvent e) | void | handleJavaWindowFocusEvent(AWTEvent e) | public boolean | handlesWheelScrolling() | final public boolean | hasFocus() Descendants should use this method to determine whether or not native window
has focus. | public void | hide() | public Insets | insets() DEPRECATED: Replaced by getInsets(). | public boolean | isEnabled() | protected boolean | isEventDisabled(XEvent e) | public boolean | isFocusable() | protected boolean | isInitialReshape() | public boolean | isObscured() | public boolean | isPaintPending() | public boolean | isReparentSupported() | public boolean | isRestackSupported() | public void | layout() | public Dimension | minimumSize() | public void | notifyTextComponentChange(boolean add) | static String | operationToString(int operation) | public void | pSetCursor(Cursor cursor) | public void | paint(Graphics g) | void | postInit(XCreateWindowParams params) | void | preInit(XCreateWindowParams params) | public Dimension | preferredSize() | public boolean | prepareImage(Image img, int w, int h, ImageObserver o) | public void | print(Graphics g) | static boolean | processSynchronousLightweightTransfer(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time) | public void | removeDropTarget(DropTarget dt) | public void | repaint(long tm, int x, int y, int width, int height) | public void | reparent(ContainerPeer newNativeParent) | final public boolean | requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause) | public void | reshape(int x, int y, int width, int height) | public void | restack() | public void | setBackground(Color c) | public void | setBounds(int x, int y, int width, int height, int op) | public void | setBoundsOperation(int operation) | public void | setEnabled(boolean value) | public void | setFont(Font f) | public void | setForeground(Color c) | public void | setVisible(boolean b) | protected boolean | shouldFocusOnClick() Returns whether or not this component should be given focus on mouse click. | public void | show() | public void | updateCursorImmediately() | void | updateMotifColors(Color bg) | final static AWTEvent | wrapInSequenced(AWTEvent event) |
BACKGROUND_COLOR | final static int BACKGROUND_COLOR(Code) | | |
FOREGROUND_COLOR | final static int FOREGROUND_COLOR(Code) | | |
HIGHLIGHT_COLOR | final static int HIGHLIGHT_COLOR(Code) | | |
SHADOW_COLOR | final static int SHADOW_COLOR(Code) | | |
SNFH_FAILURE | final static int SNFH_FAILURE(Code) | | |
SNFH_SUCCESS_HANDLED | final static int SNFH_SUCCESS_HANDLED(Code) | | |
SNFH_SUCCESS_PROCEED | final static int SNFH_SUCCESS_PROCEED(Code) | | |
bHasFocus | boolean bHasFocus(Code) | | Keeps the track of focused state of the _NATIVE_ window
|
boundsOperation | protected int boundsOperation(Code) | | |
isLayouting | boolean isLayouting(Code) | | |
paintPending | boolean paintPending(Code) | | |
processSynchronousLightweightTransferMethod | static Method processSynchronousLightweightTransferMethod(Code) | | |
requestFocusWithCause | static Method requestFocusWithCause(Code) | | |
XComponentPeer | XComponentPeer()(Code) | | |
XComponentPeer | XComponentPeer(Component target)(Code) | | Standard peer constructor, with corresponding Component
|
addDropTarget | public void addDropTarget(DropTarget dt)(Code) | | DropTargetPeer implementation *******************
|
beginLayout | public void beginLayout()(Code) | | |
beginValidate | public void beginValidate()(Code) | | |
callRequestFocus | static void callRequestFocus(Component target, CausedFocusEvent.Cause cause)(Code) | | |
canBeFocusedByClick | static boolean canBeFocusedByClick(Component component)(Code) | | Checks whether or not this component would be focused by native system if it would be allowed to do so.
Currently it checks that it displayable, visible, enabled and focusable.
|
canDetermineObscurity | public boolean canDetermineObscurity()(Code) | | |
createBuffers | public void createBuffers(int numBuffers, BufferCapabilities caps) throws AWTException(Code) | | The following multibuffering-related methods delegate to our
associated GraphicsConfig (X11 or GLX) to handle the appropriate
native windowing system specific actions.
|
createImage | public Image createImage(int width, int height)(Code) | | |
destroyBuffers | public void destroyBuffers()(Code) | | |
disable | public void disable()(Code) | | |
draw3DOval | public void draw3DOval(Graphics g, Color colors, int x, int y, int w, int h, boolean raised)(Code) | | Draw a 3D oval.
|
draw3DOval | void draw3DOval(Graphics g, Color bg, int x, int y, int w, int h, boolean raised)(Code) | | |
draw3DRect | public void draw3DRect(Graphics g, Color colors, int x, int y, int width, int height, boolean raised)(Code) | | |
draw3DRect | void draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised)(Code) | | |
drawMotif3DRect | public void drawMotif3DRect(Graphics g, int x, int y, int width, int height, boolean topShadow)(Code) | | |
drawScrollbar | void drawScrollbar(Graphics g, Color bg, int thickness, int length, int min, int max, int val, int vis, boolean horizontal)(Code) | | |
enable | public void enable()(Code) | | |
endLayout | public void endLayout()(Code) | | |
endValidate | public void endValidate()(Code) | | |
focusGained | public void focusGained(FocusEvent e)(Code) | | Called when component receives focus
|
focusLost | public void focusLost(FocusEvent e)(Code) | | Called when component loses focus
|
getSystemColors | static Color[] getSystemColors()(Code) | | Returns an array of Colors similar to getGUIcolors(), but using the
System colors. This is useful if pieces of a Component (such as
the integrated scrollbars of a List) should retain the System color
instead of the background color set by Component.setBackground().
|
handleButtonPressRelease | public void handleButtonPressRelease(XEvent xev)(Code) | | |
handleJavaWindowFocusEvent | void handleJavaWindowFocusEvent(AWTEvent e)(Code) | | |
handlesWheelScrolling | public boolean handlesWheelScrolling()(Code) | | |
hasFocus | final public boolean hasFocus()(Code) | | Descendants should use this method to determine whether or not native window
has focus.
|
insets | public Insets insets()(Code) | | DEPRECATED: Replaced by getInsets().
|
isEnabled | public boolean isEnabled()(Code) | | |
isEventDisabled | protected boolean isEventDisabled(XEvent e)(Code) | | Returns true if this event is disabled and shouldn't be processed by window
Currently if target component is disabled the following event will be disabled on window:
ButtonPress, ButtonRelease, KeyPress, KeyRelease, EnterNotify, LeaveNotify, MotionNotify
|
isFocusable | public boolean isFocusable()(Code) | | |
isInitialReshape | protected boolean isInitialReshape()(Code) | | |
isObscured | public boolean isObscured()(Code) | | |
isPaintPending | public boolean isPaintPending()(Code) | | |
isReparentSupported | public boolean isReparentSupported()(Code) | | |
isRestackSupported | public boolean isRestackSupported()(Code) | | |
layout | public void layout()(Code) | | |
notifyTextComponentChange | public void notifyTextComponentChange(boolean add)(Code) | | |
operationToString | static String operationToString(int operation)(Code) | | |
processSynchronousLightweightTransfer | static boolean processSynchronousLightweightTransfer(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time)(Code) | | |
repaint | public void repaint(long tm, int x, int y, int width, int height)(Code) | | |
requestFocus | final public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)(Code) | | |
reshape | public void reshape(int x, int y, int width, int height)(Code) | | |
restack | public void restack()(Code) | | |
setBounds | public void setBounds(int x, int y, int width, int height, int op)(Code) | | |
setBoundsOperation | public void setBoundsOperation(int operation)(Code) | | |
setVisible | public void setVisible(boolean b)(Code) | | END OF FOCUS STUFF
|
shouldFocusOnClick | protected boolean shouldFocusOnClick()(Code) | | Returns whether or not this component should be given focus on mouse click.
Default implementation return whether or not this peer is "focusable"
Descendants might want to override it to extend/restrict conditions at which this
component should be focused by click (see MCanvasPeer and MPanelPeer)
|
updateCursorImmediately | public void updateCursorImmediately()(Code) | | |
updateMotifColors | void updateMotifColors(Color bg)(Code) | | |
Methods inherited from sun.awt.X11.XWindow | public void dispose()(Code)(Java Doc) protected boolean doEraseBackground()(Code)(Java Doc) public void doLayout(int x, int y, int width, int height)(Code)(Java Doc) protected void flush()(Code)(Java Doc) native static int getAWTKeyCodeForKeySym(int keysym)(Code)(Java Doc) public ColorModel getColorModel(int transparency)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getEventSource()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) Graphics getGraphics(SurfaceData surfData, Color afore, Color aback, Font afont)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public AwtGraphicsConfigData getGraphicsConfigurationData()(Code)(Java Doc) native static int getKeySymForAWTKeyCode(int keycode)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) static int getModifiers(int state, int button, int keyCode)(Code)(Java Doc) static int getMouseMovementSmudge()(Code)(Java Doc) native int getNativeColor(Color clr, GraphicsConfiguration gc)(Code)(Java Doc) static long getParentWindowID(Component target)(Code)(Java Doc) static XWindow getParentXWindowObject(Component target)(Code)(Java Doc) static int getRightButtonNumber()(Code)(Java Doc) public SurfaceData getSurfaceData()(Code)(Java Doc) public Object getTarget()(Code)(Java Doc) public Rectangle getTargetBounds()(Code)(Java Doc) native long getTopWindow(long window, long rootWin)(Code)(Java Doc) protected String[] getWMClass()(Code)(Java Doc) native void getWMInsets(long window, long left, long top, long right, long bottom, long border)(Code)(Java Doc) public Color getWinBackground()(Code)(Java Doc) native void getWindowBounds(long window, long x, long y, long width, long height)(Code)(Java Doc) static int getXModifiers(AWTKeyStroke stroke)(Code)(Java Doc) public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc) public void handleConfigureNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleExposeEvent(XEvent xev)(Code)(Java Doc) public void handleExposeEvent(Component target, int x, int y, int w, int h)(Code)(Java Doc) public void handleKeyPress(XEvent xev)(Code)(Java Doc) final void handleKeyPress(XKeyEvent ev)(Code)(Java Doc) public void handleKeyRelease(XEvent xev)(Code)(Java Doc) public void handleMapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleMotionNotify(XEvent xev)(Code)(Java Doc) public void handleUnmapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleXCrossingEvent(XEvent xev)(Code)(Java Doc) native boolean haveCurrentX11InputMethodInstance()(Code)(Java Doc) protected void initGraphicsConfiguration()(Code)(Java Doc) public boolean isEmbedded()(Code)(Java Doc) boolean isLocationByPlatform()(Code)(Java Doc) boolean isParentOf(XWindow win)(Code)(Java Doc) boolean isReparented()(Code)(Java Doc) boolean isResizable()(Code)(Java Doc) boolean isShowing()(Code)(Java Doc) int keyEventType2Id(int xEventType)(Code)(Java Doc) char keysymToUnicode(long keysym, int state)(Code)(Java Doc) public void layout()(Code)(Java Doc) void logIncomingKeyEvent(XKeyEvent ev)(Code)(Java Doc) void paint(Graphics g)(Code)(Java Doc) public void popup(int x, int y, int width, int height)(Code)(Java Doc) void postEvent(AWTEvent event)(Code)(Java Doc) static void postEventStatic(AWTEvent event)(Code)(Java Doc) public void postEventToEventQueue(AWTEvent event)(Code)(Java Doc) void postInit(XCreateWindowParams params)(Code)(Java Doc) public void postKeyEvent(int id, long when, int keyCode, char keyChar, int keyLocation, int state, long event, int eventSize)(Code)(Java Doc) void preInit(XCreateWindowParams params)(Code)(Java Doc) boolean prePostEvent(AWTEvent e)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void reshape(Rectangle bounds)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) static void sendEvent(AWTEvent e)(Code)(Java Doc) static void setBData(KeyEvent e, byte[] data)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) void setReparented(boolean newValue)(Code)(Java Doc) void updateSizeHints()(Code)(Java Doc) void updateSizeHints(int x, int y, int width, int height)(Code)(Java Doc) void updateSizeHints(int x, int y)(Code)(Java Doc) void validateSurface()(Code)(Java Doc) void winBackground(Color c)(Code)(Java Doc) native public boolean x11inputMethodLookupString(long event, long[] keysymArray)(Code)(Java Doc) final public void xSetBackground(Color c)(Code)(Java Doc)
|
Methods inherited from sun.awt.X11.XBaseWindow | void awtLock()(Code)(Java Doc) void awtLockNotifyAll()(Code)(Java Doc) void awtLockWait() throws InterruptedException(Code)(Java Doc) void awtUnlock()(Code)(Java Doc) public boolean checkInitialised()(Code)(Java Doc) protected void checkParams(XCreateWindowParams params)(Code)(Java Doc) static void checkSecurity()(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean containsGlobal(int x, int y)(Code)(Java Doc) void destroy()(Code)(Java Doc) public void dispatchEvent(XEvent xev)(Code)(Java Doc) static void dispatchToWindow(XEvent ev)(Code)(Java Doc) void flush()(Code)(Java Doc) public int getAbsoluteX()(Code)(Java Doc) public int getAbsoluteY()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Set<Long> getChildren()(Code)(Java Doc) public long getContentWindow()(Code)(Java Doc) public XBaseWindow getContentXWindow()(Code)(Java Doc) public XCreateWindowParams getDelayedParams()(Code)(Java Doc) int getHeight()(Code)(Java Doc) public XSizeHints getHints()(Code)(Java Doc) public XBaseWindow getParentWindow()(Code)(Java Doc) long getScreen()(Code)(Java Doc) long getScreenNumber()(Code)(Java Doc) static long getScreenOfWindow(long window)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) Object getStateLock()(Code)(Java Doc) public XWindowPeer getToplevelXWindow()(Code)(Java Doc) public XWMHints getWMHints()(Code)(Java Doc) protected String getWMName()(Code)(Java Doc) int getWidth()(Code)(Java Doc) public long getWindow()(Code)(Java Doc) int getX()(Code)(Java Doc) static XRootWindow getXAWTRootWindow()(Code)(Java Doc) int getY()(Code)(Java Doc) public boolean grabInput()(Code)(Java Doc) public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc) public void handleClientMessage(XEvent xev)(Code)(Java Doc) public void handleConfigureNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleCreateNotify(XEvent xev)(Code)(Java Doc) public void handleDestroyNotify(XEvent xev)(Code)(Java Doc) public void handleExposeEvent(XEvent xev)(Code)(Java Doc) public void handleKeyPress(XEvent xev)(Code)(Java Doc) public void handleKeyRelease(XEvent xev)(Code)(Java Doc) public void handleMapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleMotionNotify(XEvent xev)(Code)(Java Doc) public void handlePropertyNotify(XEvent xev)(Code)(Java Doc) public void handleReparentNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleUnmapNotifyEvent(XEvent xev)(Code)(Java Doc) public void handleVisibilityEvent(XEvent xev)(Code)(Java Doc) public void handleXCrossingEvent(XEvent xev)(Code)(Java Doc) final protected void init(long parentWindow, Rectangle bounds)(Code)(Java Doc) final protected void init(XCreateWindowParams params)(Code)(Java Doc) protected void initClientLeader()(Code)(Java Doc) void instantPreInit(XCreateWindowParams params)(Code)(Java Doc) boolean isDisposed()(Code)(Java Doc) protected boolean isEventDisabled(XEvent e)(Code)(Java Doc) static boolean isFullRelease(int buttonState, int button)(Code)(Java Doc) static boolean isGrabbedEvent(XEvent ev, XBaseWindow target)(Code)(Java Doc) boolean isMapped()(Code)(Java Doc) public boolean isMinSizeSet()(Code)(Java Doc) boolean isVisible()(Code)(Java Doc) final protected void postInit()(Code)(Java Doc) void postInit(XCreateWindowParams params)(Code)(Java Doc) final protected void preInit()(Code)(Java Doc) void preInit(XCreateWindowParams params)(Code)(Java Doc) void setDisposed(boolean d)(Code)(Java Doc) public void setSizeHints(long flags, int x, int y, int width, int height)(Code)(Java Doc) void setWMClass(String[] cl)(Code)(Java Doc) final public void setWMHints(XWMHints hints)(Code)(Java Doc) public void toFront()(Code)(Java Doc) Rectangle toGlobal(Rectangle rec)(Code)(Java Doc) Point toGlobal(Point pt)(Code)(Java Doc) Point toGlobal(int x, int y)(Code)(Java Doc) Point toLocal(Point pt)(Code)(Java Doc) Point toLocal(int x, int y)(Code)(Java Doc) static Point toOtherWindow(long src, long dst, int x, int y)(Code)(Java Doc) public String toString()(Code)(Java Doc) static void ungrabInput()(Code)(Java Doc) void ungrabInputImpl()(Code)(Java Doc) void updateWMName()(Code)(Java Doc) public static long xGetInputFocus()(Code)(Java Doc) public void xRequestFocus(long time)(Code)(Java Doc) public void xRequestFocus()(Code)(Java Doc) public void xSetBounds(Rectangle bounds)(Code)(Java Doc) public void xSetBounds(int x, int y, int width, int height)(Code)(Java Doc) public void xSetVisible(boolean visible)(Code)(Java Doc)
|
|
|