Class BlocksItem
java.lang.Object
com.biglybt.ui.common.table.impl.TableColumnImpl
com.biglybt.ui.common.table.impl.CoreTableColumn
com.biglybt.ui.swt.views.table.CoreTableColumnSWT
com.biglybt.ui.swt.views.tableitems.pieces.BlocksItem
- All Implemented Interfaces:
TableCellAddedListener
,TableCellDisposeListener
,TableCellRefreshListener
,TableColumn
,TableColumnExtraInfoListener
,TableColumnCore
,Comparator<TableRowCore>
public class BlocksItem
extends CoreTableColumnSWT
implements TableCellAddedListener, TableCellRefreshListener, TableCellDisposeListener
- Since:
- 2.0.8.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static CacheFileManagerStats
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
static final org.eclipse.swt.graphics.Color[]
Fields inherited from class com.biglybt.ui.common.table.impl.TableColumnImpl
this_mon
Fields inherited from interface com.biglybt.pif.ui.tables.TableColumn
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEAD, ALIGN_TOP, ALIGN_TRAIL, CAT_BYTES, CAT_CONNECTION, CAT_CONTENT, CAT_ESSENTIAL, CAT_PEER_IDENTIFICATION, CAT_PROGRESS, CAT_PROTOCOL, CAT_SETTINGS, CAT_SHARING, CAT_SWARM, CAT_TIME, CAT_TRACKER, INTERVAL_GRAPHIC, INTERVAL_INVALID_ONLY, INTERVAL_LIVE, MENU_STYLE_COLUMN_DATA, MENU_STYLE_HEADER, POSITION_INVISIBLE, POSITION_LAST, TYPE_GRAPHIC, TYPE_TEXT, TYPE_TEXT_ONLY, UD_FORCE_VISIBLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
triggered when a cell is being added.void
triggered when a cell is being dispose ofvoid
Provide the app with information about your Table Columnvoid
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
Methods inherited from class com.biglybt.ui.swt.views.table.CoreTableColumnSWT
addListeners
Methods inherited from class com.biglybt.ui.common.table.impl.CoreTableColumn
initializeAsGraphic, initializeAsGraphic
Methods inherited from class com.biglybt.ui.common.table.impl.TableColumnImpl
addCellAddedListener, addCellClipboardListener, addCellDisposeListener, addCellMenuListener, addCellMouseListener, addCellMouseMoveListener, addCellOtherListener, addCellRefreshListener, addCellToolTipListener, addCellVisibilityListener, addColumnExtraInfoListener, addContextMenuItem, addContextMenuItem, addDataSourceType, addDataSourceTypes, addRefreshTime, compare, doesAutoTooltip, generateDiagnostics, getAlignment, getBackgroundColor, getCellAddedListeners, getCellOtherListeners, getCellRefreshListeners, getClipboardText, getColumnAdded, getColumnExtraInfoListeners, getConsecutiveErrCount, getContextMenuItems, getForDataSourceType, getForDataSourceTypes, getForegroundColor, getIconReference, getIconReferenceEnabled, getInplaceEditorListener, getLastSortValueChange, getMaxWidth, getMinWidth, getName, getNameOverride, getPosition, getPreferredHeaderWidth, getPreferredWidth, getPreferredWidthMax, getRefreshInterval, getTableID, getTitleLanguageKey, getTitleLanguageKey, getType, getUseCoreDataSource, getUserData, getUserDataString, getWidth, handlesDataSourceType, hasCellMouseMoveListener, hasCellOtherListeners, hasCellRefreshListener, hasInplaceEditorListener, initialize, initialize, invalidateCell, invalidateCells, invokeCellAddedListeners, invokeCellDisposeListeners, invokeCellMenuListeners, invokeCellMouseListeners, invokeCellRefreshListeners, invokeCellToolTipListeners, invokeCellVisibilityListeners, isDirty, isFirstLoad, isObfuscated, isPreferredWidthAuto, isRemoved, isSortAscending, isSortValueLive, isVisible, loadSettings, postConfigLoad, preAdd, preConfigSave, remove, removeCellAddedListener, removeCellClipboardListener, removeCellDisposeListener, removeCellMenuListener, removeCellMouseListener, removeCellMouseMoveListener, removeCellOtherListener, removeCellRefreshListener, removeCellToolTipListener, removeCellVisibilityListener, removeColumnExtraInfoListener, removeContextMenuItem, removeUserData, reset, saveSettings, setAlignment, setAutoTooltip, setBackgroundColor, setColumnAdded, setConsecutiveErrCount, setDefaultSortAscending, setForegroundColor, setIconReference, setIconReferenceEnabled, setInplaceEditorListener, setLastSortValueChange, setMaxWidth, setMinimumRequiredUserMode, setMinWidth, setNameOverride, setObfuscation, setPosition, setPositionNoShift, setPreferredHeaderWidth, setPreferredWidth, setPreferredWidthAuto, setPreferredWidthMax, setRefreshInterval, setSortAscending, setSortValueLive, setTableID, setType, setUseCoreDataSource, setUserData, setVisible, setWidth, setWidthLimits, setWidthPX, showOnlyImage, triggerColumnSizeChange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
COLOR_REQUESTED
private static final int COLOR_REQUESTED- See Also:
-
COLOR_WRITTEN
private static final int COLOR_WRITTEN- See Also:
-
COLOR_DOWNLOADED
private static final int COLOR_DOWNLOADED- See Also:
-
COLOR_INCACHE
private static final int COLOR_INCACHE- See Also:
-
COLOR_EGM
private static final int COLOR_EGM- See Also:
-
COLOR_UPLOADING
private static final int COLOR_UPLOADING- See Also:
-
colors
public static final org.eclipse.swt.graphics.Color[] colors -
cacheStats
-
-
Constructor Details
-
BlocksItem
Default Constructor
-
-
Method Details
-
fillTableColumnInfo
Description copied from interface:TableColumnExtraInfoListener
Provide the app with information about your Table Column- Specified by:
fillTableColumnInfo
in interfaceTableColumnExtraInfoListener
- Overrides:
fillTableColumnInfo
in classCoreTableColumn
- Parameters:
info
- Use setters to set information
-
cellAdded
Description copied from interface:TableCellAddedListener
triggered when a cell is being added.- Specified by:
cellAdded
in interfaceTableCellAddedListener
- Parameters:
cell
- TableCell that is being added
-
dispose
Description copied from interface:TableCellDisposeListener
triggered when a cell is being dispose of- Specified by:
dispose
in interfaceTableCellDisposeListener
- Parameters:
cell
- TableCell that is being disposed of
-
refresh
Description copied from interface:TableCellRefreshListener
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
- Specified by:
refresh
in interfaceTableCellRefreshListener
- Parameters:
cell
- TableCell that the refresh trigger is for
-