Class ColumnSearchSubResultType
- java.lang.Object
-
- com.biglybt.ui.swt.columns.searchsubs.ColumnSearchSubResultType
-
- All Implemented Interfaces:
TableCellAddedListener
,TableCellRefreshListener
,TableCellSWTPaintListener
public class ColumnSearchSubResultType extends java.lang.Object implements TableCellSWTPaintListener, TableCellAddedListener, TableCellRefreshListener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COLUMN_ID
private static org.eclipse.swt.graphics.Image
imgAudio
private static org.eclipse.swt.graphics.Image
imgGame
private static org.eclipse.swt.graphics.Image
imgOther
private static org.eclipse.swt.graphics.Image
imgVideo
private static int
WIDTH
-
Constructor Summary
Constructors Constructor Description ColumnSearchSubResultType(TableColumn column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cellAdded(TableCell cell)
triggered when a cell is being added.void
cellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell)
void
refresh(TableCell cell)
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
-
-
-
Field Detail
-
COLUMN_ID
public static final java.lang.String COLUMN_ID
- See Also:
- Constant Field Values
-
WIDTH
private static final int WIDTH
- See Also:
- Constant Field Values
-
imgVideo
private static org.eclipse.swt.graphics.Image imgVideo
-
imgAudio
private static org.eclipse.swt.graphics.Image imgAudio
-
imgGame
private static org.eclipse.swt.graphics.Image imgGame
-
imgOther
private static org.eclipse.swt.graphics.Image imgOther
-
-
Constructor Detail
-
ColumnSearchSubResultType
public ColumnSearchSubResultType(TableColumn column)
-
-
Method Detail
-
cellPaint
public void cellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell)
- Specified by:
cellPaint
in interfaceTableCellSWTPaintListener
-
cellAdded
public void cellAdded(TableCell cell)
Description copied from interface:TableCellAddedListener
triggered when a cell is being added.- Specified by:
cellAdded
in interfaceTableCellAddedListener
- Parameters:
cell
- TableCell that is being added
-
refresh
public void refresh(TableCell cell)
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
-
-