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

#ifndef __javax_swing_JTable$AccessibleJTable__
#define __javax_swing_JTable$AccessibleJTable__

#pragma interface

#include <javax/swing/JComponent$AccessibleJComponent.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace beans
    {
        class PropertyChangeEvent;
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class Accessible;
        class AccessibleRole;
        class AccessibleTable;
    }
    namespace swing
    {
        class JTable;
        class JTable$AccessibleJTable;
      namespace event
      {
          class ChangeEvent;
          class ListSelectionEvent;
          class TableColumnModelEvent;
          class TableModelEvent;
      }
    }
  }
}

class javax::swing::JTable$AccessibleJTable : public ::javax::swing::JComponent$AccessibleJComponent
{

public: // actually protected
  JTable$AccessibleJTable(::javax::swing::JTable *);
public:
  virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
  virtual ::javax::accessibility::AccessibleTable * getAccessibleTable();
  virtual jint getAccessibleSelectionCount();
  virtual ::javax::accessibility::Accessible * getAccessibleSelection(jint);
  virtual jboolean isAccessibleChildSelected(jint);
  virtual void addAccessibleSelection(jint);
  virtual void removeAccessibleSelection(jint);
  virtual void clearAccessibleSelection();
  virtual void selectAllAccessibleSelection();
  virtual void valueChanged(::javax::swing::event::ListSelectionEvent *);
  virtual void tableChanged(::javax::swing::event::TableModelEvent *);
  virtual void tableRowsInserted(::javax::swing::event::TableModelEvent *);
  virtual void tableRowsDeleted(::javax::swing::event::TableModelEvent *);
private:
  void handleRowChange(::javax::swing::event::TableModelEvent *);
public:
  virtual void columnAdded(::javax::swing::event::TableColumnModelEvent *);
  virtual void columnRemoved(::javax::swing::event::TableColumnModelEvent *);
  virtual void columnMoved(::javax::swing::event::TableColumnModelEvent *);
private:
  void handleColumnChange(jint, jint, jint);
public:
  virtual void columnMarginChanged(::javax::swing::event::ChangeEvent *);
  virtual void columnSelectionChanged(::javax::swing::event::ListSelectionEvent *);
  virtual void editingCanceled(::javax::swing::event::ChangeEvent *);
  virtual void editingStopped(::javax::swing::event::ChangeEvent *);
  virtual void propertyChange(::java::beans::PropertyChangeEvent *);
  virtual jint getAccessibleRow(jint);
  virtual jint getAccessibleColumn(jint);
  virtual jint getAccessibleIndex(jint, jint);
  virtual ::javax::accessibility::Accessible * getAccessibleCaption();
  virtual void setAccessibleCaption(::javax::accessibility::Accessible *);
  virtual ::javax::accessibility::Accessible * getAccessibleSummary();
  virtual void setAccessibleSummary(::javax::accessibility::Accessible *);
  virtual jint getAccessibleRowCount();
  virtual jint getAccessibleColumnCount();
  virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
  virtual ::javax::accessibility::Accessible * getAccessibleAt(jint, jint);
  virtual jint getAccessibleRowExtentAt(jint, jint);
  virtual jint getAccessibleColumnExtentAt(jint, jint);
  virtual ::javax::accessibility::AccessibleTable * getAccessibleRowHeader();
  virtual void setAccessibleRowHeader(::javax::accessibility::AccessibleTable *);
  virtual ::javax::accessibility::AccessibleTable * getAccessibleColumnHeader();
  virtual void setAccessibleColumnHeader(::javax::accessibility::AccessibleTable *);
  virtual ::javax::accessibility::Accessible * getAccessibleRowDescription(jint);
  virtual void setAccessibleRowDescription(jint, ::javax::accessibility::Accessible *);
  virtual ::javax::accessibility::Accessible * getAccessibleColumnDescription(jint);
  virtual void setAccessibleColumnDescription(jint, ::javax::accessibility::Accessible *);
  virtual jboolean isAccessibleSelected(jint, jint);
  virtual jboolean isAccessibleRowSelected(jint);
  virtual jboolean isAccessibleColumnSelected(jint);
  virtual JArray< jint > * getSelectedAccessibleRows();
  virtual JArray< jint > * getSelectedAccessibleColumns();
  virtual jint getAccessibleRowAtIndex(jint);
  virtual jint getAccessibleColumnAtIndex(jint);
  virtual jint getAccessibleIndexAt(jint, jint);
public: // actually package-private
  static ::javax::swing::JTable * access$0(::javax::swing::JTable$AccessibleJTable *);
private:
  jint __attribute__((aligned(__alignof__( ::javax::swing::JComponent$AccessibleJComponent)))) lastSelectedRow;
  jint lastSelectedColumn;
  ::javax::accessibility::Accessible * caption;
  ::javax::accessibility::Accessible * summary;
  JArray< ::javax::accessibility::Accessible * > * rowDescriptions;
  JArray< ::javax::accessibility::Accessible * > * columnDescriptions;
public: // actually package-private
  ::javax::swing::JTable * this$0;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_JTable$AccessibleJTable__
