AccessibleText.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_accessibility_AccessibleText__
  3. #define __javax_accessibility_AccessibleText__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Point;
  13. class Rectangle;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace accessibility
  19. {
  20. class AccessibleText;
  21. }
  22. namespace swing
  23. {
  24. namespace text
  25. {
  26. class AttributeSet;
  27. }
  28. }
  29. }
  30. }
  31. class javax::accessibility::AccessibleText : public ::java::lang::Object
  32. {
  33. public:
  34. virtual jint getIndexAtPoint(::java::awt::Point *) = 0;
  35. virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
  36. virtual jint getCharCount() = 0;
  37. virtual jint getCaretPosition() = 0;
  38. virtual ::java::lang::String * getAtIndex(jint, jint) = 0;
  39. virtual ::java::lang::String * getAfterIndex(jint, jint) = 0;
  40. virtual ::java::lang::String * getBeforeIndex(jint, jint) = 0;
  41. virtual ::javax::swing::text::AttributeSet * getCharacterAttribute(jint) = 0;
  42. virtual jint getSelectionStart() = 0;
  43. virtual jint getSelectionEnd() = 0;
  44. virtual ::java::lang::String * getSelectedText() = 0;
  45. static const jint CHARACTER = 1;
  46. static const jint WORD = 2;
  47. static const jint SENTENCE = 3;
  48. static ::java::lang::Class class$;
  49. } __attribute__ ((java_interface));
  50. #endif // __javax_accessibility_AccessibleText__