/* * (swing1.1beta3) * */ package jp.gr.java_conf.tame.swing.table; import java.awt.*; /** * @version 1.0 11/22/98 */ public class DefaultCellAttribute // implements CellAttribute ,CellSpan { implements CellAttribute ,CellSpan ,ColoredCell ,CellFont { // // !!!! CAUTION !!!!! // these values must be synchronized to Table data // protected int rowSize; protected int columnSize; protected int[][][] span; // CellSpan protected Color[][] foreground; // ColoredCell protected Color[][] background; // protected Font[][] font; // CellFont public DefaultCellAttribute() { this(1,1); } public DefaultCellAttribute(int numRows, int numColumns) { setSize(new Dimension(numColumns, numRows)); } protected void initValue() { for(int i=0; i