com.aelitis.azureus.ui.common.table.impl
Class TableViewImpl<DATASOURCETYPE>

java.lang.Object
  extended by com.aelitis.azureus.ui.common.table.impl.TableViewImpl<DATASOURCETYPE>
All Implemented Interfaces:
TableStructureModificationListener<DATASOURCETYPE>, TableView<DATASOURCETYPE>, AEDiagnosticsEvidenceGenerator
Direct Known Subclasses:
TableViewPainted

public abstract class TableViewImpl<DATASOURCETYPE>
extends Object
implements TableView<DATASOURCETYPE>, TableStructureModificationListener<DATASOURCETYPE>

Author:
TuxPaper

Nested Class Summary
static class TableViewImpl.filter<DATASOURCETYPE>
           
 
Field Summary
protected static ConfigurationManager configMan
           
static boolean DEBUG_SELECTION
           
static boolean DEBUGADDREMOVE
          Helpful output when trying to debug add/removal of rows
protected  TableViewImpl.filter<DATASOURCETYPE> filter
           
protected  String propertiesPrefix
          Prefix for retrieving text from the properties file (MessageText) Typically TableID + "View"
protected  String tableID
          TableID (from TableManager) of the table this class is handling.
 
Constructor Summary
TableViewImpl(Class<?> pluginDataSourceType, String _sTableID, String _sPropertiesPrefix, TableColumnCore[] _basicItems)
           
 
Method Summary
protected  void _sortColumn(boolean bForceDataRefresh, boolean bFillGapsOnly, boolean bFollowSelected)
           
 void addCountChangeListener(TableCountChangeListener listener)
           
 void addDataSource(DATASOURCETYPE dataSource)
          Adds a dataSource to the table as a new row.
 void addDataSources(DATASOURCETYPE[] dataSources)
          Add a list of dataSources to the table.
 void addDataSources(DATASOURCETYPE[] dataSources, boolean skipFilterCheck)
           
 void addExpansionChangeListener(TableExpansionChangeListener listener)
           
 void addLifeCycleListener(TableLifeCycleListener l)
           
 void addRefreshListener(TableRefreshListener l, boolean trigger)
           
 void addRefreshListener(TableRowRefreshListener listener)
           
 void addSelectionListener(TableSelectionListener listener, boolean bFireSelection)
           
 void addTableDataSourceChangedListener(TableDataSourceChangedListener l, boolean trigger)
          The data set that this table represents has been changed.
 void cellInvalidate(TableColumnCore tableColumn, DATASOURCETYPE data_source)
           
 void cellInvalidate(TableColumnCore tableColumn, DATASOURCETYPE data_source, boolean bMustRefresh)
           
 void columnInvalidate(String sColumnName)
          Invalidate all the cells in a column
 void columnInvalidate(TableColumnCore tableColumn)
           
 void columnInvalidate(TableColumnCore tableColumn, boolean bMustRefresh)
           
abstract  TableRowCore createNewRow(Object object)
           
 boolean dataSourceExists(DATASOURCETYPE dataSource)
           
protected  void debug(String s)
           
 void delete()
           
protected  void fillRowGaps(boolean bForceDataRefresh)
           
 void generate(IndentWriter writer)
           
 TableColumnCore[] getAllColumns()
           
 TableCellCore[] getColumnCells(String sColumnName)
          Retrieve a list of
 ArrayList<DATASOURCETYPE> getDataSources()
           
 ArrayList<DATASOURCETYPE> getDataSources(boolean include_filtered)
           
 Class<?> getDataSourceType()
           
 String getFilterText()
           
 Object getFirstSelectedDataSource()
           
 Object getFirstSelectedDataSource(boolean bCoreObject)
          Returns the first selected data sources.
 TableRowCore getFocusedRow()
           
 boolean getHeaderVisible()
           
abstract  void getOffUIThread(AERunnable runnable)
           
 Object getParentDataSource()
           
 String getPropertiesPrefix()
           
 TableRowCore getRow(DATASOURCETYPE dataSource)
          Get the row associated with a datasource
 TableRowCore getRow(int iPos)
           
 int getRowCount()
           
 TableRowCore getRowQuick(int iPos)
           
 TableRowCore[] getRows()
          Get all the rows for this table, in the order they are displayed
 Object getRowsSync()
           
 List<Object> getSelectedDataSources()
          Returns an array of all selected Data Sources.
 Object[] getSelectedDataSources(boolean bCoreDataSource)
          Returns an array of all selected Data Sources.
 List<Object> getSelectedDataSourcesList()
           
 List<Object> getSelectedPluginDataSourcesList()
          Returns an array of all selected Data Sources.
 TableRowCore[] getSelectedRows()
          Returns an array of all selected TableRowSWT.
 List<TableRowCore> getSelectedRowsList()
          Returns an list of all selected TableRowSWT objects.
 int getSelectedRowsSize()
           
 TableColumnCore getSortColumn()
           
 TableColumn getTableColumn(String sColumnName)
           
 String getTableID()
           
 TableColumnCore[] getVisibleColumns()
           
 int indexOf(TableRowCore row)
           
 void invokeExpansionChangeListeners(TableRowCore row, boolean expanded)
           
 void invokeRefreshListeners(TableRowCore row)
           
 boolean isColumnVisible(TableColumn column)
           
 boolean isFiltered(DATASOURCETYPE ds)
           
protected  boolean isLastRow(TableRowCore row)
           
 boolean isMenuEnabled()
           
 boolean isProvideIndexesOnRemove()
           
 boolean isSelected(TableRow row)
           
abstract  boolean isSingleSelection()
           
 boolean isTableSelected()
           
 boolean isUnfilteredDataSourceAdded(Object ds)
           
 void processDataSourceQueue()
          Process the queue of datasources to be added and removed
 void processDataSourceQueueSync()
           
 void reallyAddDataSources(Object[] dataSources)
           
 void reallyRemoveDataSources(Object[] dataSources)
           
 void refilter()
           
 void refreshTable(boolean bForceSort)
           
 void removeAllTableRows()
          Remove all the data sources (table rows) from the table.
 void removeCountChangeListener(TableCountChangeListener listener)
           
 void removeDataSource(DATASOURCETYPE dataSource)
           
 void removeDataSources(DATASOURCETYPE[] dataSources)
          Remove the specified dataSource from the table.
 void removeExpansionChangeListener(TableExpansionChangeListener listener)
           
 void removeRefreshListener(TableRowRefreshListener listener)
           
 void removeTableDataSourceChangedListener(TableDataSourceChangedListener l)
           
 void resetLastSortedOn()
           
 void runForAllRows(TableGroupRowRunner runner)
          For every row source, run the code provided by the specified parameter.
 void runForAllRows(TableGroupRowVisibilityRunner runner)
          For every row source, run the code provided by the specified parameter.
 void runForSelectedRows(TableGroupRowRunner runner)
          For each row source that the user has selected, run the code provided by the specified parameter.
 void selectAll()
          Does not fire off selection events
protected  void setColumnsOrdered(TableColumnCore[] columnsOrdered)
           
 void setHeaderVisible(boolean visible)
           
 void setMenuEnabled(boolean menuEnabled)
           
 void setParentDataSource(Object newDataSource)
           
 void setProvideIndexesOnRemove(boolean provideIndexesOnRemove)
           
 void setRowSelected(TableRowCore row, boolean selected, boolean trigger)
           
 void setRowsSync(Object o)
           
 void setSelectedRows(TableRowCore[] rows)
           
 void setSelectedRows(TableRowCore[] newSelectionArray, boolean trigger)
           
protected  boolean setSortColumn(TableColumnCore newSortColumn, boolean allowOrderChange)
           
 int size(boolean bIncludeQueue)
           
 void sortColumn(boolean bForceDataRefresh)
           
 void tableInvalidate()
          Invalidate and refresh whole table
 void tableStructureChanged(boolean columnAddedOrRemoved, Class forPluginDataSourceType)
           
 void triggerDefaultSelectedListeners(TableRowCore[] selectedRows, int keyMask)
           
protected  void triggerDeselectionListeners(TableRowCore[] rows)
           
protected  void triggerFocusChangedListeners(TableRowCore row)
           
protected  void triggerLifeCycleListener(int eventType)
           
 void triggerListenerRowAdded(TableRowCore[] rows)
           
protected  void triggerListenerRowRemoved(TableRowCore row)
           
protected  void triggerMouseEnterExitRow(TableRowCore row, boolean enter)
           
 void triggerSelectionListeners(TableRowCore[] rows)
           
protected  void triggerTableRefreshListeners()
           
abstract  void triggerTabViewsDataSourceChanged()
           
protected abstract  void uiChangeColumnIndicator()
           
abstract  int uiGuessMaxVisibleRows()
           
abstract  void uiRemoveRows(TableRowCore[] rows, Integer[] rowIndexes)
           
abstract  void uiSelectionChanged(TableRowCore[] newlySelectedRows, TableRowCore[] deselectedRows)
           
abstract  void visibleRowsChanged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aelitis.azureus.ui.common.table.TableView
canHaveSubItems, clipboardSelected, getMaxItemShown, getRow, getRowDefaultHeight, getTableCellWithCursor, getTableRowWithCursor, isDisposed, isRowVisible, setEnabled, setEnableTabViews, setFocus, setMaxItemShown, setRowDefaultHeight, setRowDefaultHeightEM, setRowDefaultHeightPX
 
Methods inherited from interface com.aelitis.azureus.ui.common.table.TableStructureModificationListener
columnOrderChanged, columnSizeChanged
 

Field Detail

DEBUGADDREMOVE

public static final boolean DEBUGADDREMOVE
Helpful output when trying to debug add/removal of rows


DEBUG_SELECTION

public static final boolean DEBUG_SELECTION
See Also:
Constant Field Values

configMan

protected static final ConfigurationManager configMan

tableID

protected String tableID
TableID (from TableManager) of the table this class is handling. Config settings are stored with the prefix of "Table.TableID"


propertiesPrefix

protected String propertiesPrefix
Prefix for retrieving text from the properties file (MessageText) Typically TableID + "View"


filter

protected TableViewImpl.filter<DATASOURCETYPE> filter
Constructor Detail

TableViewImpl

public TableViewImpl(Class<?> pluginDataSourceType,
                     String _sTableID,
                     String _sPropertiesPrefix,
                     TableColumnCore[] _basicItems)
Method Detail

addSelectionListener

public void addSelectionListener(TableSelectionListener listener,
                                 boolean bFireSelection)
Specified by:
addSelectionListener in interface TableView<DATASOURCETYPE>

addTableDataSourceChangedListener

public void addTableDataSourceChangedListener(TableDataSourceChangedListener l,
                                              boolean trigger)
Description copied from interface: TableView
The data set that this table represents has been changed. This is not for listening on changes to data sources changing within the table

Specified by:
addTableDataSourceChangedListener in interface TableView<DATASOURCETYPE>

removeTableDataSourceChangedListener

public void removeTableDataSourceChangedListener(TableDataSourceChangedListener l)
Specified by:
removeTableDataSourceChangedListener in interface TableView<DATASOURCETYPE>

setParentDataSource

public void setParentDataSource(Object newDataSource)
Specified by:
setParentDataSource in interface TableView<DATASOURCETYPE>

getParentDataSource

public Object getParentDataSource()
Specified by:
getParentDataSource in interface TableView<DATASOURCETYPE>

triggerDefaultSelectedListeners

public void triggerDefaultSelectedListeners(TableRowCore[] selectedRows,
                                            int keyMask)
Parameters:
selectedRows -

triggerLifeCycleListener

protected void triggerLifeCycleListener(int eventType)
Parameters:
eventType -

triggerSelectionListeners

public void triggerSelectionListeners(TableRowCore[] rows)

triggerDeselectionListeners

protected void triggerDeselectionListeners(TableRowCore[] rows)

triggerMouseEnterExitRow

protected void triggerMouseEnterExitRow(TableRowCore row,
                                        boolean enter)

triggerFocusChangedListeners

protected void triggerFocusChangedListeners(TableRowCore row)

triggerTableRefreshListeners

protected void triggerTableRefreshListeners()

addLifeCycleListener

public void addLifeCycleListener(TableLifeCycleListener l)
Specified by:
addLifeCycleListener in interface TableView<DATASOURCETYPE>

addRefreshListener

public void addRefreshListener(TableRefreshListener l,
                               boolean trigger)
Specified by:
addRefreshListener in interface TableView<DATASOURCETYPE>

addCountChangeListener

public void addCountChangeListener(TableCountChangeListener listener)
Specified by:
addCountChangeListener in interface TableView<DATASOURCETYPE>

removeCountChangeListener

public void removeCountChangeListener(TableCountChangeListener listener)
Specified by:
removeCountChangeListener in interface TableView<DATASOURCETYPE>

triggerListenerRowAdded

public void triggerListenerRowAdded(TableRowCore[] rows)

triggerListenerRowRemoved

protected void triggerListenerRowRemoved(TableRowCore row)

addExpansionChangeListener

public void addExpansionChangeListener(TableExpansionChangeListener listener)
Specified by:
addExpansionChangeListener in interface TableView<DATASOURCETYPE>

removeExpansionChangeListener

public void removeExpansionChangeListener(TableExpansionChangeListener listener)
Specified by:
removeExpansionChangeListener in interface TableView<DATASOURCETYPE>

invokeExpansionChangeListeners

public void invokeExpansionChangeListeners(TableRowCore row,
                                           boolean expanded)

addRefreshListener

public void addRefreshListener(TableRowRefreshListener listener)

removeRefreshListener

public void removeRefreshListener(TableRowRefreshListener listener)

invokeRefreshListeners

public void invokeRefreshListeners(TableRowCore row)

runForAllRows

public void runForAllRows(TableGroupRowRunner runner)
Description copied from interface: TableView
For every row source, run the code provided by the specified parameter.

Specified by:
runForAllRows in interface TableView<DATASOURCETYPE>
Parameters:
runner - Code to run for each row/datasource

runForAllRows

public void runForAllRows(TableGroupRowVisibilityRunner runner)
Description copied from interface: TableView
For every row source, run the code provided by the specified parameter.

Specified by:
runForAllRows in interface TableView<DATASOURCETYPE>
Parameters:
runner - Code to run for each row/datasource

runForSelectedRows

public void runForSelectedRows(TableGroupRowRunner runner)
For each row source that the user has selected, run the code provided by the specified parameter.

Specified by:
runForSelectedRows in interface TableView<DATASOURCETYPE>
Parameters:
runner - Code to run for each selected row/datasource

isUnfilteredDataSourceAdded

public boolean isUnfilteredDataSourceAdded(Object ds)
Specified by:
isUnfilteredDataSourceAdded in interface TableView<DATASOURCETYPE>

refilter

public void refilter()

isFiltered

public boolean isFiltered(DATASOURCETYPE ds)

debug

protected void debug(String s)

addDataSource

public void addDataSource(DATASOURCETYPE dataSource)
Description copied from interface: TableView
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

Specified by:
addDataSource in interface TableView<DATASOURCETYPE>
Parameters:
dataSource - data source to add to the table

addDataSources

public void addDataSources(DATASOURCETYPE[] dataSources)
Description copied from interface: TableView
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

Specified by:
addDataSources in interface TableView<DATASOURCETYPE>

addDataSources

public void addDataSources(DATASOURCETYPE[] dataSources,
                           boolean skipFilterCheck)

dataSourceExists

public boolean dataSourceExists(DATASOURCETYPE dataSource)
Specified by:
dataSourceExists in interface TableView<DATASOURCETYPE>
Returns:

processDataSourceQueue

public void processDataSourceQueue()
Description copied from interface: TableView
Process the queue of datasources to be added and removed

Specified by:
processDataSourceQueue in interface TableView<DATASOURCETYPE>

getOffUIThread

public abstract void getOffUIThread(AERunnable runnable)

processDataSourceQueueSync

public void processDataSourceQueueSync()
Specified by:
processDataSourceQueueSync in interface TableView<DATASOURCETYPE>

size

public int size(boolean bIncludeQueue)
Specified by:
size in interface TableView<DATASOURCETYPE>
Returns:

getRows

public TableRowCore[] getRows()
Description copied from interface: TableView
Get all the rows for this table, in the order they are displayed

Specified by:
getRows in interface TableView<DATASOURCETYPE>
Returns:
a list of TableRowSWT objects in the order the user sees them

getRow

public TableRowCore getRow(DATASOURCETYPE dataSource)
Description copied from interface: TableView
Get the row associated with a datasource

Specified by:
getRow in interface TableView<DATASOURCETYPE>
Parameters:
dataSource - a reference to a core Datasource object (not a plugin datasource object)
Returns:
The row, or null

getRow

public TableRowCore getRow(int iPos)
Specified by:
getRow in interface TableView<DATASOURCETYPE>
Returns:

getRowQuick

public TableRowCore getRowQuick(int iPos)

indexOf

public int indexOf(TableRowCore row)
Specified by:
indexOf in interface TableView<DATASOURCETYPE>
Returns:

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableView<DATASOURCETYPE>

getDataSources

public ArrayList<DATASOURCETYPE> getDataSources()
Specified by:
getDataSources in interface TableView<DATASOURCETYPE>
Returns:
not sorted

getDataSources

public ArrayList<DATASOURCETYPE> getDataSources(boolean include_filtered)
Specified by:
getDataSources in interface TableView<DATASOURCETYPE>
Returns:
not sorted

removeDataSource

public void removeDataSource(DATASOURCETYPE dataSource)
Specified by:
removeDataSource in interface TableView<DATASOURCETYPE>

removeDataSources

public void removeDataSources(DATASOURCETYPE[] dataSources)
Remove the specified dataSource from the table.

Specified by:
removeDataSources in interface TableView<DATASOURCETYPE>
Parameters:
dataSources - data sources to be removed
bImmediate - Remove immediately, or queue and remove at next refresh

reallyAddDataSources

public void reallyAddDataSources(Object[] dataSources)

createNewRow

public abstract TableRowCore createNewRow(Object object)

delete

public void delete()
Specified by:
delete in interface TableView<DATASOURCETYPE>

getRowsSync

public Object getRowsSync()

setRowsSync

public void setRowsSync(Object o)

generate

public void generate(IndentWriter writer)
Specified by:
generate in interface AEDiagnosticsEvidenceGenerator

removeAllTableRows

public void removeAllTableRows()
Description copied from interface: TableView
Remove all the data sources (table rows) from the table.

Specified by:
removeAllTableRows in interface TableView<DATASOURCETYPE>

reallyRemoveDataSources

public void reallyRemoveDataSources(Object[] dataSources)

fillRowGaps

protected void fillRowGaps(boolean bForceDataRefresh)

sortColumn

public void sortColumn(boolean bForceDataRefresh)

_sortColumn

protected void _sortColumn(boolean bForceDataRefresh,
                           boolean bFillGapsOnly,
                           boolean bFollowSelected)

visibleRowsChanged

public abstract void visibleRowsChanged()

uiRemoveRows

public abstract void uiRemoveRows(TableRowCore[] rows,
                                  Integer[] rowIndexes)

uiGuessMaxVisibleRows

public abstract int uiGuessMaxVisibleRows()

resetLastSortedOn

public void resetLastSortedOn()
Specified by:
resetLastSortedOn in interface TableView<DATASOURCETYPE>

getColumnCells

public TableCellCore[] getColumnCells(String sColumnName)
Description copied from interface: TableView
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.

Specified by:
getColumnCells in interface TableView<DATASOURCETYPE>
Returns:
array of cells

cellInvalidate

public void cellInvalidate(TableColumnCore tableColumn,
                           DATASOURCETYPE data_source)
Specified by:
cellInvalidate in interface TableStructureModificationListener<DATASOURCETYPE>

cellInvalidate

public void cellInvalidate(TableColumnCore tableColumn,
                           DATASOURCETYPE data_source,
                           boolean bMustRefresh)

columnInvalidate

public void columnInvalidate(String sColumnName)
Description copied from interface: TableView
Invalidate all the cells in a column

Specified by:
columnInvalidate in interface TableView<DATASOURCETYPE>
Parameters:
sColumnName - Name of column to invalidate

columnInvalidate

public void columnInvalidate(TableColumnCore tableColumn,
                             boolean bMustRefresh)

columnInvalidate

public void columnInvalidate(TableColumnCore tableColumn)
Specified by:
columnInvalidate in interface TableStructureModificationListener<DATASOURCETYPE>
Specified by:
columnInvalidate in interface TableView<DATASOURCETYPE>

getPropertiesPrefix

public String getPropertiesPrefix()
Specified by:
getPropertiesPrefix in interface TableView<DATASOURCETYPE>
Returns:

getTableID

public String getTableID()
Specified by:
getTableID in interface TableView<DATASOURCETYPE>
Returns:

getDataSourceType

public Class<?> getDataSourceType()
Specified by:
getDataSourceType in interface TableView<DATASOURCETYPE>
Returns:

tableStructureChanged

public void tableStructureChanged(boolean columnAddedOrRemoved,
                                  Class forPluginDataSourceType)
Specified by:
tableStructureChanged in interface TableStructureModificationListener<DATASOURCETYPE>

getTableColumn

public TableColumn getTableColumn(String sColumnName)
Specified by:
getTableColumn in interface TableView<DATASOURCETYPE>
Returns:

getVisibleColumns

public TableColumnCore[] getVisibleColumns()
Specified by:
getVisibleColumns in interface TableView<DATASOURCETYPE>
Returns:

getAllColumns

public TableColumnCore[] getAllColumns()
Specified by:
getAllColumns in interface TableView<DATASOURCETYPE>

setColumnsOrdered

protected void setColumnsOrdered(TableColumnCore[] columnsOrdered)

isColumnVisible

public boolean isColumnVisible(TableColumn column)
Specified by:
isColumnVisible in interface TableView<DATASOURCETYPE>

refreshTable

public void refreshTable(boolean bForceSort)
Specified by:
refreshTable in interface TableView<DATASOURCETYPE>

getSelectedDataSourcesList

public List<Object> getSelectedDataSourcesList()

getSelectedPluginDataSourcesList

public List<Object> getSelectedPluginDataSourcesList()
Returns an array of all selected Data Sources. Null data sources are ommitted.

Returns:
an array containing the selected data sources

getSelectedDataSources

public List<Object> getSelectedDataSources()
Returns an array of all selected Data Sources. Null data sources are ommitted.

Specified by:
getSelectedDataSources in interface TableView<DATASOURCETYPE>
Returns:
an array containing the selected data sources

getSelectedDataSources

public Object[] getSelectedDataSources(boolean bCoreDataSource)
Description copied from interface: TableView
Returns an array of all selected Data Sources. Null data sources are ommitted.

Specified by:
getSelectedDataSources in interface TableView<DATASOURCETYPE>
Returns:
an array containing the selected data sources

getSelectedRows

public TableRowCore[] getSelectedRows()
Description copied from interface: TableView
Returns an array of all selected TableRowSWT. Null data sources are ommitted.

Specified by:
getSelectedRows in interface TableView<DATASOURCETYPE>
Returns:
an array containing the selected data sources
See Also:
TableView.getSelectedRows()

getSelectedRowsSize

public int getSelectedRowsSize()
Specified by:
getSelectedRowsSize in interface TableView<DATASOURCETYPE>
Returns:

getSelectedRowsList

public List<TableRowCore> getSelectedRowsList()
Returns an list of all selected TableRowSWT objects. Null data sources are ommitted.

Returns:
an list containing the selected TableRowSWT objects

isSelected

public boolean isSelected(TableRow row)
Specified by:
isSelected in interface TableView<DATASOURCETYPE>
Returns:

getFocusedRow

public TableRowCore getFocusedRow()
Specified by:
getFocusedRow in interface TableView<DATASOURCETYPE>
Returns:

getFirstSelectedDataSource

public Object getFirstSelectedDataSource()
Specified by:
getFirstSelectedDataSource in interface TableView<DATASOURCETYPE>

getFirstSelectedDataSource

public Object getFirstSelectedDataSource(boolean bCoreObject)
Returns the first selected data sources.

Returns:
the first selected data source, or null if no data source is selected

tableInvalidate

public void tableInvalidate()
Invalidate and refresh whole table


getHeaderVisible

public boolean getHeaderVisible()
Specified by:
getHeaderVisible in interface TableView<DATASOURCETYPE>
Returns:

setHeaderVisible

public void setHeaderVisible(boolean visible)
Specified by:
setHeaderVisible in interface TableView<DATASOURCETYPE>

getSortColumn

public TableColumnCore getSortColumn()
Specified by:
getSortColumn in interface TableView<DATASOURCETYPE>
Returns:

setSortColumn

protected boolean setSortColumn(TableColumnCore newSortColumn,
                                boolean allowOrderChange)

setRowSelected

public void setRowSelected(TableRowCore row,
                           boolean selected,
                           boolean trigger)

setSelectedRows

public void setSelectedRows(TableRowCore[] newSelectionArray,
                            boolean trigger)

isSingleSelection

public abstract boolean isSingleSelection()

uiSelectionChanged

public abstract void uiSelectionChanged(TableRowCore[] newlySelectedRows,
                                        TableRowCore[] deselectedRows)

setSelectedRows

public void setSelectedRows(TableRowCore[] rows)
Specified by:
setSelectedRows in interface TableView<DATASOURCETYPE>

selectAll

public void selectAll()
Description copied from interface: TableView
Does not fire off selection events

Specified by:
selectAll in interface TableView<DATASOURCETYPE>

getFilterText

public String getFilterText()

isMenuEnabled

public boolean isMenuEnabled()

setMenuEnabled

public void setMenuEnabled(boolean menuEnabled)

isLastRow

protected boolean isLastRow(TableRowCore row)

triggerTabViewsDataSourceChanged

public abstract void triggerTabViewsDataSourceChanged()

uiChangeColumnIndicator

protected abstract void uiChangeColumnIndicator()

isProvideIndexesOnRemove

public boolean isProvideIndexesOnRemove()

setProvideIndexesOnRemove

public void setProvideIndexesOnRemove(boolean provideIndexesOnRemove)

isTableSelected

public boolean isTableSelected()