OSDN Git Service

2010-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / libjava / java / awt / GraphicsEnvironment.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_awt_GraphicsEnvironment__
5 #define __java_awt_GraphicsEnvironment__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace java
15   {
16     namespace awt
17     {
18         class Font;
19         class Graphics2D;
20         class GraphicsDevice;
21         class GraphicsEnvironment;
22         class Point;
23         class Rectangle;
24       namespace image
25       {
26           class BufferedImage;
27       }
28     }
29   }
30 }
31
32 class java::awt::GraphicsEnvironment : public ::java::lang::Object
33 {
34
35 public: // actually protected
36   GraphicsEnvironment();
37 public:
38   static ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
39   static jboolean isHeadless();
40   virtual jboolean isHeadlessInstance();
41   virtual JArray< ::java::awt::GraphicsDevice * > * getScreenDevices() = 0;
42   virtual ::java::awt::GraphicsDevice * getDefaultScreenDevice() = 0;
43   virtual ::java::awt::Graphics2D * createGraphics(::java::awt::image::BufferedImage *) = 0;
44   virtual JArray< ::java::awt::Font * > * getAllFonts() = 0;
45   virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames() = 0;
46   virtual JArray< ::java::lang::String * > * getAvailableFontFamilyNames(::java::util::Locale *) = 0;
47   virtual ::java::awt::Point * getCenterPoint();
48   virtual ::java::awt::Rectangle * getMaximumWindowBounds();
49 private:
50   static ::java::awt::GraphicsEnvironment * localGraphicsEnvironment;
51 public:
52   static ::java::lang::Class class$;
53 };
54
55 #endif // __java_awt_GraphicsEnvironment__