
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_JTextComponent$AccessibleJTextComponent__
#define __javax_swing_text_JTextComponent$AccessibleJTextComponent__

#pragma interface

#include <javax/swing/JComponent$AccessibleJComponent.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Point;
        class Rectangle;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleEditableText;
        class AccessibleRole;
        class AccessibleStateSet;
        class AccessibleText;
    }
    namespace swing
    {
      namespace event
      {
          class CaretEvent;
          class DocumentEvent;
      }
      namespace text
      {
          class AttributeSet;
          class JTextComponent;
          class JTextComponent$AccessibleJTextComponent;
      }
    }
  }
}

class javax::swing::text::JTextComponent$AccessibleJTextComponent : public ::javax::swing::JComponent$AccessibleJComponent
{

public:
  JTextComponent$AccessibleJTextComponent(::javax::swing::text::JTextComponent *);
  virtual jint getCaretPosition();
  virtual ::java::lang::String * getSelectedText();
  virtual jint getSelectionStart();
  virtual jint getSelectionEnd();
  virtual void caretUpdate(::javax::swing::event::CaretEvent *);
  virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
  virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
  virtual ::javax::accessibility::AccessibleEditableText * getAccessibleEditableText();
  virtual ::javax::accessibility::AccessibleText * getAccessibleText();
  virtual void insertUpdate(::javax::swing::event::DocumentEvent *);
  virtual void removeUpdate(::javax::swing::event::DocumentEvent *);
  virtual void changedUpdate(::javax::swing::event::DocumentEvent *);
  virtual jint getIndexAtPoint(::java::awt::Point *);
  virtual ::java::awt::Rectangle * getCharacterBounds(jint);
  virtual jint getCharCount();
  virtual ::javax::swing::text::AttributeSet * getCharacterAttribute(jint);
  virtual ::java::lang::String * getAtIndex(jint, jint);
  virtual ::java::lang::String * getAfterIndex(jint, jint);
  virtual ::java::lang::String * getBeforeIndex(jint, jint);
private:
  ::java::lang::String * getAtIndexImpl(jint, jint, jint);
public:
  virtual jint getAccessibleActionCount();
  virtual ::java::lang::String * getAccessibleActionDescription(jint);
  virtual jboolean doAccessibleAction(jint);
  virtual void setTextContents(::java::lang::String *);
  virtual void insertTextAtIndex(jint, ::java::lang::String *);
  virtual ::java::lang::String * getTextRange(jint, jint);
  virtual void delete$(jint, jint);
  virtual void cut(jint, jint);
  virtual void paste(jint);
  virtual void replaceText(jint, jint, ::java::lang::String *);
  virtual void selectText(jint, jint);
  virtual void setAttributes(jint, jint, ::javax::swing::text::AttributeSet *);
private:
  static const jlong serialVersionUID = 7664188944091413696LL;
  jint __attribute__((aligned(__alignof__( ::javax::swing::JComponent$AccessibleJComponent)))) caretDot;
public: // actually package-private
  ::javax::swing::text::JTextComponent * this$0;
  static jboolean $assertionsDisabled;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_JTextComponent$AccessibleJTextComponent__
