source: trunk/gcc/libjava/gnu/awt/xlib/XPanelPeer.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1/* Copyright (C) 2000, 2002 Free Software Foundation
2
3 This file is part of libgcj.
4
5This software is copyrighted work licensed under the terms of the
6Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7details. */
8
9package gnu.awt.xlib;
10
11import java.awt.*;
12import java.awt.peer.*;
13import java.awt.image.*;
14import gnu.gcj.xlib.WMSizeHints;
15import gnu.gcj.xlib.WindowAttributes;
16import gnu.gcj.xlib.Display;
17import gnu.gcj.xlib.Visual;
18import gnu.gcj.xlib.Screen;
19
20public class XPanelPeer extends XCanvasPeer implements PanelPeer
21{
22
23 public XPanelPeer(Panel panel)
24 {
25 super(panel);
26 }
27
28 // no reason to override yet
29 //void initWindowProperties();
30 //gnu.gcj.xlib.Window getParentWindow();
31
32
33 // Implementing ContainerPeer:
34
35 // Default is no insets...
36 static final Insets INSETS_0_PROTOTYPE = new Insets(0, 0, 0, 0);
37
38 public Insets getInsets()
39 {
40 return (Insets) INSETS_0_PROTOTYPE.clone();
41 }
42
43 public Insets insets()
44 {
45 return getInsets();
46 }
47
48 public void beginValidate()
49 {
50 // NOP
51 }
52
53 public void endValidate()
54 {
55 // NOP
56 }
57}
Note: See TracBrowser for help on using the repository browser.