Logo Search packages:      
Sourcecode: visualvm version File versions  Download package

org::netbeans::lib::profiler::ui::components::table::ExtendedTableModel Class Reference

Inheritance diagram for org::netbeans::lib::profiler::ui::components::table::ExtendedTableModel:

org::netbeans::lib::profiler::ui::components::table::SortableTableModel

List of all members.


Detailed Description

Table model that extends SortableTableModel and allows to hide columns

Author:
Jiri Sedlacek

Definition at line 51 of file ExtendedTableModel.java.


Public Member Functions

 ExtendedTableModel (SortableTableModel realModel)
Class getColumnClass (int col)
int getColumnCount ()
String getColumnName (int col)
boolean[] getColumnsVisibility ()
String getColumnToolTipText (int columnIndex)
boolean getInitialSorting (int column)
int getRealColumn (int column)
int getRowCount ()
int getSortingColumn ()
boolean getSortingOrder ()
Object getValueAt (int rowIndex, int columnIndex)
int getVirtualColumn (int column)
void hideRealColumn (int column)
boolean isRealColumnVisible (int column)
void setColumnsVisibility (boolean[] columnsVisibility)
void setInitialSorting (int sortingColumn, boolean sortingOrder)
void setRealColumnVisibility (int column, boolean visible)
void setTable (JTable table)
void showRealColumn (int column)
void sortByColumn (int column, boolean order)

Static Public Attributes

static final boolean SORT_ORDER_ASC = true
static final boolean SORT_ORDER_DESC = false

Private Member Functions

void recomputeColumnsMapping ()

Private Attributes

int[] columnsMapping
boolean[] columnsVisibility
int realColumnsCount
SortableTableModel realModel
int virtualColumnsCount

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index