OSDN Git Service

2010-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / libjava / java / awt / Cursor.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_awt_Cursor__
5 #define __java_awt_Cursor__
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 Cursor;
19     }
20   }
21 }
22
23 class java::awt::Cursor : public ::java::lang::Object
24 {
25
26 public:
27   Cursor(jint);
28 public: // actually protected
29   Cursor(::java::lang::String *);
30 public:
31   static ::java::awt::Cursor * getPredefinedCursor(jint);
32   static ::java::awt::Cursor * getSystemCustomCursor(::java::lang::String *);
33   static ::java::awt::Cursor * getDefaultCursor();
34   virtual jint getType();
35   virtual ::java::lang::String * getName();
36   virtual ::java::lang::String * toString();
37 public: // actually package-private
38   static const jlong serialVersionUID = 8028237497568985504LL;
39 public:
40   static const jint DEFAULT_CURSOR = 0;
41   static const jint CROSSHAIR_CURSOR = 1;
42   static const jint TEXT_CURSOR = 2;
43   static const jint WAIT_CURSOR = 3;
44   static const jint SW_RESIZE_CURSOR = 4;
45   static const jint SE_RESIZE_CURSOR = 5;
46   static const jint NW_RESIZE_CURSOR = 6;
47   static const jint NE_RESIZE_CURSOR = 7;
48   static const jint N_RESIZE_CURSOR = 8;
49   static const jint S_RESIZE_CURSOR = 9;
50   static const jint W_RESIZE_CURSOR = 10;
51   static const jint E_RESIZE_CURSOR = 11;
52   static const jint HAND_CURSOR = 12;
53   static const jint MOVE_CURSOR = 13;
54 private:
55   static JArray< ::java::lang::String * > * NAMES;
56 public:
57   static const jint CUSTOM_CURSOR = -1;
58 private:
59   static const jint PREDEFINED_COUNT = 14;
60 public: // actually protected
61   static JArray< ::java::awt::Cursor * > * predefined;
62   ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
63 public: // actually package-private
64   jint type;
65 public:
66   static ::java::lang::Class class$;
67 };
68
69 #endif // __java_awt_Cursor__