Class ColumnTJ_Completion
- java.lang.Object
-
- com.biglybt.ui.swt.devices.columns.ColumnTJ_Completion
-
- All Implemented Interfaces:
TableCellAddedListener
,TableCellRefreshListener
,TableColumnExtraInfoListener
,TableCellSWTPaintListener
public class ColumnTJ_Completion extends java.lang.Object implements TableCellAddedListener, TableCellRefreshListener, TableCellSWTPaintListener, TableColumnExtraInfoListener
-
-
Field Summary
Fields Modifier and Type Field Description private static int
borderWidth
static java.lang.String
COLUMN_ID
private static org.eclipse.swt.graphics.Font
fontText
(package private) java.lang.String
na_text
(package private) java.text.NumberFormat
percentage_format
(package private) org.eclipse.swt.graphics.Color
textColor
-
Constructor Summary
Constructors Constructor Description ColumnTJ_Completion(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 gcImage, TableCellSWT cell)
void
fillTableColumnInfo(TableColumnInfo info)
Provide the app with information about your Table Columnprivate java.lang.String
getETA(TranscodeFile tf)
private int
getPerThouDone(TranscodeFile tf)
void
refresh(TableCell cell)
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
-
-
-
Field Detail
-
borderWidth
private static final int borderWidth
- See Also:
- Constant Field Values
-
COLUMN_ID
public static final java.lang.String COLUMN_ID
- See Also:
- Constant Field Values
-
fontText
private static org.eclipse.swt.graphics.Font fontText
-
na_text
java.lang.String na_text
-
textColor
org.eclipse.swt.graphics.Color textColor
-
percentage_format
java.text.NumberFormat percentage_format
-
-
Constructor Detail
-
ColumnTJ_Completion
public ColumnTJ_Completion(TableColumn 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 interfaceTableColumnExtraInfoListener
- Parameters:
info
- Use setters to set information
-
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
-
cellPaint
public void cellPaint(org.eclipse.swt.graphics.GC gcImage, TableCellSWT cell)
- Specified by:
cellPaint
in interfaceTableCellSWTPaintListener
-
getPerThouDone
private int getPerThouDone(TranscodeFile tf)
-
getETA
private java.lang.String getETA(TranscodeFile tf)
-
-