OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [DebugGraphics.h] - Blame information for rev 843

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_DebugGraphics__
5
#define __javax_swing_DebugGraphics__
6
 
7
#pragma interface
8
 
9
#include <java/awt/Graphics.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Color;
19
        class Font;
20
        class FontMetrics;
21
        class Graphics;
22
        class Image;
23
        class Rectangle;
24
        class Shape;
25
      namespace image
26
      {
27
          class ImageObserver;
28
      }
29
    }
30
    namespace text
31
    {
32
        class AttributedCharacterIterator;
33
    }
34
  }
35
  namespace javax
36
  {
37
    namespace swing
38
    {
39
        class DebugGraphics;
40
        class JComponent;
41
    }
42
  }
43
}
44
 
45
class javax::swing::DebugGraphics : public ::java::awt::Graphics
46
{
47
 
48
public:
49
  DebugGraphics();
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 *);
76
private:
77
  void sleep(jint);
78
public:
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();
109
private:
110
  ::java::lang::String * prefix();
111
public:
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;
121
  static jint counter;
122
  ::java::awt::Graphics * __attribute__((aligned(__alignof__( ::java::awt::Graphics)))) graphics;
123
  ::java::awt::Image * buffer;
124
  jint debugOptions;
125
  jint graphicsID;
126
  jint xOffset;
127
  jint yOffset;
128
public:
129
  static ::java::lang::Class class$;
130
};
131
 
132
#endif // __javax_swing_DebugGraphics__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.