Class ColumnFO_Progress
- java.lang.Object
-
- com.biglybt.ui.swt.devices.columns.ColumnFO_Progress
-
- All Implemented Interfaces:
TableCellAddedListener
,TableCellRefreshListener
,TableColumnExtraInfoListener
,TableCellSWTPaintListener
public class ColumnFO_Progress 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) org.eclipse.swt.graphics.Color
textColor
-
Constructor Summary
Constructors Constructor Description ColumnFO_Progress(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 Columnvoid
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
-
-
Constructor Detail
-
ColumnFO_Progress
public ColumnFO_Progress(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
-
-