1 /* Copyright (C) 2000 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
12 import java.awt.peer.*;
13 import java.awt.image.*;
16 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
18 public class GLightweightPeer implements LightweightPeer
20 public static final GLightweightPeer INSTANCE = new GLightweightPeer();
22 public GLightweightPeer() {}
24 // -------- java.awt.peer.ComponentPeer implementation:
26 public int checkImage(Image img, int width, int height, ImageObserver o)
31 public Image createImage(ImageProducer prod)
36 public Image createImage(int width, int height)
41 public void disable() {}
43 public void dispose() {}
45 public void enable() {}
47 public GraphicsConfiguration getGraphicsConfiguration()
52 public FontMetrics getFontMetrics(Font f)
57 public Graphics getGraphics()
62 public Point getLocationOnScreen()
67 public Dimension getMinimumSize()
72 public Dimension getPreferredSize()
77 public Toolkit getToolkit()
82 public void handleEvent(AWTEvent e) {}
86 public boolean isFocusTraversable()
91 public Dimension minimumSize()
96 public Dimension preferredSize()
101 public void paint(Graphics graphics) {}
103 public boolean prepareImage(Image img, int width, int height,
109 public void print(Graphics graphics) {}
111 public void repaint(long tm, int x, int y, int width, int height) {}
113 public void requestFocus() {}
115 public void reshape(int x, int y, int width, int height) {}
117 public void setBackground(Color color) {}
119 public void setBounds(int x, int y, int width, int height) {}
121 public void setCursor(Cursor cursor) {}
123 public void setEnabled(boolean enabled) {}
125 public void setEventMask(long eventMask) {}
127 public void setFont(Font font) {}
129 public void setForeground(Color color) {}
131 public void setVisible(boolean visible) {}
133 public void show() {}