Class ColumnActivityText
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.columns.vuzeactivity.ColumnActivityText
- All Implemented Interfaces:
TableCellMouseListener, TableCellMouseMoveListener, TableCellRefreshListener, TableCellToolTipListener, TableColumn, TableColumnExtraInfoListener, TableColumnCore, TableCellSWTPaintListener, Comparator<TableRowCore>
public class ColumnActivityText
extends CoreTableColumnSWT
implements TableCellSWTPaintListener, TableCellRefreshListener, TableCellMouseMoveListener, TableCellToolTipListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.graphics.Colorprivate org.eclipse.swt.graphics.Colorstatic final Stringprivate static org.eclipse.swt.graphics.FontFields inherited from class TableColumnImpl
this_monFields inherited from interface 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 TypeMethodDescriptionvoidtriggered when a cell's tooltip is about to be displayed.voidcellHoverComplete(TableCell cell) triggered when a cell's tooltip is about to be removed.voidtriggered when a mouse event for the TableCell occurs, excluding mouse move.voidcellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell) private org.eclipse.swt.graphics.RectanglegetDrawBounds(TableCellSWT cell) voidTriggered based on refresh interval specified inTableColumn.getRefreshInterval()private GCStringPrintersetupStringPrinter(org.eclipse.swt.graphics.GC gc, TableCellSWT cell) Methods inherited from class CoreTableColumnSWT
addListenersMethods inherited from class CoreTableColumn
fillTableColumnInfo, initializeAsGraphic, initializeAsGraphicMethods inherited from class 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, 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, triggerColumnSizeChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
COLUMN_ID
- See Also:
-
colorLinkNormal
private org.eclipse.swt.graphics.Color colorLinkNormal -
colorLinkHover
private org.eclipse.swt.graphics.Color colorLinkHover -
font
private static org.eclipse.swt.graphics.Font font
-
-
Constructor Details
-
ColumnActivityText
- Parameters:
tableID-name-
-
-
Method Details
-
cellPaint
- Specified by:
cellPaintin interfaceTableCellSWTPaintListener
-
setupStringPrinter
-
refresh
Description copied from interface:TableCellRefreshListenerTriggered based on refresh interval specified inTableColumn.getRefreshInterval()- Specified by:
refreshin interfaceTableCellRefreshListener- Parameters:
cell- TableCell that the refresh trigger is for
-
cellMouseTrigger
Description copied from interface:TableCellMouseListenertriggered when a mouse event for the TableCell occurs, excluding mouse move.- Specified by:
cellMouseTriggerin interfaceTableCellMouseListener- Parameters:
event- Mouse event information
-
getDrawBounds
-
cellHover
Description copied from interface:TableCellToolTipListenertriggered when a cell's tooltip is about to be displayed.- Specified by:
cellHoverin interfaceTableCellToolTipListener- Parameters:
cell- TableCell which the tooltip will be displayed for
-
cellHoverComplete
Description copied from interface:TableCellToolTipListenertriggered when a cell's tooltip is about to be removed.- Specified by:
cellHoverCompletein interfaceTableCellToolTipListener- Parameters:
cell- TableCell which the tooltip will be removed
-