org.das2.qds.util.QDataSetTableModel
TableModel that shows a QDataSet in a JTable.
QDataSetTableModel( QDataSet ds )
creates a QDataSetTableModel
getColumnCount
getColumnCount( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getColumnName
getColumnName( int i ) → String
Parameters
i - an int
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getColumnUnits
getColumnUnits( int columnIndex ) → Units
return the units of the column.
Parameters
columnIndex - an int
Returns:
an Units
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getRowCount
getRowCount( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getRowSorter
getRowSorter( javax.swing.table.TableModel tm ) → javax.swing.table.TableRowSorter
return the sorter to use with any column.
Parameters
tm - a TableModel
Returns:
a javax.swing.table.TableRowSorter
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getTableColumnModel
getTableColumnModel( ) → javax.swing.table.TableColumnModel
this currently isn't used because there's a bug.
Returns:
the table model.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getTableHeaderMouseListener
getTableHeaderMouseListener( javax.swing.JTable jTable1 ) → java.awt.event.MouseListener
Parameters
jTable1 - a JTable
Returns:
java.awt.event.MouseListener
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getValueAt
getValueAt( int rowIndex, int columnIndex ) → Object
Parameters
rowIndex - an int
columnIndex - an int
Returns:
java.lang.Object
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
main
main( String[] args ) → void
Parameters
args - a java.lang.String[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]