1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_awt_font_NumericShaper__ 5 #define __java_awt_font_NumericShaper__ 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 namespace font 19 { 20 class NumericShaper; 21 } 22 } 23 } 24 } 25 26 class java::awt::font::NumericShaper : public ::java::lang::Object 27 { 28 29 NumericShaper(jint, jint); 30 public: 31 jint getRanges(); 32 jboolean isContextual(); 33 void shape(JArray< jchar > *, jint, jint); 34 private: 35 jint classify(::java::lang::Character$UnicodeBlock *); 36 public: 37 void shape(JArray< jchar > *, jint, jint, jint); 38 jboolean equals(::java::lang::Object *); 39 jint hashCode(); 40 ::java::lang::String * toString(); 41 static ::java::awt::font::NumericShaper * getShaper(jint); 42 static ::java::awt::font::NumericShaper * getContextualShaper(jint); 43 static ::java::awt::font::NumericShaper * getContextualShaper(jint, jint); 44 private: 45 static const jlong serialVersionUID = -8022764705923730308LL; 46 public: 47 static const jint ALL_RANGES = 524287; 48 static const jint ARABIC = 2; 49 static const jint BENGALI = 16; 50 static const jint DEVANAGARI = 8; 51 static const jint EASTERN_ARABIC = 4; 52 static const jint ETHIOPIC = 65536; 53 static const jint EUROPEAN = 1; 54 static const jint GUJARATI = 64; 55 static const jint GURMUKHI = 32; 56 static const jint KANNADA = 1024; 57 static const jint KHMER = 131072; 58 static const jint LAO = 8192; 59 static const jint MALAYALAM = 2048; 60 static const jint MONGOLIAN = 262144; 61 static const jint MYANMAR = 32768; 62 static const jint ORIYA = 128; 63 static const jint TAMIL = 256; 64 static const jint TELUGU = 512; 65 static const jint THAI = 4096; 66 static const jint TIBETAN = 16384; 67 private: 68 static JArray< jchar > * zeroDigits; 69 jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; 70 jint mask; 71 public: 72 static ::java::lang::Class class$; 73 }; 74 75 #endif // __java_awt_font_NumericShaper__ 76