org.jopendocument.renderer
Interface ODTCellRenderer
- All Known Implementing Classes:
- ODTCellBackgroundRenderer, ODTCellBorderRenderer, ODTCellImageRenderer, ODTCellTextRenderer
public interface ODTCellRenderer
A renderer for a cell of a spreadsheet
draw
void draw(Graphics2D g,
int x,
int y,
int cellWidth,
int cellHeight,
double resizeFactor,
TableTableCell cell,
StyleTableCellProperties cellProps)
- Draws a cell
- Parameters:
g - the graphics on which the cell will be rendereredx - the x-coordinate of the celly - the y-coordinate of the cellcellWidth - the width of the cellcellHeight - the height of the cellresizeFactor - the resize factor applied to the current renderingcell - the cell to rendercellProps - the properties of the cell
Copyright © 2010 jOpenDocument All Rights Reserved.