Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / awt / font / TextHitInfo.h
bloba38745895e5cb7a83d41fca9d53ed1a835a70eaf
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_font_TextHitInfo__
5 #define __java_awt_font_TextHitInfo__
7 #pragma interface
9 #include <java/lang/Object.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 namespace font
18 class TextHitInfo;
24 class java::awt::font::TextHitInfo : public ::java::lang::Object
27 public: // actually package-private
28 TextHitInfo(jint, jboolean);
29 public:
30 jint getCharIndex();
31 jboolean isLeadingEdge();
32 jint getInsertionIndex();
33 jint hashCode();
34 jboolean equals(::java::lang::Object *);
35 jboolean equals(::java::awt::font::TextHitInfo *);
36 static ::java::awt::font::TextHitInfo * leading(jint);
37 static ::java::awt::font::TextHitInfo * trailing(jint);
38 static ::java::awt::font::TextHitInfo * beforeOffset(jint);
39 static ::java::awt::font::TextHitInfo * afterOffset(jint);
40 ::java::awt::font::TextHitInfo * getOtherHit();
41 ::java::awt::font::TextHitInfo * getOffsetHit(jint);
42 ::java::lang::String * toString();
43 private:
44 jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) charIndex;
45 jboolean leadingEdge;
46 public:
47 static ::java::lang::Class class$;
50 #endif // __java_awt_font_TextHitInfo__