1:
8:
9: package ;
10:
11: import ;
12: import ;
13:
14: public class XGraphicsDevice extends GraphicsDevice
15: {
16: private int id;
17: private String IDstring;
18: private GraphicsConfiguration[] configs;
19:
20: public int getType()
21: {
22: return TYPE_RASTER_SCREEN;
23: }
24:
25: public XGraphicsDevice(int id, XToolkit toolkit)
26: {
27: this.id = id;
28: IDstring = "XGraphicsDevice " + id;
29: configs = new GraphicsConfiguration [1];
30: configs[0] = toolkit.getDefaultXGraphicsConfiguration();
31: }
32:
33: public String getIDstring()
34: {
35: return IDstring;
36: }
37:
38: public GraphicsConfiguration[] getConfigurations()
39: {
40: return configs;
41: }
42:
43: public GraphicsConfiguration getDefaultConfiguration()
44: {
45: return configs[0];
46: }
47:
48: public boolean isDisplayChangeSupported()
49: {
50: return false;
51: }
52:
53: public boolean isFullScreenSupported()
54: {
55: return false;
56: }
57: }