diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/table/DefaultTableColumnModel.h | |
download | cbb-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/DefaultTableColumnModel.h')
-rw-r--r-- | libjava/javax/swing/table/DefaultTableColumnModel.h | 96 |
1 files changed, 96 insertions, 0 deletions
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__ |