Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / gnu / awt / xlib / XGraphicsEnvironment.java
blob64c799017c0e0619bf5105bee64d1e2dd3dae098
1 /* Copyright (C) 2005 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
7 details. */
9 package gnu.awt.xlib;
11 import java.awt.GraphicsEnvironment;
12 import java.awt.GraphicsDevice;
13 import java.awt.Graphics2D;
14 import java.awt.Font;
15 import java.awt.image.BufferedImage;
16 import java.util.Locale;
18 public class XGraphicsEnvironment extends GraphicsEnvironment
20 private XToolkit toolkit;
21 private XGraphicsDevice [] devices;
23 XGraphicsEnvironment (XToolkit toolkit)
25 this.toolkit = toolkit;
26 devices = new XGraphicsDevice [1];
27 devices [0] = new XGraphicsDevice (0,toolkit);
30 public GraphicsDevice[] getScreenDevices ()
32 return devices;
35 public GraphicsDevice getDefaultScreenDevice ()
37 return devices [0];
40 public Graphics2D createGraphics (BufferedImage image)
42 throw new UnsupportedOperationException ("createGraphics not implemented yet in " + this.getClass ().getName ());
45 public Font[] getAllFonts()
47 throw new UnsupportedOperationException ("getAllFonts not implemented yet in " + this.getClass ().getName ());
50 public String[] getAvailableFontFamilyNames (Locale l)
52 throw new UnsupportedOperationException ("getAvailableFontFamilyNames not implemented yet in " + this.getClass ().getName ());
55 public String[] getAvailableFontFamilyNames ()
57 throw new UnsupportedOperationException ("getAvailableFontFamilyNames not implemented yet in " + this.getClass ().getName ());