org.jopendocument.renderer
Class ODTCellImageRenderer

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

public class ODTCellImageRenderer
extends Object
implements ODTCellRenderer


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

Constructor Detail

ODTCellImageRenderer

public ODTCellImageRenderer()
Method Detail

setPaintMaxResolution

public void setPaintMaxResolution(boolean maxResolution)

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.