summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/table
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/table
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/table')
-rw-r--r--libjava/javax/swing/table/AbstractTableModel.h64
-rw-r--r--libjava/javax/swing/table/DefaultTableCellRenderer$UIResource.h32
-rw-r--r--libjava/javax/swing/table/DefaultTableCellRenderer.h69
-rw-r--r--libjava/javax/swing/table/DefaultTableColumnModel.h96
-rw-r--r--libjava/javax/swing/table/DefaultTableModel.h81
-rw-r--r--libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry.h125
-rw-r--r--libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader.h53
-rw-r--r--libjava/javax/swing/table/JTableHeader.h120
-rw-r--r--libjava/javax/swing/table/TableCellEditor.h51
-rw-r--r--libjava/javax/swing/table/TableCellRenderer.h40
-rw-r--r--libjava/javax/swing/table/TableColumn.h105
-rw-r--r--libjava/javax/swing/table/TableColumnModel.h58
-rw-r--r--libjava/javax/swing/table/TableModel.h44
13 files changed, 938 insertions, 0 deletions
diff --git a/libjava/javax/swing/table/AbstractTableModel.h b/libjava/javax/swing/table/AbstractTableModel.h
new file mode 100644
index 000000000..307aa95f9
--- /dev/null
+++ b/libjava/javax/swing/table/AbstractTableModel.h
@@ -0,0 +1,64 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_AbstractTableModel__
+#define __javax_swing_table_AbstractTableModel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace event
+ {
+ class EventListenerList;
+ class TableModelEvent;
+ class TableModelListener;
+ }
+ namespace table
+ {
+ class AbstractTableModel;
+ }
+ }
+ }
+}
+
+class javax::swing::table::AbstractTableModel : public ::java::lang::Object
+{
+
+public:
+ AbstractTableModel();
+ virtual ::java::lang::String * getColumnName(jint);
+ virtual jint findColumn(::java::lang::String *);
+ virtual ::java::lang::Class * getColumnClass(jint);
+ virtual jboolean isCellEditable(jint, jint);
+ virtual void setValueAt(::java::lang::Object *, jint, jint);
+ virtual void addTableModelListener(::javax::swing::event::TableModelListener *);
+ virtual void removeTableModelListener(::javax::swing::event::TableModelListener *);
+ virtual JArray< ::javax::swing::event::TableModelListener * > * getTableModelListeners();
+ virtual void fireTableDataChanged();
+ virtual void fireTableStructureChanged();
+ virtual void fireTableRowsInserted(jint, jint);
+ virtual void fireTableRowsUpdated(jint, jint);
+ virtual void fireTableRowsDeleted(jint, jint);
+ virtual void fireTableCellUpdated(jint, jint);
+ virtual void fireTableChanged(::javax::swing::event::TableModelEvent *);
+ virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
+ virtual jint getRowCount() = 0;
+ virtual jint getColumnCount() = 0;
+ virtual ::java::lang::Object * getValueAt(jint, jint) = 0;
+public: // actually package-private
+ static const jlong serialVersionUID = -5798593159423650347LL;
+public: // actually protected
+ ::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_AbstractTableModel__
diff --git a/libjava/javax/swing/table/DefaultTableCellRenderer$UIResource.h b/libjava/javax/swing/table/DefaultTableCellRenderer$UIResource.h
new file mode 100644
index 000000000..ba101048b
--- /dev/null
+++ b/libjava/javax/swing/table/DefaultTableCellRenderer$UIResource.h
@@ -0,0 +1,32 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_DefaultTableCellRenderer$UIResource__
+#define __javax_swing_table_DefaultTableCellRenderer$UIResource__
+
+#pragma interface
+
+#include <javax/swing/table/DefaultTableCellRenderer.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace table
+ {
+ class DefaultTableCellRenderer$UIResource;
+ }
+ }
+ }
+}
+
+class javax::swing::table::DefaultTableCellRenderer$UIResource : public ::javax::swing::table::DefaultTableCellRenderer
+{
+
+public:
+ DefaultTableCellRenderer$UIResource();
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_DefaultTableCellRenderer$UIResource__
diff --git a/libjava/javax/swing/table/DefaultTableCellRenderer.h b/libjava/javax/swing/table/DefaultTableCellRenderer.h
new file mode 100644
index 000000000..7865b5a4a
--- /dev/null
+++ b/libjava/javax/swing/table/DefaultTableCellRenderer.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_DefaultTableCellRenderer__
+#define __javax_swing_table_DefaultTableCellRenderer__
+
+#pragma interface
+
+#include <javax/swing/JLabel.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Component;
+ class Rectangle;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JTable;
+ namespace border
+ {
+ class Border;
+ }
+ namespace table
+ {
+ class DefaultTableCellRenderer;
+ }
+ }
+ }
+}
+
+class javax::swing::table::DefaultTableCellRenderer : public ::javax::swing::JLabel
+{
+
+public:
+ DefaultTableCellRenderer();
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setBackground(::java::awt::Color *);
+ virtual void updateUI();
+ virtual ::java::awt::Component * getTableCellRendererComponent(::javax::swing::JTable *, ::java::lang::Object *, jboolean, jboolean, jint, jint);
+ virtual jboolean isOpaque();
+ virtual void validate();
+ virtual void revalidate();
+ virtual void repaint(jlong, jint, jint, jint, jint);
+ virtual void repaint(::java::awt::Rectangle *);
+public: // actually protected
+ virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
+public:
+ virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
+public: // actually protected
+ virtual void setValue(::java::lang::Object *);
+public: // actually package-private
+ static const jlong serialVersionUID = 7878911414715528324LL;
+public: // actually protected
+ static ::javax::swing::border::Border * noFocusBorder;
+public: // actually package-private
+ ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::JLabel)))) foreground;
+ ::java::awt::Color * background;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_DefaultTableCellRenderer__
diff --git a/libjava/javax/swing/table/DefaultTableColumnModel.h b/libjava/javax/swing/table/DefaultTableColumnModel.h
new file mode 100644
index 000000000..bdbb4e775
--- /dev/null
+++ b/libjava/javax/swing/table/DefaultTableColumnModel.h
@@ -0,0 +1,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__
diff --git a/libjava/javax/swing/table/DefaultTableModel.h b/libjava/javax/swing/table/DefaultTableModel.h
new file mode 100644
index 000000000..a5f3bd4ec
--- /dev/null
+++ b/libjava/javax/swing/table/DefaultTableModel.h
@@ -0,0 +1,81 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_DefaultTableModel__
+#define __javax_swing_table_DefaultTableModel__
+
+#pragma interface
+
+#include <javax/swing/table/AbstractTableModel.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace event
+ {
+ class TableModelEvent;
+ }
+ namespace table
+ {
+ class DefaultTableModel;
+ }
+ }
+ }
+}
+
+class javax::swing::table::DefaultTableModel : public ::javax::swing::table::AbstractTableModel
+{
+
+public:
+ DefaultTableModel();
+ DefaultTableModel(jint, jint);
+ DefaultTableModel(::java::util::Vector *, jint);
+ DefaultTableModel(JArray< ::java::lang::Object * > *, jint);
+ DefaultTableModel(::java::util::Vector *, ::java::util::Vector *);
+ DefaultTableModel(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
+ virtual ::java::util::Vector * getDataVector();
+ virtual void setDataVector(::java::util::Vector *, ::java::util::Vector *);
+ virtual void setDataVector(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
+ virtual void newDataAvailable(::javax::swing::event::TableModelEvent *);
+ virtual void newRowsAdded(::javax::swing::event::TableModelEvent *);
+ virtual void rowsRemoved(::javax::swing::event::TableModelEvent *);
+ virtual void setColumnIdentifiers(::java::util::Vector *);
+ virtual void setColumnIdentifiers(JArray< ::java::lang::Object * > *);
+ virtual void setNumRows(jint);
+ virtual void setRowCount(jint);
+ virtual void setColumnCount(jint);
+ virtual void addColumn(::java::lang::Object *);
+ virtual void addColumn(::java::lang::Object *, ::java::util::Vector *);
+ virtual void addColumn(::java::lang::Object *, JArray< ::java::lang::Object * > *);
+ virtual void addRow(::java::util::Vector *);
+ virtual void addRow(JArray< ::java::lang::Object * > *);
+ virtual void insertRow(jint, ::java::util::Vector *);
+ virtual void insertRow(jint, JArray< ::java::lang::Object * > *);
+ virtual void moveRow(jint, jint, jint);
+ virtual void removeRow(jint);
+ virtual jint getRowCount();
+ virtual jint getColumnCount();
+ virtual ::java::lang::String * getColumnName(jint);
+ virtual jboolean isCellEditable(jint, jint);
+ virtual ::java::lang::Object * getValueAt(jint, jint);
+ virtual void setValueAt(::java::lang::Object *, jint, jint);
+public: // actually protected
+ static ::java::util::Vector * convertToVector(JArray< ::java::lang::Object * > *);
+ static ::java::util::Vector * convertToVector(JArray< JArray< ::java::lang::Object * > * > *);
+private:
+ void addExtraRows(jint, jint);
+ void checkSize();
+public: // actually package-private
+ static const jlong serialVersionUID = 6680042567037222321LL;
+public: // actually protected
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::table::AbstractTableModel)))) dataVector;
+ ::java::util::Vector * columnIdentifiers;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_DefaultTableModel__
diff --git a/libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry.h b/libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry.h
new file mode 100644
index 000000000..c5febbb2c
--- /dev/null
+++ b/libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry.h
@@ -0,0 +1,125 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry__
+#define __javax_swing_table_JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry__
+
+#pragma interface
+
+#include <javax/accessibility/AccessibleContext.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Component;
+ class Cursor;
+ class Dimension;
+ class Font;
+ class FontMetrics;
+ class Point;
+ class Rectangle;
+ namespace event
+ {
+ class FocusListener;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class Accessible;
+ class AccessibleAction;
+ class AccessibleComponent;
+ class AccessibleContext;
+ class AccessibleRole;
+ class AccessibleSelection;
+ class AccessibleStateSet;
+ class AccessibleText;
+ class AccessibleValue;
+ }
+ namespace swing
+ {
+ class JTable;
+ namespace table
+ {
+ class JTableHeader;
+ class JTableHeader$AccessibleJTableHeader;
+ class JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry;
+ }
+ }
+ }
+}
+
+class javax::swing::table::JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry : public ::javax::accessibility::AccessibleContext
+{
+
+public:
+ JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry(::javax::swing::table::JTableHeader$AccessibleJTableHeader *, jint, ::javax::swing::table::JTableHeader *, ::javax::swing::JTable *);
+public: // actually package-private
+ virtual ::java::awt::Component * getColumnHeaderRenderer();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleColumnHeaderRenderer();
+public:
+ virtual void addFocusListener(::java::awt::event::FocusListener *);
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual jboolean contains(::java::awt::Point *);
+ virtual ::javax::accessibility::AccessibleAction * getAccessibleAction();
+ virtual ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Point *);
+ virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
+ virtual jint getAccessibleChildrenCount();
+ virtual ::javax::accessibility::AccessibleComponent * getAccessibleComponent();
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ virtual ::java::lang::String * getAccessibleDescription();
+ virtual jint getAccessibleIndexInParent();
+ virtual ::java::lang::String * getAccessibleName();
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual ::javax::accessibility::AccessibleSelection * getAccessibleSelection();
+ virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet();
+ virtual ::javax::accessibility::AccessibleText * getAccessibleText();
+ virtual ::javax::accessibility::AccessibleValue * getAccessibleValue();
+ virtual ::java::awt::Color * getBackground();
+ virtual ::java::awt::Rectangle * getBounds();
+ virtual ::java::awt::Cursor * getCursor();
+ virtual ::java::awt::Font * getFont();
+ virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
+ virtual ::java::awt::Color * getForeground();
+ virtual ::java::util::Locale * getLocale();
+ virtual ::java::awt::Point * getLocation();
+ virtual ::java::awt::Point * getLocationOnScreen();
+ virtual ::java::awt::Dimension * getSize();
+ virtual jboolean isEnabled();
+ virtual jboolean isFocusTraversable();
+ virtual jboolean isShowing();
+ virtual jboolean isVisible();
+ virtual void removeFocusListener(::java::awt::event::FocusListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void requestFocus();
+ virtual void setAccessibleDescription(::java::lang::String *);
+ virtual void setAccessibleName(::java::lang::String *);
+ virtual void setBackground(::java::awt::Color *);
+ virtual void setBounds(::java::awt::Rectangle *);
+ virtual void setCursor(::java::awt::Cursor *);
+ virtual void setEnabled(jboolean);
+ virtual void setFont(::java::awt::Font *);
+ virtual void setForeground(::java::awt::Color *);
+ virtual void setLocation(::java::awt::Point *);
+ virtual void setSize(::java::awt::Dimension *);
+ virtual void setVisible(jboolean);
+private:
+ jint __attribute__((aligned(__alignof__( ::javax::accessibility::AccessibleContext)))) columnIndex;
+ ::javax::swing::table::JTableHeader * parent;
+ ::javax::swing::JTable * table;
+public: // actually package-private
+ ::javax::swing::table::JTableHeader$AccessibleJTableHeader * this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_JTableHeader$AccessibleJTableHeader$AccessibleJTableHeaderEntry__
diff --git a/libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader.h b/libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader.h
new file mode 100644
index 000000000..64fd44e71
--- /dev/null
+++ b/libjava/javax/swing/table/JTableHeader$AccessibleJTableHeader.h
@@ -0,0 +1,53 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_JTableHeader$AccessibleJTableHeader__
+#define __javax_swing_table_JTableHeader$AccessibleJTableHeader__
+
+#pragma interface
+
+#include <javax/swing/JComponent$AccessibleJComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class Accessible;
+ class AccessibleRole;
+ }
+ namespace swing
+ {
+ namespace table
+ {
+ class JTableHeader;
+ class JTableHeader$AccessibleJTableHeader;
+ }
+ }
+ }
+}
+
+class javax::swing::table::JTableHeader$AccessibleJTableHeader : public ::javax::swing::JComponent$AccessibleJComponent
+{
+
+public: // actually protected
+ JTableHeader$AccessibleJTableHeader(::javax::swing::table::JTableHeader *);
+public:
+ virtual ::javax::accessibility::AccessibleRole * getAccessibleRole();
+ virtual jint getAccessibleChildrenCount();
+ virtual ::javax::accessibility::Accessible * getAccessibleChild(jint);
+ virtual ::javax::accessibility::Accessible * getAccessibleAt(::java::awt::Point *);
+public: // actually package-private
+ ::javax::swing::table::JTableHeader * __attribute__((aligned(__alignof__( ::javax::swing::JComponent$AccessibleJComponent)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_JTableHeader$AccessibleJTableHeader__
diff --git a/libjava/javax/swing/table/JTableHeader.h b/libjava/javax/swing/table/JTableHeader.h
new file mode 100644
index 000000000..0c92ad30a
--- /dev/null
+++ b/libjava/javax/swing/table/JTableHeader.h
@@ -0,0 +1,120 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_JTableHeader__
+#define __javax_swing_table_JTableHeader__
+
+#pragma interface
+
+#include <javax/swing/JComponent.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Point;
+ class Rectangle;
+ }
+ }
+ namespace javax
+ {
+ namespace accessibility
+ {
+ class AccessibleContext;
+ }
+ namespace swing
+ {
+ class JTable;
+ namespace event
+ {
+ class ChangeEvent;
+ class ListSelectionEvent;
+ class TableColumnModelEvent;
+ }
+ namespace plaf
+ {
+ class TableHeaderUI;
+ }
+ namespace table
+ {
+ class JTableHeader;
+ class TableCellRenderer;
+ class TableColumn;
+ class TableColumnModel;
+ }
+ }
+ }
+}
+
+class javax::swing::table::JTableHeader : public ::javax::swing::JComponent
+{
+
+public:
+ JTableHeader();
+ JTableHeader(::javax::swing::table::TableColumnModel *);
+public: // actually protected
+ virtual ::javax::swing::table::TableColumnModel * createDefaultColumnModel();
+public:
+ virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
+ virtual ::javax::swing::table::TableColumnModel * getColumnModel();
+ virtual ::javax::swing::table::TableColumn * getDraggedColumn();
+ virtual jint getDraggedDistance();
+ virtual jboolean getReorderingAllowed();
+ virtual jboolean getResizingAllowed();
+ virtual ::javax::swing::table::TableColumn * getResizingColumn();
+ virtual ::javax::swing::JTable * getTable();
+ virtual jboolean getUpdateTableInRealTime();
+ virtual jboolean isOpaque();
+ virtual void setColumnModel(::javax::swing::table::TableColumnModel *);
+ virtual void setDraggedColumn(::javax::swing::table::TableColumn *);
+ virtual void setDraggedDistance(jint);
+ virtual void setOpaque(jboolean);
+ virtual void setReorderingAllowed(jboolean);
+ virtual void setResizingAllowed(jboolean);
+ virtual void setResizingColumn(::javax::swing::table::TableColumn *);
+ virtual void setTable(::javax::swing::JTable *);
+ virtual void setUpdateTableInRealTime(jboolean);
+public: // actually protected
+ virtual ::javax::swing::table::TableCellRenderer * createDefaultRenderer();
+public:
+ virtual ::javax::swing::table::TableCellRenderer * getDefaultRenderer();
+ virtual void setDefaultRenderer(::javax::swing::table::TableCellRenderer *);
+ virtual ::java::awt::Rectangle * getHeaderRect(jint);
+public: // actually protected
+ virtual ::java::lang::String * paramString();
+public:
+ virtual ::java::lang::String * getUIClassID();
+ virtual ::javax::swing::plaf::TableHeaderUI * getUI();
+ virtual void setUI(::javax::swing::plaf::TableHeaderUI *);
+ virtual void updateUI();
+ virtual jint columnAtPoint(::java::awt::Point *);
+ virtual void columnAdded(::javax::swing::event::TableColumnModelEvent *);
+ virtual void columnMarginChanged(::javax::swing::event::ChangeEvent *);
+ virtual void columnMoved(::javax::swing::event::TableColumnModelEvent *);
+ virtual void columnRemoved(::javax::swing::event::TableColumnModelEvent *);
+ virtual void columnSelectionChanged(::javax::swing::event::ListSelectionEvent *);
+ virtual void resizeAndRepaint();
+public: // actually protected
+ virtual void initializeLocalVars();
+private:
+ static const jlong serialVersionUID = 5144633983372967710LL;
+public: // actually protected
+ ::javax::swing::table::TableColumnModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) columnModel;
+ ::javax::swing::table::TableColumn * draggedColumn;
+ jint draggedDistance;
+public: // actually package-private
+ jboolean opaque;
+public: // actually protected
+ jboolean reorderingAllowed;
+ jboolean resizingAllowed;
+ ::javax::swing::table::TableColumn * resizingColumn;
+ ::javax::swing::JTable * table;
+ jboolean updateTableInRealTime;
+public: // actually package-private
+ ::javax::swing::table::TableCellRenderer * cellRenderer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_JTableHeader__
diff --git a/libjava/javax/swing/table/TableCellEditor.h b/libjava/javax/swing/table/TableCellEditor.h
new file mode 100644
index 000000000..a84088452
--- /dev/null
+++ b/libjava/javax/swing/table/TableCellEditor.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_TableCellEditor__
+#define __javax_swing_table_TableCellEditor__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JTable;
+ namespace event
+ {
+ class CellEditorListener;
+ }
+ namespace table
+ {
+ class TableCellEditor;
+ }
+ }
+ }
+}
+
+class javax::swing::table::TableCellEditor : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Component * getTableCellEditorComponent(::javax::swing::JTable *, ::java::lang::Object *, jboolean, jint, jint) = 0;
+ virtual ::java::lang::Object * getCellEditorValue() = 0;
+ virtual jboolean isCellEditable(::java::util::EventObject *) = 0;
+ virtual jboolean shouldSelectCell(::java::util::EventObject *) = 0;
+ virtual jboolean stopCellEditing() = 0;
+ virtual void cancelCellEditing() = 0;
+ virtual void addCellEditorListener(::javax::swing::event::CellEditorListener *) = 0;
+ virtual void removeCellEditorListener(::javax::swing::event::CellEditorListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_swing_table_TableCellEditor__
diff --git a/libjava/javax/swing/table/TableCellRenderer.h b/libjava/javax/swing/table/TableCellRenderer.h
new file mode 100644
index 000000000..46e7eff87
--- /dev/null
+++ b/libjava/javax/swing/table/TableCellRenderer.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_TableCellRenderer__
+#define __javax_swing_table_TableCellRenderer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Component;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class JTable;
+ namespace table
+ {
+ class TableCellRenderer;
+ }
+ }
+ }
+}
+
+class javax::swing::table::TableCellRenderer : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::Component * getTableCellRendererComponent(::javax::swing::JTable *, ::java::lang::Object *, jboolean, jboolean, jint, jint) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_swing_table_TableCellRenderer__
diff --git a/libjava/javax/swing/table/TableColumn.h b/libjava/javax/swing/table/TableColumn.h
new file mode 100644
index 000000000..11ca5758b
--- /dev/null
+++ b/libjava/javax/swing/table/TableColumn.h
@@ -0,0 +1,105 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_TableColumn__
+#define __javax_swing_table_TableColumn__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace beans
+ {
+ class PropertyChangeListener;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace event
+ {
+ class SwingPropertyChangeSupport;
+ }
+ namespace table
+ {
+ class TableCellEditor;
+ class TableCellRenderer;
+ class TableColumn;
+ }
+ }
+ }
+}
+
+class javax::swing::table::TableColumn : public ::java::lang::Object
+{
+
+public:
+ TableColumn();
+ TableColumn(jint);
+ TableColumn(jint, jint);
+ TableColumn(jint, jint, ::javax::swing::table::TableCellRenderer *, ::javax::swing::table::TableCellEditor *);
+ virtual void setModelIndex(jint);
+ virtual jint getModelIndex();
+ virtual void setIdentifier(::java::lang::Object *);
+ virtual ::java::lang::Object * getIdentifier();
+ virtual void setHeaderValue(::java::lang::Object *);
+ virtual ::java::lang::Object * getHeaderValue();
+ virtual void setHeaderRenderer(::javax::swing::table::TableCellRenderer *);
+ virtual ::javax::swing::table::TableCellRenderer * getHeaderRenderer();
+ virtual void setCellRenderer(::javax::swing::table::TableCellRenderer *);
+ virtual ::javax::swing::table::TableCellRenderer * getCellRenderer();
+ virtual void setCellEditor(::javax::swing::table::TableCellEditor *);
+ virtual ::javax::swing::table::TableCellEditor * getCellEditor();
+ virtual void setWidth(jint);
+ virtual jint getWidth();
+ virtual void setPreferredWidth(jint);
+ virtual jint getPreferredWidth();
+ virtual void setMinWidth(jint);
+ virtual jint getMinWidth();
+ virtual void setMaxWidth(jint);
+ virtual jint getMaxWidth();
+ virtual void setResizable(jboolean);
+ virtual jboolean getResizable();
+ virtual void sizeWidthToFit();
+ virtual void disableResizedPosting();
+ virtual void enableResizedPosting();
+ virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
+ virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
+public: // actually protected
+ virtual ::javax::swing::table::TableCellRenderer * createDefaultHeaderRenderer();
+public: // actually package-private
+ static const jlong serialVersionUID = -6113660025878112608LL;
+public:
+ static ::java::lang::String * COLUMN_WIDTH_PROPERTY;
+ static ::java::lang::String * HEADER_VALUE_PROPERTY;
+ static ::java::lang::String * HEADER_RENDERER_PROPERTY;
+ static ::java::lang::String * CELL_RENDERER_PROPERTY;
+public: // actually protected
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) modelIndex;
+ ::java::lang::Object * identifier;
+ jint width;
+ jint minWidth;
+private:
+ jint preferredWidth;
+public: // actually protected
+ jint maxWidth;
+ ::javax::swing::table::TableCellRenderer * headerRenderer;
+ ::java::lang::Object * headerValue;
+ ::javax::swing::table::TableCellRenderer * cellRenderer;
+ ::javax::swing::table::TableCellEditor * cellEditor;
+ jboolean isResizable;
+ jint resizedPostingDisableCount;
+private:
+ ::javax::swing::event::SwingPropertyChangeSupport * changeSupport;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_table_TableColumn__
diff --git a/libjava/javax/swing/table/TableColumnModel.h b/libjava/javax/swing/table/TableColumnModel.h
new file mode 100644
index 000000000..ea6032242
--- /dev/null
+++ b/libjava/javax/swing/table/TableColumnModel.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_TableColumnModel__
+#define __javax_swing_table_TableColumnModel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ class ListSelectionModel;
+ namespace event
+ {
+ class TableColumnModelListener;
+ }
+ namespace table
+ {
+ class TableColumn;
+ class TableColumnModel;
+ }
+ }
+ }
+}
+
+class javax::swing::table::TableColumnModel : public ::java::lang::Object
+{
+
+public:
+ virtual void addColumn(::javax::swing::table::TableColumn *) = 0;
+ virtual void removeColumn(::javax::swing::table::TableColumn *) = 0;
+ virtual void moveColumn(jint, jint) = 0;
+ virtual void setColumnMargin(jint) = 0;
+ virtual jint getColumnCount() = 0;
+ virtual ::java::util::Enumeration * getColumns() = 0;
+ virtual jint getColumnIndex(::java::lang::Object *) = 0;
+ virtual ::javax::swing::table::TableColumn * getColumn(jint) = 0;
+ virtual jint getColumnMargin() = 0;
+ virtual jint getColumnIndexAtX(jint) = 0;
+ virtual jint getTotalColumnWidth() = 0;
+ virtual void setColumnSelectionAllowed(jboolean) = 0;
+ virtual jboolean getColumnSelectionAllowed() = 0;
+ virtual JArray< jint > * getSelectedColumns() = 0;
+ virtual jint getSelectedColumnCount() = 0;
+ virtual void setSelectionModel(::javax::swing::ListSelectionModel *) = 0;
+ virtual ::javax::swing::ListSelectionModel * getSelectionModel() = 0;
+ virtual void addColumnModelListener(::javax::swing::event::TableColumnModelListener *) = 0;
+ virtual void removeColumnModelListener(::javax::swing::event::TableColumnModelListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_swing_table_TableColumnModel__
diff --git a/libjava/javax/swing/table/TableModel.h b/libjava/javax/swing/table/TableModel.h
new file mode 100644
index 000000000..29494c5e1
--- /dev/null
+++ b/libjava/javax/swing/table/TableModel.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_table_TableModel__
+#define __javax_swing_table_TableModel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace swing
+ {
+ namespace event
+ {
+ class TableModelListener;
+ }
+ namespace table
+ {
+ class TableModel;
+ }
+ }
+ }
+}
+
+class javax::swing::table::TableModel : public ::java::lang::Object
+{
+
+public:
+ virtual jint getRowCount() = 0;
+ virtual jint getColumnCount() = 0;
+ virtual ::java::lang::String * getColumnName(jint) = 0;
+ virtual ::java::lang::Class * getColumnClass(jint) = 0;
+ virtual jboolean isCellEditable(jint, jint) = 0;
+ virtual ::java::lang::Object * getValueAt(jint, jint) = 0;
+ virtual void setValueAt(::java::lang::Object *, jint, jint) = 0;
+ virtual void addTableModelListener(::javax::swing::event::TableModelListener *) = 0;
+ virtual void removeTableModelListener(::javax::swing::event::TableModelListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_swing_table_TableModel__