1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_table_JTableHeader__
|
5 |
|
|
#define __javax_swing_table_JTableHeader__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/JComponent.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Point;
|
17 |
|
|
class Rectangle;
|
18 |
|
|
}
|
19 |
|
|
}
|
20 |
|
|
namespace javax
|
21 |
|
|
{
|
22 |
|
|
namespace accessibility
|
23 |
|
|
{
|
24 |
|
|
class AccessibleContext;
|
25 |
|
|
}
|
26 |
|
|
namespace swing
|
27 |
|
|
{
|
28 |
|
|
class JTable;
|
29 |
|
|
namespace event
|
30 |
|
|
{
|
31 |
|
|
class ChangeEvent;
|
32 |
|
|
class ListSelectionEvent;
|
33 |
|
|
class TableColumnModelEvent;
|
34 |
|
|
}
|
35 |
|
|
namespace plaf
|
36 |
|
|
{
|
37 |
|
|
class TableHeaderUI;
|
38 |
|
|
}
|
39 |
|
|
namespace table
|
40 |
|
|
{
|
41 |
|
|
class JTableHeader;
|
42 |
|
|
class TableCellRenderer;
|
43 |
|
|
class TableColumn;
|
44 |
|
|
class TableColumnModel;
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
class javax::swing::table::JTableHeader : public ::javax::swing::JComponent
|
51 |
|
|
{
|
52 |
|
|
|
53 |
|
|
public:
|
54 |
|
|
JTableHeader();
|
55 |
|
|
JTableHeader(::javax::swing::table::TableColumnModel *);
|
56 |
|
|
public: // actually protected
|
57 |
|
|
virtual ::javax::swing::table::TableColumnModel * createDefaultColumnModel();
|
58 |
|
|
public:
|
59 |
|
|
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
|
60 |
|
|
virtual ::javax::swing::table::TableColumnModel * getColumnModel();
|
61 |
|
|
virtual ::javax::swing::table::TableColumn * getDraggedColumn();
|
62 |
|
|
virtual jint getDraggedDistance();
|
63 |
|
|
virtual jboolean getReorderingAllowed();
|
64 |
|
|
virtual jboolean getResizingAllowed();
|
65 |
|
|
virtual ::javax::swing::table::TableColumn * getResizingColumn();
|
66 |
|
|
virtual ::javax::swing::JTable * getTable();
|
67 |
|
|
virtual jboolean getUpdateTableInRealTime();
|
68 |
|
|
virtual jboolean isOpaque();
|
69 |
|
|
virtual void setColumnModel(::javax::swing::table::TableColumnModel *);
|
70 |
|
|
virtual void setDraggedColumn(::javax::swing::table::TableColumn *);
|
71 |
|
|
virtual void setDraggedDistance(jint);
|
72 |
|
|
virtual void setOpaque(jboolean);
|
73 |
|
|
virtual void setReorderingAllowed(jboolean);
|
74 |
|
|
virtual void setResizingAllowed(jboolean);
|
75 |
|
|
virtual void setResizingColumn(::javax::swing::table::TableColumn *);
|
76 |
|
|
virtual void setTable(::javax::swing::JTable *);
|
77 |
|
|
virtual void setUpdateTableInRealTime(jboolean);
|
78 |
|
|
public: // actually protected
|
79 |
|
|
virtual ::javax::swing::table::TableCellRenderer * createDefaultRenderer();
|
80 |
|
|
public:
|
81 |
|
|
virtual ::javax::swing::table::TableCellRenderer * getDefaultRenderer();
|
82 |
|
|
virtual void setDefaultRenderer(::javax::swing::table::TableCellRenderer *);
|
83 |
|
|
virtual ::java::awt::Rectangle * getHeaderRect(jint);
|
84 |
|
|
public: // actually protected
|
85 |
|
|
virtual ::java::lang::String * paramString();
|
86 |
|
|
public:
|
87 |
|
|
virtual ::java::lang::String * getUIClassID();
|
88 |
|
|
virtual ::javax::swing::plaf::TableHeaderUI * getUI();
|
89 |
|
|
virtual void setUI(::javax::swing::plaf::TableHeaderUI *);
|
90 |
|
|
virtual void updateUI();
|
91 |
|
|
virtual jint columnAtPoint(::java::awt::Point *);
|
92 |
|
|
virtual void columnAdded(::javax::swing::event::TableColumnModelEvent *);
|
93 |
|
|
virtual void columnMarginChanged(::javax::swing::event::ChangeEvent *);
|
94 |
|
|
virtual void columnMoved(::javax::swing::event::TableColumnModelEvent *);
|
95 |
|
|
virtual void columnRemoved(::javax::swing::event::TableColumnModelEvent *);
|
96 |
|
|
virtual void columnSelectionChanged(::javax::swing::event::ListSelectionEvent *);
|
97 |
|
|
virtual void resizeAndRepaint();
|
98 |
|
|
public: // actually protected
|
99 |
|
|
virtual void initializeLocalVars();
|
100 |
|
|
private:
|
101 |
|
|
static const jlong serialVersionUID = 5144633983372967710LL;
|
102 |
|
|
public: // actually protected
|
103 |
|
|
::javax::swing::table::TableColumnModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) columnModel;
|
104 |
|
|
::javax::swing::table::TableColumn * draggedColumn;
|
105 |
|
|
jint draggedDistance;
|
106 |
|
|
public: // actually package-private
|
107 |
|
|
jboolean opaque;
|
108 |
|
|
public: // actually protected
|
109 |
|
|
jboolean reorderingAllowed;
|
110 |
|
|
jboolean resizingAllowed;
|
111 |
|
|
::javax::swing::table::TableColumn * resizingColumn;
|
112 |
|
|
::javax::swing::JTable * table;
|
113 |
|
|
jboolean updateTableInRealTime;
|
114 |
|
|
public: // actually package-private
|
115 |
|
|
::javax::swing::table::TableCellRenderer * cellRenderer;
|
116 |
|
|
public:
|
117 |
|
|
static ::java::lang::Class class$;
|
118 |
|
|
};
|
119 |
|
|
|
120 |
|
|
#endif // __javax_swing_table_JTableHeader__
|