DefaultStyledDocument$ElementSpec.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_DefaultStyledDocument$ElementSpec__
  3. #define __javax_swing_text_DefaultStyledDocument$ElementSpec__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace swing
  12. {
  13. namespace text
  14. {
  15. class AttributeSet;
  16. class DefaultStyledDocument$ElementSpec;
  17. }
  18. }
  19. }
  20. }
  21. class javax::swing::text::DefaultStyledDocument$ElementSpec : public ::java::lang::Object
  22. {
  23. public:
  24. DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort);
  25. DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort, jint);
  26. DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort, JArray< jchar > *, jint, jint);
  27. virtual void setType(jshort);
  28. virtual jshort getType();
  29. virtual void setDirection(jshort);
  30. virtual jshort getDirection();
  31. virtual ::javax::swing::text::AttributeSet * getAttributes();
  32. virtual JArray< jchar > * getArray();
  33. virtual jint getOffset();
  34. virtual jint getLength();
  35. virtual ::java::lang::String * toString();
  36. static const jshort StartTagType = 1;
  37. static const jshort EndTagType = 2;
  38. static const jshort ContentType = 3;
  39. static const jshort JoinPreviousDirection = 4;
  40. static const jshort JoinNextDirection = 5;
  41. static const jshort OriginateDirection = 6;
  42. static const jshort JoinFractureDirection = 7;
  43. public: // actually package-private
  44. jshort __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
  45. jshort direction;
  46. jint offset;
  47. jint length;
  48. JArray< jchar > * content;
  49. ::javax::swing::text::AttributeSet * attributes;
  50. public:
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __javax_swing_text_DefaultStyledDocument$ElementSpec__