com.aelitis.azureus.ui.swt.columns.torrent
Class ColumnThumbnail

java.lang.Object
  extended by com.aelitis.azureus.ui.common.table.impl.TableColumnImpl
      extended by com.aelitis.azureus.ui.common.table.impl.CoreTableColumn
          extended by org.gudy.azureus2.ui.swt.views.table.CoreTableColumnSWT
              extended by com.aelitis.azureus.ui.swt.columns.torrent.ColumnThumbnail
All Implemented Interfaces:
TableColumnCore, java.util.Comparator, TableCellRefreshListener, TableCellToolTipListener, TableColumn, TableColumnExtraInfoListener, TableCellSWTPaintListener

public class ColumnThumbnail
extends CoreTableColumnSWT
implements TableCellRefreshListener, TableCellSWTPaintListener, TableCellToolTipListener

A non-interactive (no click no hover) thumbnail column

Author:
khai

Field Summary
static java.lang.String COLUMN_ID
           
 
Fields inherited from class com.aelitis.azureus.ui.common.table.impl.TableColumnImpl
this_mon
 
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
 
Constructor Summary
ColumnThumbnail(java.lang.String sTableID)
          Default Constructor
ColumnThumbnail(TableColumn column)
           
 
Method Summary
 void cellHover(TableCell cell)
          triggered when a cell's tooltip is about to be displayed.
 void cellHoverComplete(TableCell cell)
          triggered when a cell's tooltip is about to be removed.
 void cellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell)
           
 void dispose(TableCell cell)
           
 void fillTableColumnInfo(TableColumnInfo info)
          Provide the app with information about your Table Column
 void refresh(TableCell cell)
          Triggered based on refresh interval specified in TableColumn.getRefreshInterval()
 
Methods inherited from class org.gudy.azureus2.ui.swt.views.table.CoreTableColumnSWT
addListeners
 
Methods inherited from class com.aelitis.azureus.ui.common.table.impl.CoreTableColumn
initializeAsGraphic, initializeAsGraphic
 
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, getClipboardText, 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, reset, 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
 

Field Detail

COLUMN_ID

public static final java.lang.String COLUMN_ID
See Also:
Constant Field Values
Constructor Detail

ColumnThumbnail

public ColumnThumbnail(java.lang.String sTableID)
Default Constructor


ColumnThumbnail

public ColumnThumbnail(TableColumn column)
Parameters:
column -
Method Detail

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

dispose

public void dispose(TableCell cell)

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

cellPaint

public void cellPaint(org.eclipse.swt.graphics.GC gc,
                      TableCellSWT cell)
Specified by:
cellPaint in interface TableCellSWTPaintListener

cellHover

public void cellHover(TableCell cell)
Description copied from interface: TableCellToolTipListener
triggered when a cell's tooltip is about to be displayed.

Specified by:
cellHover in interface TableCellToolTipListener
Parameters:
cell - TableCell which the tooltip will be displayed for

cellHoverComplete

public void cellHoverComplete(TableCell cell)
Description copied from interface: TableCellToolTipListener
triggered when a cell's tooltip is about to be removed.

Specified by:
cellHoverComplete in interface TableCellToolTipListener
Parameters:
cell - TableCell which the tooltip will be removed