FileDocCategorySizeDatePackage
TableColumnCore.javaAPI DocAzureus 3.0.3.46842Sun Sep 16 12:53:50 BST 2007com.aelitis.azureus.ui.common.table

TableColumnCore

public interface TableColumnCore implements org.gudy.azureus2.plugins.ui.tables.TableColumn, Comparator
Core Table Column functions are those available to plugins plus some core-only functions. The core-only functions are listed here.
see
TableColumnManager

Fields Summary
Constructors Summary
Methods Summary
public voidaddRefreshTime(long ms)

param
ms
since
2.5.0.0

public voidgenerateDiagnostics(org.gudy.azureus2.core3.util.IndentWriter writer)

param
writer
since
2.5.0.0

public java.util.ListgetCellAddedListeners()
Retreive all the Cell Added listeners

return
cell added listeners for this cell
since
2.5.0.0

public java.util.ListgetCellRefreshListeners()
Retrieve all the refresh listeners for the cell

return
Cell refresh listeners
since
2.5.0.0

public booleangetColumnAdded()
Retrieve whether the column has been added to the TableColumnManager

return
true - Column has been added
false - Column has not been added
since
2.1.0.0

public intgetConsecutiveErrCount()

return
# of consecutive errors
since
2.1.0.0

public org.gudy.azureus2.plugins.ui.tables.TableContextMenuItem[]getContextMenuItems()

return
since
2.1.0.0

public longgetLastSortValueChange()

return
since
2.5.0.0

public java.lang.StringgetTitleLanguageKey()
Returns the key in the properties bundle that has the title of the column.

return
Title's language key

public booleangetUseCoreDataSource()
Retrieve whether a core or plugin object is sent via getDataSource()

return
true - returns a core object
false - returns a plugin object (if available)
since
2.1.0.0

public booleanhasCellMouseMoveListener()

return
since
3.0.1.1

public booleanhasCellRefreshListener()

return
since
2.5.0.0

public voidinvokeCellAddedListeners(TableCellCore cell)
Send a cellAdded trigger to all listeners stored in TableColumn

param
cell the cell is being added
since
2.1.0.0

public voidinvokeCellDisposeListeners(TableCellCore cell)
Send a dispose trigger to all listeners stored in TableColumn

param
cell the cell is being disposed
since
2.1.0.0

public voidinvokeCellMouseListeners(org.gudy.azureus2.plugins.ui.tables.TableCellMouseEvent event)
Send a mouse event to the cell mouse listeners

param
event Mouse Event to send
since
2.4.0.0

public voidinvokeCellRefreshListeners(TableCellCore cell, boolean fastRefresh)
Send a refresh trigger to all listeners stored in TableColumn

param
cell the cell is being refreshed
throws
Throwable
since
2.1.0.0

public voidinvokeCellToolTipListeners(TableCellCore cell, int type)
Send a tool tip event to the tool tip listeners

param
cell Cell to get the tool tip event
param
type
since
2.1.0.2

public voidinvokeCellVisibilityListeners(TableCellCore cell, int visibility)
Send a visibility event to the cell's visibility listeners

param
visibility Visibility state
since
2.5.0.2

public booleanisSortAscending()

return
since
2.5.0.2

public booleanisSortValueLive()

return
since
2.5.0.0

public voidloadSettings()
Load width and position settings from config.

since
2.1.0.0

public voidremoveContextMenuItem(org.gudy.azureus2.plugins.ui.tables.TableContextMenuItem menuItem)

param
menuItem
since
2.1.0.0

public voidsaveSettings()
Save width and position settings to config.

since
2.1.0.0

public voidsetColumnAdded(boolean bAdded)
Set the internal flag specifying whether the column has been added to the TableColumnManager. Some functions can not be run after a column has been added.

param
bAdded true - Column has been added
false - Column has not been added
since
2.1.0.0

public voidsetConsecutiveErrCount(int iCount)

param
iCount # of consecutive errors
since
2.1.0.0

public voidsetLastSortValueChange(long lastSortValueChange)

param
lastSortValueChange
since
2.5.0.0

public voidsetPositionNoShift(int position)
Sets the position of the column without adjusting the other columns. This will cause duplicate columns, and is only usefull if you are adjusting the positions of multiple columns at once.

param
position new position (0 based)
see
TableColumnManager.ensureIntegrity()
since
2.1.0.0

public voidsetSortAscending(boolean bAscending)

param
bAscending
since
2.5.0.2

public voidsetSortValueLive(boolean live)

param
live
since
2.5.0.0

public voidsetTableID(java.lang.String tableID)

param
tableID
since
2.5.0.2

public voidsetUseCoreDataSource(boolean bCoreDataSource)
Changes what {@link TableCellCore.getDataSource()} and {@link TableRowCore.getDataSource()} return.

param
bCoreDataSource true - returns a core object
false - returns a plugin object (if available)
since
2.1.0.0

public voidtriggerColumnSizeChange()