summaryrefslogtreecommitdiff
path: root/libjava/javax/accessibility/AccessibleText.h
blob: f6ccf87c0cea0d698e7562639f0afaa467f2e273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_accessibility_AccessibleText__
#define __javax_accessibility_AccessibleText__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Point;
        class Rectangle;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleText;
    }
    namespace swing
    {
      namespace text
      {
          class AttributeSet;
      }
    }
  }
}

class javax::accessibility::AccessibleText : public ::java::lang::Object
{

public:
  virtual jint getIndexAtPoint(::java::awt::Point *) = 0;
  virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
  virtual jint getCharCount() = 0;
  virtual jint getCaretPosition() = 0;
  virtual ::java::lang::String * getAtIndex(jint, jint) = 0;
  virtual ::java::lang::String * getAfterIndex(jint, jint) = 0;
  virtual ::java::lang::String * getBeforeIndex(jint, jint) = 0;
  virtual ::javax::swing::text::AttributeSet * getCharacterAttribute(jint) = 0;
  virtual jint getSelectionStart() = 0;
  virtual jint getSelectionEnd() = 0;
  virtual ::java::lang::String * getSelectedText() = 0;
  static const jint CHARACTER = 1;
  static const jint WORD = 2;
  static const jint SENTENCE = 3;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif // __javax_accessibility_AccessibleText__