dyntable
Interface CellFont

All Known Implementing Classes:
DefaultCellAttribute

public interface CellFont

$Id: CellFont.java,v 1.0 2005/09/25 jDynTable@gmx.de $
The CellFont Interface is implemented by DefaultCellAttribute and used in JDynTable class. It provides some standard methods concerning table cell font setting.

Version:
$Revision: 1.0 $
Author:
$Author: jdyntable@gmx.de $

Method Summary
 java.awt.Font getFont(int row, int column)
          Returns font object characterizing font in the cell row/column
 void setFont(java.awt.Font font, int[] rows, int[] columns)
          Sets new font in the cell area defined by row/column
 void setFont(java.awt.Font font, int row, int column)
          Sets new font in the cell row/column
 

Method Detail

getFont

public java.awt.Font getFont(int row,
                             int column)
Returns font object characterizing font in the cell row/column

Parameters:
row - integer with Row
column - integer with Column
Returns:
font object corresponding to font in the cell

setFont

public void setFont(java.awt.Font font,
                    int row,
                    int column)
Sets new font in the cell row/column

Parameters:
font - new font for the cell
row - integer with Row
column - integer with Column

setFont

public void setFont(java.awt.Font font,
                    int[] rows,
                    int[] columns)
Sets new font in the cell area defined by row/column

Parameters:
font - new font for the cells
rows - Array of integers with Rows
columns - Array of integers with Columns