summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/table/DefaultTableColumnModel.h
blob: bdbb4e7758c1c1450fefc3cdfa1b571d7155dc37 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_table_DefaultTableColumnModel__
#define __javax_swing_table_DefaultTableColumnModel__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace beans
    {
        class PropertyChangeEvent;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class ListSelectionModel;
      namespace event
      {
          class ChangeEvent;
          class EventListenerList;
          class ListSelectionEvent;
          class TableColumnModelEvent;
          class TableColumnModelListener;
      }
      namespace table
      {
          class DefaultTableColumnModel;
          class TableColumn;
      }
    }
  }
}

class javax::swing::table::DefaultTableColumnModel : public ::java::lang::Object
{

public:
  DefaultTableColumnModel();
  virtual void addColumn(::javax::swing::table::TableColumn *);
  virtual void removeColumn(::javax::swing::table::TableColumn *);
  virtual void moveColumn(jint, jint);
  virtual void setColumnMargin(jint);
  virtual jint getColumnCount();
  virtual ::java::util::Enumeration * getColumns();
  virtual jint getColumnIndex(::java::lang::Object *);
  virtual ::javax::swing::table::TableColumn * getColumn(jint);
  virtual jint getColumnMargin();
  virtual jint getColumnIndexAtX(jint);
  virtual jint getTotalColumnWidth();
  virtual void setSelectionModel(::javax::swing::ListSelectionModel *);
  virtual ::javax::swing::ListSelectionModel * getSelectionModel();
  virtual void setColumnSelectionAllowed(jboolean);
  virtual jboolean getColumnSelectionAllowed();
  virtual JArray< jint > * getSelectedColumns();
  virtual jint getSelectedColumnCount();
  virtual void addColumnModelListener(::javax::swing::event::TableColumnModelListener *);
  virtual void removeColumnModelListener(::javax::swing::event::TableColumnModelListener *);
  virtual JArray< ::javax::swing::event::TableColumnModelListener * > * getColumnModelListeners();
public: // actually protected
  virtual void fireColumnAdded(::javax::swing::event::TableColumnModelEvent *);
  virtual void fireColumnRemoved(::javax::swing::event::TableColumnModelEvent *);
  virtual void fireColumnMoved(::javax::swing::event::TableColumnModelEvent *);
  virtual void fireColumnSelectionChanged(::javax::swing::event::ListSelectionEvent *);
  virtual void fireColumnMarginChanged();
public:
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  virtual void propertyChange(::java::beans::PropertyChangeEvent *);
  virtual void valueChanged(::javax::swing::event::ListSelectionEvent *);
public: // actually protected
  virtual ::javax::swing::ListSelectionModel * createSelectionModel();
  virtual void recalcWidthCache();
private:
  void invalidateWidthCache();
  static const jlong serialVersionUID = 6580012493508960512LL;
public: // actually protected
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) tableColumns;
  ::javax::swing::ListSelectionModel * selectionModel;
  jint columnMargin;
  ::javax::swing::event::EventListenerList * listenerList;
  ::javax::swing::event::ChangeEvent * changeEvent;
  jboolean columnSelectionAllowed;
  jint totalColumnWidth;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_table_DefaultTableColumnModel__