|
Last change
on this file was 2, checked in by bird, 23 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 |
|
|---|
| 5 | This software is copyrighted work licensed under the terms of the
|
|---|
| 6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 7 | details. */
|
|---|
| 8 |
|
|---|
| 9 | package gnu.awt.xlib;
|
|---|
| 10 |
|
|---|
| 11 | import java.awt.*;
|
|---|
| 12 | import java.awt.peer.*;
|
|---|
| 13 | import java.awt.image.*;
|
|---|
| 14 | import gnu.gcj.xlib.WMSizeHints;
|
|---|
| 15 | import gnu.gcj.xlib.WindowAttributes;
|
|---|
| 16 | import gnu.gcj.xlib.Display;
|
|---|
| 17 | import gnu.gcj.xlib.Visual;
|
|---|
| 18 | import gnu.gcj.xlib.Screen;
|
|---|
| 19 |
|
|---|
| 20 | public 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.