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
11 import java
.awt
.GraphicsEnvironment
;
12 import java
.awt
.GraphicsDevice
;
13 import java
.awt
.Graphics2D
;
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 ()
35 public GraphicsDevice
getDefaultScreenDevice ()
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 ());