public interface ISpreadsheetCellRenderer
SpreadsheetLayer.setCellRenderer(Class, ISpreadsheetCellRenderer)
Modifier and Type | Method and Description |
---|---|
Component |
getSpreadsheetCellRendererComponent(SpreadsheetLayer spreadsheet,
Object node,
Object value,
boolean selected,
int row,
ITimeSpan span,
boolean hasFocus)
Returns a component for rendering the value of a specific cell in the
given spreadsheet.
|
Component getSpreadsheetCellRendererComponent(SpreadsheetLayer spreadsheet, Object node, Object value, boolean selected, int row, ITimeSpan span, boolean hasFocus)
spreadsheet
- the spreadsheet component that requests an editornode
- the hierarchy node that gets displayed in the row where the
cell is locatedvalue
- the current value of the spreadsheet cellselected
- a flag indicating whether the row is currently
selectedrow
- the row in which the cell is locatedspan
- the time span of the cellhasFocus
- a flag indicating whether the cell currently has the focusCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.