com.aelitis.azureus.ui.swt.columns.torrent
Class ColumnThumbAndName
java.lang.Object
com.aelitis.azureus.ui.common.table.impl.TableColumnImpl
com.aelitis.azureus.ui.common.table.impl.CoreTableColumn
org.gudy.azureus2.ui.swt.views.table.CoreTableColumnSWT
com.aelitis.azureus.ui.swt.columns.torrent.ColumnThumbAndName
- All Implemented Interfaces:
- TableColumnCore, java.util.Comparator, TableCellClipboardListener, TableCellDisposeListener, TableCellLightRefreshListener, TableCellMouseListener, TableCellMouseMoveListener, TableCellRefreshListener, TableColumn, TableColumnExtraInfoListener, ObfusticateCellText, TableCellSWTPaintListener
public class ColumnThumbAndName
- extends CoreTableColumnSWT
- implements TableCellLightRefreshListener, ObfusticateCellText, TableCellDisposeListener, TableCellSWTPaintListener, TableCellClipboardListener, TableCellMouseMoveListener
Torrent name cell for My Torrents.
- Author:
- Olivier, TuxPaper (2004/Apr/17: modified to TableCellAdapter)
Fields inherited from interface org.gudy.azureus2.plugins.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 |
Methods inherited from class com.aelitis.azureus.ui.common.table.impl.TableColumnImpl |
addCellAddedListener, addCellClipboardListener, addCellDisposeListener, addCellMouseListener, addCellMouseMoveListener, addCellOtherListener, addCellRefreshListener, addCellToolTipListener, addCellVisibilityListener, addColumnExtraInfoListener, addContextMenuItem, addContextMenuItem, addDataSourceType, addDataSourceTypes, addRefreshTime, compare, doesAutoTooltip, generateDiagnostics, getAlignment, getCellAddedListeners, getCellOtherListeners, getCellRefreshListeners, getColumnAdded, getColumnExtraInfoListeners, getConsecutiveErrCount, getContextMenuItems, getForDataSourceType, getForDataSourceTypes, getIconReference, getInplaceEditorListener, getLastSortValueChange, getMaxWidth, getMinWidth, getName, getNameOverride, getPosition, getPreferredWidth, getPreferredWidthMax, getRefreshInterval, getTableID, getTitleLanguageKey, getTitleLanguageKey, getType, getUseCoreDataSource, getUserData, getUserDataString, getWidth, handlesDataSourceType, hasCellMouseMoveListener, hasCellOtherListeners, hasCellRefreshListener, hasInplaceEditorListener, initialize, initialize, invalidateCell, invalidateCells, invokeCellAddedListeners, invokeCellDisposeListeners, invokeCellMouseListeners, invokeCellRefreshListeners, invokeCellToolTipListeners, invokeCellVisibilityListeners, isFirstLoad, isMaxWidthAuto, isMinWidthAuto, isObfusticated, isPreferredWidthAuto, isRemoved, isSortAscending, isSortValueLive, isVisible, loadSettings, postConfigLoad, preAdd, preConfigSave, remove, removeCellAddedListener, removeCellClipboardListener, removeCellDisposeListener, removeCellMouseListener, removeCellMouseMoveListener, removeCellOtherListener, removeCellRefreshListener, removeCellToolTipListener, removeCellVisibilityListener, removeColumnExtraInfoListener, removeContextMenuItem, removeUserData, saveSettings, setAlignment, setAutoTooltip, setColumnAdded, setConsecutiveErrCount, setDefaultSortAscending, setIconReference, setInplaceEditorListener, setLastSortValueChange, setMaxWidth, setMaxWidthAuto, setMinimumRequiredUserMode, setMinWidth, setMinWidthAuto, setNameOverride, setObfustication, setPosition, setPositionNoShift, 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 |
DATASOURCE_TYPES
public static final java.lang.Class<?>[] DATASOURCE_TYPES
COLUMN_ID
public static final java.lang.String COLUMN_ID
- See Also:
- Constant Field Values
ColumnThumbAndName
public ColumnThumbAndName(java.lang.String sTableID)
- Parameters:
sTableID
-
fillTableColumnInfo
public void fillTableColumnInfo(TableColumnInfo info)
- Description copied from interface:
TableColumnExtraInfoListener
- Provide the app with information about your Table Column
- Specified by:
fillTableColumnInfo
in interface TableColumnExtraInfoListener
- Overrides:
fillTableColumnInfo
in class CoreTableColumn
- Parameters:
info
- Use setters to set information
reset
public void reset()
- Specified by:
reset
in interface TableColumnCore
- Overrides:
reset
in class TableColumnImpl
refresh
public void refresh(TableCell cell)
- Description copied from interface:
TableCellRefreshListener
- Triggered based on refresh interval specified in
TableColumn.getRefreshInterval()
- Specified by:
refresh
in interface TableCellRefreshListener
- Parameters:
cell
- TableCell that the refresh trigger is for
refresh
public void refresh(TableCell cell,
boolean sortOnlyRefresh)
- Description copied from interface:
TableCellLightRefreshListener
- Triggered based on refresh interval specified in
TableColumn.getRefreshInterval()
- Specified by:
refresh
in interface TableCellLightRefreshListener
- Parameters:
cell
- TableCell that the refresh trigger is forsortOnlyRefresh
- true when the cell is being refreshed despite not being visible (this usually occurs when the cell belongs to the sort column)
cellPaint
public void cellPaint(org.eclipse.swt.graphics.GC gc,
TableCellSWT cell)
- Specified by:
cellPaint
in interface TableCellSWTPaintListener
getObfusticatedText
public java.lang.String getObfusticatedText(TableCell cell)
- Specified by:
getObfusticatedText
in interface ObfusticateCellText
dispose
public void dispose(TableCell cell)
- Description copied from interface:
TableCellDisposeListener
- triggered when a cell is being dispose of
- Specified by:
dispose
in interface TableCellDisposeListener
- Parameters:
cell
- TableCell that is being disposed of
setShowIcon
public void setShowIcon(boolean showIcon)
- Parameters:
showIcon
- the showIcon to set
isShowIcon
public boolean isShowIcon()
- Returns:
- the showIcon
getClipboardText
public java.lang.String getClipboardText(TableCell cell)
- Specified by:
getClipboardText
in interface TableColumnCore
- Specified by:
getClipboardText
in interface TableCellClipboardListener
- Overrides:
getClipboardText
in class TableColumnImpl
cellMouseTrigger
public void cellMouseTrigger(TableCellMouseEvent event)
- Description copied from interface:
TableCellMouseListener
- triggered when a mouse event for the TableCell occurs, excluding
mouse move.
- Specified by:
cellMouseTrigger
in interface TableCellMouseListener
- Parameters:
event
- Mouse event information