1:
8:
9: package ;
10:
11: import ;
12: import ;
13: import ;
14: import ;
15: import ;
16: import ;
17:
18: public class XGraphicsEnvironment extends GraphicsEnvironment
19: {
20: private XToolkit toolkit;
21: private XGraphicsDevice [] devices;
22:
23: XGraphicsEnvironment (XToolkit toolkit)
24: {
25: this.toolkit = toolkit;
26: devices = new XGraphicsDevice [1];
27: devices [0] = new XGraphicsDevice (0,toolkit);
28: }
29:
30: public GraphicsDevice[] getScreenDevices ()
31: {
32: return devices;
33: }
34:
35: public GraphicsDevice getDefaultScreenDevice ()
36: {
37: return devices [0];
38: }
39:
40: public Graphics2D createGraphics (BufferedImage image)
41: {
42: throw new UnsupportedOperationException ("createGraphics not implemented yet in " + this.getClass ().getName ());
43: }
44:
45: public Font[] getAllFonts()
46: {
47: throw new UnsupportedOperationException ("getAllFonts not implemented yet in " + this.getClass ().getName ());
48: }
49:
50: public String[] getAvailableFontFamilyNames (Locale l)
51: {
52: throw new UnsupportedOperationException ("getAvailableFontFamilyNames not implemented yet in " + this.getClass ().getName ());
53: }
54:
55: public String[] getAvailableFontFamilyNames ()
56: {
57: throw new UnsupportedOperationException ("getAvailableFontFamilyNames not implemented yet in " + this.getClass ().getName ());
58: }
59: }