Class ColumnTC_Sample.Cell
- java.lang.Object
-
- com.biglybt.ui.swt.views.columnsetup.ColumnTC_Sample.Cell
-
- All Implemented Interfaces:
TableCellDisposeListener
,TableCellRefreshListener
,TableCellVisibilityListener
,TableCellSWTPaintListener
- Enclosing class:
- ColumnTC_Sample
private static class ColumnTC_Sample.Cell extends java.lang.Object implements TableCellRefreshListener, TableCellSWTPaintListener, TableCellVisibilityListener, TableCellDisposeListener
-
-
Field Summary
Fields Modifier and Type Field Description private TableColumnCore
column
private FakeTableCell
sampleCell
-
Fields inherited from interface com.biglybt.pif.ui.tables.TableCellVisibilityListener
VISIBILITY_HIDDEN, VISIBILITY_SHOWN
-
-
Constructor Summary
Constructors Constructor Description Cell(TableCell parentCell, TableColumnCore column, org.eclipse.swt.widgets.Composite c, TableRowCore sampleRow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell)
void
cellVisibilityChanged(TableCell cell, int visibility)
void
dispose(TableCell cell)
triggered when a cell is being dispose ofvoid
refresh(TableCell cell)
Triggered based on refresh interval specified inTableColumn.getRefreshInterval()
-
-
-
Field Detail
-
column
private final TableColumnCore column
-
sampleCell
private FakeTableCell sampleCell
-
-
Constructor Detail
-
Cell
public Cell(TableCell parentCell, TableColumnCore column, org.eclipse.swt.widgets.Composite c, TableRowCore sampleRow)
-
-
Method Detail
-
dispose
public void dispose(TableCell cell)
Description copied from interface:TableCellDisposeListener
triggered when a cell is being dispose of- Specified by:
dispose
in interfaceTableCellDisposeListener
- Parameters:
cell
- TableCell that is being disposed of
-
cellPaint
public void cellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell)
- Specified by:
cellPaint
in interfaceTableCellSWTPaintListener
-
cellVisibilityChanged
public void cellVisibilityChanged(TableCell cell, int visibility)
- Specified by:
cellVisibilityChanged
in interfaceTableCellVisibilityListener
-
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
-
-