org.jopendocument.renderer
Class ODTCellTextRenderer

java.lang.Object
  extended by org.jopendocument.renderer.ODTCellTextRenderer
All Implemented Interfaces:
ODTCellRenderer

public class ODTCellTextRenderer
extends Object
implements ODTCellRenderer


Constructor Summary
ODTCellTextRenderer()
           
 
Method Summary
 void draw(Graphics2D g, int x, int y, int cellWidth, int cellHeight, double resizeFactor, TableTableCell cell, StyleTableCellProperties cellProps)
          Draws a cell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODTCellTextRenderer

public ODTCellTextRenderer()
Method Detail

draw

public void draw(Graphics2D g,
                 int x,
                 int y,
                 int cellWidth,
                 int cellHeight,
                 double resizeFactor,
                 TableTableCell cell,
                 StyleTableCellProperties cellProps)
Description copied from interface: ODTCellRenderer
Draws a cell

Specified by:
draw in interface ODTCellRenderer
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.