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
.GraphicsDevice
;
12 import java
.awt
.GraphicsConfiguration
;
14 public class XGraphicsDevice
extends GraphicsDevice
17 private String IDstring
;
18 private GraphicsConfiguration
[] configs
;
22 return TYPE_RASTER_SCREEN
;
25 public XGraphicsDevice(int id
, XToolkit toolkit
)
28 IDstring
= "XGraphicsDevice " + id
;
29 configs
= new GraphicsConfiguration
[1];
30 configs
[0] = toolkit
.getDefaultXGraphicsConfiguration();
33 public String
getIDstring()
38 public GraphicsConfiguration
[] getConfigurations()
43 public GraphicsConfiguration
getDefaultConfiguration()
48 public boolean isDisplayChangeSupported()
53 public boolean isFullScreenSupported()