org.gudy.azureus2.ui.swt.views.table
Interface TableViewSWT<DATASOURCETYPE>

All Superinterfaces:
AEDiagnosticsEvidenceGenerator, TableView<DATASOURCETYPE>
All Known Implementing Classes:
TableViewPainted

public interface TableViewSWT<DATASOURCETYPE>
extends TableView<DATASOURCETYPE>

Author:
TuxPaper

Method Summary
 void addKeyListener(org.eclipse.swt.events.KeyListener listener)
           
 void addMenuFillListener(TableViewSWTMenuFillListener l)
           
 void addRefreshListener(TableRowRefreshListener listener)
           
 void addRowMouseListener(TableRowMouseListener listener)
           
 void addRowPaintListener(TableRowSWTPaintListener listener)
           
 org.eclipse.swt.dnd.DragSource createDragSource(int style)
           
 org.eclipse.swt.dnd.DropTarget createDropTarget(int style)
           
 org.eclipse.swt.widgets.Composite createMainPanel(org.eclipse.swt.widgets.Composite composite)
           
 void disableFilterCheck()
           
 void disableSizeSlider()
           
 void editCell(TableColumnCore column, int row)
           
 void enableFilterCheck(org.eclipse.swt.widgets.Text txtFilter, TableViewFilterCheck<DATASOURCETYPE> filterCheck)
           
 boolean enableSizeSlider(org.eclipse.swt.widgets.Composite composite, int min, int max)
           
 void expandColumns()
           
 org.eclipse.swt.widgets.Composite getComposite()
           
 org.eclipse.swt.widgets.Text getFilterControl()
           
 String getFilterText()
           
 org.eclipse.swt.events.KeyListener[] getKeyListeners()
           
 TableRowCore getRow(org.eclipse.swt.dnd.DropTargetEvent event)
           
 TableRowCore getRowQuick(int index)
           
 TableRowSWT getRowSWT(DATASOURCETYPE dataSource)
           
 TableViewSWTFilter getSWTFilter()
           
 TableCellCore getTableCell(int x, int y)
           
 org.eclipse.swt.graphics.Point getTableCellMouseOffset(TableCellSWT tableCell)
           
 TableColumnCore getTableColumnByOffset(int x)
           
 org.eclipse.swt.widgets.Composite getTableComposite()
           
 TableRowSWT getTableRow(int x, int y, boolean anyX)
           
 TableViewSWT_TabsCommon getTabsCommon()
           
 boolean getTabViewsExpandedByDefault()
           
 String[] getTabViewsRestrictedTo()
           
 void initialize(org.eclipse.swt.widgets.Composite composite)
           
 void initialize(UISWTView parent, org.eclipse.swt.widgets.Composite composite)
           
 void invokeExpansionChangeListeners(TableRowCore row, boolean expanded)
           
 void invokePaintListeners(org.eclipse.swt.graphics.GC gc, TableRowCore row, TableColumnCore column, org.eclipse.swt.graphics.Rectangle cellArea)
           
 void invokeRefreshListeners(TableRowCore row)
           
 void invokeRowMouseListener(TableRowMouseEvent event)
           
 boolean isDragging()
           
 boolean isFiltered(DATASOURCETYPE ds)
           
 boolean isMenuEnabled()
           
 boolean isSingleSelection()
           
 boolean isTabViewsEnabled()
           
 boolean isVisible()
           
 org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
           
 void openFilterDialog()
           
 void packColumns()
           
 void refilter()
           
 void removeKeyListener(org.eclipse.swt.events.KeyListener listener)
           
 void removeRefreshListener(TableRowRefreshListener listener)
           
 void removeRowMouseListener(TableRowMouseListener listener)
           
 void removeRowPaintListener(TableRowSWTPaintListener listener)
           
 void setFilterText(String s)
           
 void setMainPanelCreator(TableViewSWTPanelCreator mainPanelCreator)
           
 void setMenuEnabled(boolean menuEnabled)
           
 void setRowSelected(TableRowCore row, boolean selected, boolean trigger)
           
 void showColumnEditor()
           
 void showRow(TableRowCore rowToShow)
           
 void sortColumn(boolean bForceDataRefresh)
           
 void tableInvalidate()
           
 void triggerDefaultSelectedListeners(TableRowCore[] selectedRows, int stateMask)
           
 void visibleRowsChanged()
           
 
Methods inherited from interface com.aelitis.azureus.ui.common.table.TableView
addCountChangeListener, addDataSource, addDataSources, addExpansionChangeListener, addLifeCycleListener, addRefreshListener, addSelectionListener, addTableDataSourceChangedListener, canHaveSubItems, clipboardSelected, columnInvalidate, columnInvalidate, dataSourceExists, delete, getAllColumns, getColumnCells, getDataSources, getDataSourceType, getFirstSelectedDataSource, getFocusedRow, getHeaderVisible, getMaxItemShown, getParentDataSource, getPropertiesPrefix, getRow, getRow, getRow, getRowCount, getRowDefaultHeight, getRows, getSelectedDataSources, getSelectedDataSources, getSelectedRows, getSelectedRowsSize, getSortColumn, getTableCellWithCursor, getTableColumn, getTableID, getTableRowWithCursor, getVisibleColumns, indexOf, isColumnVisible, isDisposed, isRowVisible, isSelected, isUnfilteredDataSourceAdded, processDataSourceQueue, processDataSourceQueueSync, refreshTable, removeAllTableRows, removeCountChangeListener, removeDataSource, removeDataSources, removeExpansionChangeListener, removeTableDataSourceChangedListener, resetLastSortedOn, runForAllRows, runForAllRows, runForSelectedRows, selectAll, setEnabled, setEnableTabViews, setFocus, setHeaderVisible, setMaxItemShown, setParentDataSource, setRowDefaultHeight, setRowDefaultHeightEM, setRowDefaultHeightPX, setSelectedRows, size
 
Methods inherited from interface org.gudy.azureus2.core3.util.AEDiagnosticsEvidenceGenerator
generate
 

Method Detail

addKeyListener

void addKeyListener(org.eclipse.swt.events.KeyListener listener)

addMenuFillListener

void addMenuFillListener(TableViewSWTMenuFillListener l)

createDragSource

org.eclipse.swt.dnd.DragSource createDragSource(int style)

createDropTarget

org.eclipse.swt.dnd.DropTarget createDropTarget(int style)

getComposite

org.eclipse.swt.widgets.Composite getComposite()

getRow

TableRowCore getRow(org.eclipse.swt.dnd.DropTargetEvent event)

getRowSWT

TableRowSWT getRowSWT(DATASOURCETYPE dataSource)
Parameters:
dataSource -
Returns:
Since:
3.0.0.7

getTableComposite

org.eclipse.swt.widgets.Composite getTableComposite()

initialize

void initialize(org.eclipse.swt.widgets.Composite composite)

initialize

void initialize(UISWTView parent,
                org.eclipse.swt.widgets.Composite composite)

obfusticatedImage

org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
Parameters:
image -
Returns:

removeKeyListener

void removeKeyListener(org.eclipse.swt.events.KeyListener listener)
Parameters:
listener -

setMainPanelCreator

void setMainPanelCreator(TableViewSWTPanelCreator mainPanelCreator)
Parameters:
mainPanelCreator -

getTableCell

TableCellCore getTableCell(int x,
                           int y)
Parameters:
x -
y -
Returns:
Since:
3.0.0.7

getTableCellMouseOffset

org.eclipse.swt.graphics.Point getTableCellMouseOffset(TableCellSWT tableCell)
Returns:
Offset potision of the cursor relative to the cell the cursor is in
Since:
3.0.4.3

removeRefreshListener

void removeRefreshListener(TableRowRefreshListener listener)
Parameters:
listener -
Since:
3.1.1.1

addRefreshListener

void addRefreshListener(TableRowRefreshListener listener)
Parameters:
listener -
Since:
3.1.1.1

getFilterText

String getFilterText()
Returns:
Since:
4.1.0.9

enableFilterCheck

void enableFilterCheck(org.eclipse.swt.widgets.Text txtFilter,
                       TableViewFilterCheck<DATASOURCETYPE> filterCheck)
Parameters:
filterCheck -
Since:
4.1.0.9

getFilterControl

org.eclipse.swt.widgets.Text getFilterControl()

disableFilterCheck

void disableFilterCheck()
Since:
4.7.0.1

isFiltered

boolean isFiltered(DATASOURCETYPE ds)

setFilterText

void setFilterText(String s)
Parameters:
s -
Since:
4.1.0.8

enableSizeSlider

boolean enableSizeSlider(org.eclipse.swt.widgets.Composite composite,
                         int min,
                         int max)
Parameters:
composite -
min -
max -
Since:
4.1.0.9

disableSizeSlider

void disableSizeSlider()

addRowPaintListener

void addRowPaintListener(TableRowSWTPaintListener listener)
Parameters:
listener -
Since:
4.2.0.3

removeRowPaintListener

void removeRowPaintListener(TableRowSWTPaintListener listener)
Parameters:
listener -
Since:
4.2.0.3

removeRowMouseListener

void removeRowMouseListener(TableRowMouseListener listener)
Parameters:
listener -
Since:
4.4.0.7

addRowMouseListener

void addRowMouseListener(TableRowMouseListener listener)
Parameters:
listener -
Since:
4.4.0.7

refilter

void refilter()
Since:
4.5.0.5

setMenuEnabled

void setMenuEnabled(boolean menuEnabled)
Parameters:
menuEnabled -
Since:
4.6.0.5

isMenuEnabled

boolean isMenuEnabled()
Returns:
Since:
4.6.0.5

packColumns

void packColumns()

visibleRowsChanged

void visibleRowsChanged()

invokePaintListeners

void invokePaintListeners(org.eclipse.swt.graphics.GC gc,
                          TableRowCore row,
                          TableColumnCore column,
                          org.eclipse.swt.graphics.Rectangle cellArea)

isVisible

boolean isVisible()

getTableColumnByOffset

TableColumnCore getTableColumnByOffset(int x)

getTableRow

TableRowSWT getTableRow(int x,
                        int y,
                        boolean anyX)

setRowSelected

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

editCell

void editCell(TableColumnCore column,
              int row)

invokeRowMouseListener

void invokeRowMouseListener(TableRowMouseEvent event)

isDragging

boolean isDragging()

getKeyListeners

org.eclipse.swt.events.KeyListener[] getKeyListeners()

getSWTFilter

TableViewSWTFilter getSWTFilter()

triggerDefaultSelectedListeners

void triggerDefaultSelectedListeners(TableRowCore[] selectedRows,
                                     int stateMask)

sortColumn

void sortColumn(boolean bForceDataRefresh)

openFilterDialog

void openFilterDialog()

isSingleSelection

boolean isSingleSelection()

expandColumns

void expandColumns()

showColumnEditor

void showColumnEditor()

isTabViewsEnabled

boolean isTabViewsEnabled()

getTabViewsExpandedByDefault

boolean getTabViewsExpandedByDefault()

getTabViewsRestrictedTo

String[] getTabViewsRestrictedTo()

createMainPanel

org.eclipse.swt.widgets.Composite createMainPanel(org.eclipse.swt.widgets.Composite composite)

tableInvalidate

void tableInvalidate()

showRow

void showRow(TableRowCore rowToShow)

getRowQuick

TableRowCore getRowQuick(int index)

invokeRefreshListeners

void invokeRefreshListeners(TableRowCore row)

getTabsCommon

TableViewSWT_TabsCommon getTabsCommon()

invokeExpansionChangeListeners

void invokeExpansionChangeListeners(TableRowCore row,
                                    boolean expanded)