Class ColumnTC_Sample.Cell
java.lang.Object
com.biglybt.ui.swt.views.columnsetup.ColumnTC_Sample.Cell
- All Implemented Interfaces:
TableCellClipboardListener, TableCellDisposeListener, TableCellRefreshListener, TableCellVisibilityListener, TableCellSWTPaintListener
- Enclosing class:
ColumnTC_Sample
private static class ColumnTC_Sample.Cell
extends Object
implements TableCellRefreshListener, TableCellSWTPaintListener, TableCellVisibilityListener, TableCellDisposeListener, TableCellClipboardListener
-
Field Summary
FieldsFields inherited from interface TableCellVisibilityListener
VISIBILITY_HIDDEN, VISIBILITY_SHOWN -
Constructor Summary
ConstructorsConstructorDescriptionCell(TableCell parentCell, TableColumnCore column, org.eclipse.swt.widgets.Composite c, TableRowCore sampleRow) -
Method Summary
Modifier and TypeMethodDescriptionvoidcellPaint(org.eclipse.swt.graphics.GC gc, TableCellSWT cell) voidcellVisibilityChanged(TableCell cell, int visibility) voidtriggered when a cell is being dispose ofgetClipboardText(TableCell cell) voidTriggered based on refresh interval specified inTableColumn.getRefreshInterval()
-
Field Details
-
column
-
sampleCell
-
-
Constructor Details
-
Cell
public Cell(TableCell parentCell, TableColumnCore column, org.eclipse.swt.widgets.Composite c, TableRowCore sampleRow)
-
-
Method Details
-
dispose
Description copied from interface:TableCellDisposeListenertriggered when a cell is being dispose of- Specified by:
disposein interfaceTableCellDisposeListener- Parameters:
cell- TableCell that is being disposed of
-
cellPaint
- Specified by:
cellPaintin interfaceTableCellSWTPaintListener
-
cellVisibilityChanged
- Specified by:
cellVisibilityChangedin interfaceTableCellVisibilityListener
-
getClipboardText
- Specified by:
getClipboardTextin interfaceTableCellClipboardListener
-
refresh
Description copied from interface:TableCellRefreshListenerTriggered based on refresh interval specified inTableColumn.getRefreshInterval()- Specified by:
refreshin interfaceTableCellRefreshListener- Parameters:
cell- TableCell that the refresh trigger is for
-