Methods Summary |
---|
public void | addCountChangeListener(TableCountChangeListener listener)
|
public void | addDataSource(java.lang.Object dataSource)Adds a dataSource to the table as a new row. If the data source is
already added, a new row will not be added. This function runs
asynchronously, so the rows creation is not guaranteed directly after
calling this function.
You can't add datasources until the table is initialized
|
public void | addDataSource(java.lang.Object datasource, boolean immediate)
|
public void | addDataSources(java.lang.Object[] dataSources)Add a list of dataSources to the table. The array passed in may be
modified, so make sure you don't need it afterwards.
You can't add datasources until the table is initialized
|
public void | addLifeCycleListener(TableLifeCycleListener l)
|
public void | addRefreshListener(TableRefreshListener l, boolean trigger)
|
public void | addSelectionListener(TableSelectionListener listener, boolean trigger)
|
public void | addTableDataSourceChangedListener(TableDataSourceChangedListener l, boolean trigger)The data set that this table represents has been changed. This is not
for listening on changes to data sources changing within the table
|
public void | clipboardSelected()Send Selected rows to the clipboard in a SpreadSheet friendly format
(tab/cr delimited)
|
public void | columnInvalidate(TableColumnCore tableColumn)
|
public void | columnInvalidate(java.lang.String sColumnName)Invalidate all the cells in a column
|
public boolean | dataSourceExists(java.lang.Object dataSource)
|
public void | delete()
|
public TableCellCore[] | getColumnCells(java.lang.String columnName)Retrieve a list of TableCell s, in the last sorted order.
The order will not be of the supplied cell's sort unless the table
has been sorted by that column previously.
ie. You can sort on the 5th column, and retrieve the cells for the
3rd column, but they will be in order of the 5th columns sort.
|
public java.lang.Object[] | getDataSources()
|
public java.lang.Object | getFirstSelectedDataSource()
|
public TableRowCore | getFocusedRow()
|
public java.lang.String | getPropertiesPrefix()
|
public TableRowCore | getRow(java.lang.Object dataSource)Get the row associated with a datasource
|
public TableRowCore | getRow(int x, int y)
|
public TableRowCore[] | getRows()Get all the rows for this table, in the order they are displayed
|
public java.lang.Object[] | getSelectedDataSources()Returns an array of all selected Data Sources. Null data sources are
ommitted.
|
public java.lang.Object[] | getSelectedDataSources(boolean bCoreDataSource)Returns an array of all selected Data Sources. Null data sources are
ommitted.
|
public TableRowCore[] | getSelectedRows()Returns an array of all selected TableRowSWT. Null data sources are
ommitted.
|
public int | getSelectedRowsSize()
|
public TableColumnCore | getSortColumn()
|
public java.lang.String | getTableID()
|
public TableColumnCore[] | getVisibleColumns()
|
public int | indexOf(TableRowCore row)
|
public boolean | isDisposed()
|
public boolean | isTableFocus()
|
public void | processDataSourceQueue()Process the queue of datasources to be added and removed
|
public void | refreshTable(boolean bForceSort)
|
public void | removeAllTableRows()Remove all the data sources (table rows) from the table.
|
public void | removeDataSource(java.lang.Object dataSource)
|
public void | removeDataSource(java.lang.Object datasource, boolean immediate)
|
public void | removeDataSources(java.lang.Object[] dataSources)
|
public void | removeTableDataSourceChangedListener(TableDataSourceChangedListener l)
|
public void | runForAllRows(TableGroupRowRunner runner)For every row source, run the code provided by the specified
parameter.
|
public void | runForAllRows(TableGroupRowVisibilityRunner runner)For every row source, run the code provided by the specified
parameter.
|
public void | runForSelectedRows(TableGroupRowRunner runner)
|
public void | selectAll()Does not fire off selection events
|
public void | setColumnList(TableColumnCore[] columns, java.lang.String defaultSortColumnID, boolean defaultSortAscending, boolean titleIsMinWidth)
|
public void | setEnableTabViews(boolean enableTabViews)
|
public void | setFocus()
|
public void | setParentDataSource(java.lang.Object newDataSource)
|
public void | setRowDefaultHeight(int iHeight)
|
public void | setSelectedRows(TableRowCore[] rows)
|
public int | size(boolean bIncludeQueue)
|
public void | updateLanguage()
|