org.jopendocument.renderer
Class ODTCellBorderRenderer

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

public class ODTCellBorderRenderer
extends Object
implements ODTCellRenderer


Constructor Summary
ODTCellBorderRenderer()
           
 
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

ODTCellBorderRenderer

public ODTCellBorderRenderer()
Method Detail

draw

public final 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.