2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_DebugGraphics__
5 #define __javax_swing_DebugGraphics__
9 #include <java/awt/Graphics.h>
10 #include <gcj/array.h>
32 class AttributedCharacterIterator
;
45 class javax::swing::DebugGraphics
: public ::java::awt::Graphics
50 DebugGraphics(::java::awt::Graphics
*, ::javax::swing::JComponent
*);
51 DebugGraphics(::java::awt::Graphics
*);
52 virtual void setColor(::java::awt::Color
*);
53 virtual ::java::awt::Graphics
* create();
54 virtual ::java::awt::Graphics
* create(jint
, jint
, jint
, jint
);
55 static ::java::awt::Color
* flashColor();
56 static void setFlashColor(::java::awt::Color
*);
57 static jint
flashTime();
58 static void setFlashTime(jint
);
59 static jint
flashCount();
60 static void setFlashCount(jint
);
61 static ::java::io::PrintStream
* logStream();
62 static void setLogStream(::java::io::PrintStream
*);
63 virtual ::java::awt::Font
* getFont();
64 virtual void setFont(::java::awt::Font
*);
65 virtual ::java::awt::Color
* getColor();
66 virtual ::java::awt::FontMetrics
* getFontMetrics();
67 virtual ::java::awt::FontMetrics
* getFontMetrics(::java::awt::Font
*);
68 virtual void translate(jint
, jint
);
69 virtual void setPaintMode();
70 virtual void setXORMode(::java::awt::Color
*);
71 virtual ::java::awt::Rectangle
* getClipBounds();
72 virtual void clipRect(jint
, jint
, jint
, jint
);
73 virtual void setClip(jint
, jint
, jint
, jint
);
74 virtual ::java::awt::Shape
* getClip();
75 virtual void setClip(::java::awt::Shape
*);
79 virtual void drawRect(jint
, jint
, jint
, jint
);
80 virtual void fillRect(jint
, jint
, jint
, jint
);
81 virtual void clearRect(jint
, jint
, jint
, jint
);
82 virtual void drawRoundRect(jint
, jint
, jint
, jint
, jint
, jint
);
83 virtual void fillRoundRect(jint
, jint
, jint
, jint
, jint
, jint
);
84 virtual void drawLine(jint
, jint
, jint
, jint
);
85 virtual void draw3DRect(jint
, jint
, jint
, jint
, jboolean
);
86 virtual void fill3DRect(jint
, jint
, jint
, jint
, jboolean
);
87 virtual void drawOval(jint
, jint
, jint
, jint
);
88 virtual void fillOval(jint
, jint
, jint
, jint
);
89 virtual void drawArc(jint
, jint
, jint
, jint
, jint
, jint
);
90 virtual void fillArc(jint
, jint
, jint
, jint
, jint
, jint
);
91 virtual void drawPolyline(JArray
< jint
> *, JArray
< jint
> *, jint
);
92 virtual void drawPolygon(JArray
< jint
> *, JArray
< jint
> *, jint
);
93 virtual void fillPolygon(JArray
< jint
> *, JArray
< jint
> *, jint
);
94 virtual void drawString(::java::lang::String
*, jint
, jint
);
95 virtual void drawString(::java::text::AttributedCharacterIterator
*, jint
, jint
);
96 virtual void drawBytes(JArray
< jbyte
> *, jint
, jint
, jint
, jint
);
97 virtual void drawChars(JArray
< jchar
> *, jint
, jint
, jint
, jint
);
98 virtual jboolean
drawImage(::java::awt::Image
*, jint
, jint
, ::java::awt::image::ImageObserver
*);
99 virtual jboolean
drawImage(::java::awt::Image
*, jint
, jint
, jint
, jint
, ::java::awt::image::ImageObserver
*);
100 virtual jboolean
drawImage(::java::awt::Image
*, jint
, jint
, ::java::awt::Color
*, ::java::awt::image::ImageObserver
*);
101 virtual jboolean
drawImage(::java::awt::Image
*, jint
, jint
, jint
, jint
, ::java::awt::Color
*, ::java::awt::image::ImageObserver
*);
102 virtual jboolean
drawImage(::java::awt::Image
*, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, ::java::awt::image::ImageObserver
*);
103 virtual jboolean
drawImage(::java::awt::Image
*, jint
, jint
, jint
, jint
, jint
, jint
, jint
, jint
, ::java::awt::Color
*, ::java::awt::image::ImageObserver
*);
104 virtual void copyArea(jint
, jint
, jint
, jint
, jint
, jint
);
105 virtual void dispose();
106 virtual jboolean
isDrawingBuffer();
107 virtual void setDebugOptions(jint
);
108 virtual jint
getDebugOptions();
110 ::java::lang::String
* prefix();
112 static const jint LOG_OPTION
= 1;
113 static const jint FLASH_OPTION
= 2;
114 static const jint BUFFERED_OPTION
= 4;
115 static const jint NONE_OPTION
= -1;
116 public: // actually package-private
117 static ::java::awt::Color
* debugFlashColor
;
118 static jint debugFlashCount
;
119 static jint debugFlashTime
;
120 static ::java::io::PrintStream
* debugLogStream
;
122 ::java::awt::Graphics
* __attribute__((aligned(__alignof__( ::java::awt::Graphics
)))) graphics
;
123 ::java::awt::Image
* buffer
;
129 static ::java::lang::Class
class$
;
132 #endif // __javax_swing_DebugGraphics__