| package org.eclipse.nebula.widgets.nattable.renderer.swt.layer.cell |
| |
| import org.eclipse.nebula.widgets.nattable.core.geometry.PixelRectangle |
| import org.eclipse.nebula.widgets.nattable.core.layer.cell.Cell |
| import org.eclipse.swt.graphics.GC |
| |
| interface CellRenderer { |
| |
| /** |
| * @param cell The cell to render. |
| * @param gc The graphics context to render into. |
| * @param paintRegion The rectangular region of the canvas to render into. |
| * Note that the paint region of the canvas may be different than the pixel bounds of the cell. |
| * For example, the cell bounds may have been adjusted to make room for grid lines. |
| */ |
| def void renderCell(Cell cell, GC gc, PixelRectangle paintRegion) |
| |
| } |