1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_table_TableColumn__
|
5 |
|
|
#define __javax_swing_table_TableColumn__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace beans
|
17 |
|
|
{
|
18 |
|
|
class PropertyChangeListener;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace javax
|
22 |
|
|
{
|
23 |
|
|
namespace swing
|
24 |
|
|
{
|
25 |
|
|
namespace event
|
26 |
|
|
{
|
27 |
|
|
class SwingPropertyChangeSupport;
|
28 |
|
|
}
|
29 |
|
|
namespace table
|
30 |
|
|
{
|
31 |
|
|
class TableCellEditor;
|
32 |
|
|
class TableCellRenderer;
|
33 |
|
|
class TableColumn;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
class javax::swing::table::TableColumn : public ::java::lang::Object
|
40 |
|
|
{
|
41 |
|
|
|
42 |
|
|
public:
|
43 |
|
|
TableColumn();
|
44 |
|
|
TableColumn(jint);
|
45 |
|
|
TableColumn(jint, jint);
|
46 |
|
|
TableColumn(jint, jint, ::javax::swing::table::TableCellRenderer *, ::javax::swing::table::TableCellEditor *);
|
47 |
|
|
virtual void setModelIndex(jint);
|
48 |
|
|
virtual jint getModelIndex();
|
49 |
|
|
virtual void setIdentifier(::java::lang::Object *);
|
50 |
|
|
virtual ::java::lang::Object * getIdentifier();
|
51 |
|
|
virtual void setHeaderValue(::java::lang::Object *);
|
52 |
|
|
virtual ::java::lang::Object * getHeaderValue();
|
53 |
|
|
virtual void setHeaderRenderer(::javax::swing::table::TableCellRenderer *);
|
54 |
|
|
virtual ::javax::swing::table::TableCellRenderer * getHeaderRenderer();
|
55 |
|
|
virtual void setCellRenderer(::javax::swing::table::TableCellRenderer *);
|
56 |
|
|
virtual ::javax::swing::table::TableCellRenderer * getCellRenderer();
|
57 |
|
|
virtual void setCellEditor(::javax::swing::table::TableCellEditor *);
|
58 |
|
|
virtual ::javax::swing::table::TableCellEditor * getCellEditor();
|
59 |
|
|
virtual void setWidth(jint);
|
60 |
|
|
virtual jint getWidth();
|
61 |
|
|
virtual void setPreferredWidth(jint);
|
62 |
|
|
virtual jint getPreferredWidth();
|
63 |
|
|
virtual void setMinWidth(jint);
|
64 |
|
|
virtual jint getMinWidth();
|
65 |
|
|
virtual void setMaxWidth(jint);
|
66 |
|
|
virtual jint getMaxWidth();
|
67 |
|
|
virtual void setResizable(jboolean);
|
68 |
|
|
virtual jboolean getResizable();
|
69 |
|
|
virtual void sizeWidthToFit();
|
70 |
|
|
virtual void disableResizedPosting();
|
71 |
|
|
virtual void enableResizedPosting();
|
72 |
|
|
virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
|
73 |
|
|
virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
|
74 |
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
|
75 |
|
|
public: // actually protected
|
76 |
|
|
virtual ::javax::swing::table::TableCellRenderer * createDefaultHeaderRenderer();
|
77 |
|
|
public: // actually package-private
|
78 |
|
|
static const jlong serialVersionUID = -6113660025878112608LL;
|
79 |
|
|
public:
|
80 |
|
|
static ::java::lang::String * COLUMN_WIDTH_PROPERTY;
|
81 |
|
|
static ::java::lang::String * HEADER_VALUE_PROPERTY;
|
82 |
|
|
static ::java::lang::String * HEADER_RENDERER_PROPERTY;
|
83 |
|
|
static ::java::lang::String * CELL_RENDERER_PROPERTY;
|
84 |
|
|
public: // actually protected
|
85 |
|
|
jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) modelIndex;
|
86 |
|
|
::java::lang::Object * identifier;
|
87 |
|
|
jint width;
|
88 |
|
|
jint minWidth;
|
89 |
|
|
private:
|
90 |
|
|
jint preferredWidth;
|
91 |
|
|
public: // actually protected
|
92 |
|
|
jint maxWidth;
|
93 |
|
|
::javax::swing::table::TableCellRenderer * headerRenderer;
|
94 |
|
|
::java::lang::Object * headerValue;
|
95 |
|
|
::javax::swing::table::TableCellRenderer * cellRenderer;
|
96 |
|
|
::javax::swing::table::TableCellEditor * cellEditor;
|
97 |
|
|
jboolean isResizable;
|
98 |
|
|
jint resizedPostingDisableCount;
|
99 |
|
|
private:
|
100 |
|
|
::javax::swing::event::SwingPropertyChangeSupport * changeSupport;
|
101 |
|
|
public:
|
102 |
|
|
static ::java::lang::Class class$;
|
103 |
|
|
};
|
104 |
|
|
|
105 |
|
|
#endif // __javax_swing_table_TableColumn__
|