public class FontTable extends ObjectTable implements java.io.Serializable
Font
objects.Constructor and Description |
---|
FontTable()
Creates a new font table.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Tests this font table for equality with another object (typically also a font table).
|
java.awt.Font |
getFont(int row,
int column)
Returns the Font object from a particular cell in the table.
|
void |
setFont(int row,
int column,
java.awt.Font font)
Sets the font for a cell in the table.
|
clear, ensureCapacity, ensureRowCapacity, getColumnCount, getColumnIncrement, getObject, getRowCount, getRowIncrement, hashCode, readSerializedData, setObject, writeSerializedData
public java.awt.Font getFont(int row, int column)
row
- the row index (zero-based).column
- the column index (zero-based).public void setFont(int row, int column, java.awt.Font font)
row
- the row index (zero-based).column
- the column index (zero-based).font
- the font.public boolean equals(java.lang.Object o)
equals
in class ObjectTable
o
- the other object.