mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 16:10:35 +08:00
2759b2605e
* gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout, isPaintPending): New methods. * gnu/awt/xlib/XFramePeer.java (getState, setState, setMaximizedBounds): New methods. (beginLayout, endLayout, isPaintPending): Likewise. * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method. (requestFocus): Likewise. (isObscured): Likewise. (canDetermineObscurity): Likewise. (coalescePaintEvent): Likewise. (updateCursorImmediately): Likewise. (createVolatileImage): Likewise. (handlesWheelScrolling): Likewise. (createBuffers): Likewise. (getBackBuffer): Likewise. (flip): Likewise. (destroyBuffers): Likewise. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added DropTargetPeer.java, RobotPeer.java. * gnu/java/awt/GLightweightPeer.java, gnu/java/awt/peer/gtk/GtkChoicePeer.java, gnu/java/awt/peer/gtk/GtkComponentPeer.java, gnu/java/awt/peer/gtk/GtkContainerPeer.java, gnu/java/awt/peer/gtk/GtkFramePeer.java, gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java, gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, java/awt/dnd/peer/DragSourceContextPeer.java, java/awt/dnd/peer/DropTargetContextPeer.java, java/awt/peer/ButtonPeer.java, java/awt/peer/CheckboxMenuItemPeer.java, java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java, java/awt/peer/ComponentPeer.java, java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java, java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java, java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java, java/awt/peer/MenuBarPeer.java, java/awt/peer/MenuComponentPeer.java, java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java, java/awt/peer/PopupMenuPeer.java, java/awt/peer/ScrollPanePeer.java, java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java, java/awt/peer/TextComponentPeer.java, java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java: New versions from Classpath. * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath. * java/awt/peer/RobotPeer.java: Likewise. From-SVN: r63627
62 lines
1.2 KiB
Java
62 lines
1.2 KiB
Java
/* Copyright (C) 2000, 2002, 2003 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
package gnu.awt.xlib;
|
|
|
|
import java.awt.*;
|
|
import java.awt.peer.*;
|
|
import java.awt.image.*;
|
|
import gnu.gcj.xlib.WMSizeHints;
|
|
import gnu.gcj.xlib.WindowAttributes;
|
|
import gnu.gcj.xlib.Display;
|
|
import gnu.gcj.xlib.Visual;
|
|
import gnu.gcj.xlib.Screen;
|
|
|
|
public class XPanelPeer extends XCanvasPeer implements PanelPeer
|
|
{
|
|
|
|
public XPanelPeer(Panel panel)
|
|
{
|
|
super(panel);
|
|
}
|
|
|
|
// no reason to override yet
|
|
//void initWindowProperties();
|
|
//gnu.gcj.xlib.Window getParentWindow();
|
|
|
|
|
|
// Implementing ContainerPeer:
|
|
|
|
// Default is no insets...
|
|
static final Insets INSETS_0_PROTOTYPE = new Insets(0, 0, 0, 0);
|
|
|
|
public Insets getInsets()
|
|
{
|
|
return (Insets) INSETS_0_PROTOTYPE.clone();
|
|
}
|
|
|
|
public Insets insets()
|
|
{
|
|
return getInsets();
|
|
}
|
|
|
|
public void beginValidate()
|
|
{
|
|
// NOP
|
|
}
|
|
|
|
public void endValidate()
|
|
{
|
|
// NOP
|
|
}
|
|
|
|
public void beginLayout () { }
|
|
public void endLayout () { }
|
|
public boolean isPaintPending () { return false; }
|
|
}
|