Segment.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_Segment__
  3. #define __javax_swing_text_Segment__
  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 Segment;
  16. }
  17. }
  18. }
  19. }
  20. class javax::swing::text::Segment : public ::java::lang::Object
  21. {
  22. public:
  23. Segment();
  24. Segment(JArray< jchar > *, jint, jint);
  25. virtual ::java::lang::Object * clone();
  26. virtual jchar current();
  27. virtual jchar first();
  28. virtual jint getBeginIndex();
  29. virtual jint getEndIndex();
  30. virtual jint getIndex();
  31. virtual jchar last();
  32. virtual jchar next();
  33. virtual jchar previous();
  34. virtual jchar setIndex(jint);
  35. virtual ::java::lang::String * toString();
  36. virtual void setPartialReturn(jboolean);
  37. virtual jboolean isPartialReturn();
  38. private:
  39. jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) partialReturn;
  40. jint current__;
  41. public:
  42. JArray< jchar > * array;
  43. jint count;
  44. jint offset;
  45. static ::java::lang::Class class$;
  46. };
  47. #endif // __javax_swing_text_Segment__