diff options
Diffstat (limited to 'libjava/gnu/awt')
| -rw-r--r-- | libjava/gnu/awt/xlib/XCanvasPeer.java | 61 | ||||
| -rw-r--r-- | libjava/gnu/awt/xlib/XFramePeer.java | 19 | ||||
| -rw-r--r-- | libjava/gnu/awt/xlib/XPanelPeer.java | 6 |
3 files changed, 83 insertions, 3 deletions
diff --git a/libjava/gnu/awt/xlib/XCanvasPeer.java b/libjava/gnu/awt/xlib/XCanvasPeer.java index a208be5c103..4c141a4c0d8 100644 --- a/libjava/gnu/awt/xlib/XCanvasPeer.java +++ b/libjava/gnu/awt/xlib/XCanvasPeer.java @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2002 Free Software Foundation +/* Copyright (C) 2000, 2002, 2003 Free Software Foundation This file is part of libgcj. @@ -9,6 +9,7 @@ details. */ package gnu.awt.xlib; import java.awt.Dimension; +import java.awt.BufferCapabilities; import java.awt.Component; import java.awt.EventQueue; import java.awt.Rectangle; @@ -411,6 +412,64 @@ public class XCanvasPeer implements CanvasPeer setVisible (false); } + public boolean isFocusable () + { + return false; + } + + public boolean requestFocus (Component source, boolean b1, + boolean b2, long x) + { + return false; + } + + public boolean isObscured () + { + return false; + } + + public boolean canDetermineObscurity () + { + return false; + } + + public void coalescePaintEvent (PaintEvent e) + { + } + + public void updateCursorImmediately () + { + } + + public VolatileImage createVolatileImage (int width, int height) + { + return null; + } + + public boolean handlesWheelScrolling () + { + return false; + } + + public void createBuffers (int x, BufferCapabilities capabilities) + throws java.awt.AWTException + + { + } + + public Image getBackBuffer () + { + return null; + } + + public void flip (BufferCapabilities.FlipContents contents) + { + } + + public void destroyBuffers () + { + } + static class DoMap implements Runnable { Window window; diff --git a/libjava/gnu/awt/xlib/XFramePeer.java b/libjava/gnu/awt/xlib/XFramePeer.java index 80a972425e5..ec159078aba 100644 --- a/libjava/gnu/awt/xlib/XFramePeer.java +++ b/libjava/gnu/awt/xlib/XFramePeer.java @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2002 Free Software Foundation +/* Copyright (C) 2000, 2002, 2003 Free Software Foundation This file is part of libgcj. @@ -176,4 +176,21 @@ public class XFramePeer extends XCanvasPeer implements FramePeer } sizeHints.applyNormalHints(window); } + + public int getState () + { + return 0; + } + + public void setState (int state) + { + } + + public void setMaximizedBounds (Rectangle r) + { + } + + public void beginLayout () { } + public void endLayout () { } + public boolean isPaintPending () { return false; } } diff --git a/libjava/gnu/awt/xlib/XPanelPeer.java b/libjava/gnu/awt/xlib/XPanelPeer.java index f4d3b4bffb1..0b775f87264 100644 --- a/libjava/gnu/awt/xlib/XPanelPeer.java +++ b/libjava/gnu/awt/xlib/XPanelPeer.java @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2002 Free Software Foundation +/* Copyright (C) 2000, 2002, 2003 Free Software Foundation This file is part of libgcj. @@ -54,4 +54,8 @@ public class XPanelPeer extends XCanvasPeer implements PanelPeer { // NOP } + + public void beginLayout () { } + public void endLayout () { } + public boolean isPaintPending () { return false; } } |

