Retro68/gcc/libjava/javax/swing/table/DefaultTableColumnModel.h
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

97 lines
3.3 KiB
C++

// 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__