org.jopendocument.renderer
Interface ODTCellRenderer

All Known Implementing Classes:
ODTCellBackgroundRenderer, ODTCellBorderRenderer, ODTCellImageRenderer, ODTCellTextRenderer

public interface ODTCellRenderer

A renderer for a cell of a spreadsheet


Method Summary
 void draw(Graphics2D g, int x, int y, int cellWidth, int cellHeight, double resizeFactor, TableTableCell cell, StyleTableCellProperties cellProps)
          Draws a cell
 

Method Detail

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 renderered
x - the x-coordinate of the cell
y - the y-coordinate of the cell
cellWidth - the width of the cell
cellHeight - the height of the cell
resizeFactor - the resize factor applied to the current rendering
cell - the cell to render
cellProps - the properties of the cell


Copyright © 2010 jOpenDocument All Rights Reserved.