| package org.eclipse.nebula.widgets.nattable.renderer.javafx.layer.cell |
| |
| import javafx.scene.canvas.Canvas |
| import org.eclipse.nebula.widgets.nattable.core.layer.cell.LayerCell |
| import javafx.scene.shape.Rectangle |
| |
| interface LayerCellRenderer { |
| |
| /** |
| * @param cell The cell to render. |
| * @param canvas The canvas 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 renderLayerCell(LayerCell cell, Canvas canvas, Rectangle paintRegion) |
| |
| } |