// 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 javax
  {
    namespace accessibility
    {
      class AccessibleText;
    }
    namespace swing
    {
      namespace text
      {
        class AttributeSet;
      }
    }
  }
  namespace java
  {
    namespace awt
    {
      class Rectangle;
      class Point;
    }
  }
};

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 = 1L;
  static const jint WORD = 2L;
  static const jint SENTENCE = 3L;

  static ::java::lang::Class class$;
} __attribute__ ((java_interface));

#endif /* __javax_accessibility_AccessibleText__ */
