public interface ResultData2D
Modifier and Type | Interface and Description |
---|---|
static interface |
ResultData2D.ResultData2DRow
Interface of a 2D result table row.
|
Modifier and Type | Method and Description |
---|---|
java.text.Format |
getCellFormat(int columnIndex)
Get a format to be used for rendering a value object of the given column as text.
|
javax.swing.table.TableCellRenderer |
getCellRenderer(int columnIndex)
Return a renderer for rendering a value of the given column.
|
java.lang.Class |
getColumnClass(int columnIndex)
Return the object class of values in the given column.
|
java.lang.String[] |
getColumnHeaders()
Return the names of all available columns in this table.
|
java.lang.Integer[] |
getColumnsInitiallyVisible()
Return an array of indices of columns that are initially visible when displaying the content on screen.
|
java.lang.Integer[] |
getColumnsRequired()
Return the indices of the columns that are required to be displayed to the user.
|
boolean |
getPreferredSortAscending()
Return whether the preeferred csort column should be sorted in ascending values.
|
int |
getPreferredSortColumn()
Return the index of the preferred sort column.
|
int |
getRowCount()
Return the number of rows in this table.
|
ResultData2D.ResultData2DRow |
getValueAt(int rowIndex)
Return a row object which allows access to the column values for this row.
|
boolean |
hasPreferredSortColumn()
Return whether one of the available columns is preferred for sorting.
|
int getRowCount()
java.lang.Integer[] getColumnsInitiallyVisible()
getColumnHeaders()
.
The array must contain all indices returned by getColumnsRequired()
.java.lang.Integer[] getColumnsRequired()
getColumnHeaders()
.java.lang.String[] getColumnHeaders()
java.lang.Class getColumnClass(int columnIndex)
columnIndex
- The 0-based index of the columnboolean hasPreferredSortColumn()
true
if the table has a column which should be used for sorting. false
otherwise.int getPreferredSortColumn()
true
on hasPreferredSortColumn()
.boolean getPreferredSortAscending()
true
on hasPreferredSortColumn()
.false
if it should be sorted in descendin gorder.java.text.Format getCellFormat(int columnIndex)
columnIndex
- The index of the column to return the format for.null
to use the standard #toString()
method.javax.swing.table.TableCellRenderer getCellRenderer(int columnIndex)
columnIndex
- The index of the column.null
to use the standard renderer.ResultData2D.ResultData2DRow getValueAt(int rowIndex)
rowIndex
- The 0-based index of the row to return.www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.