|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
$Id: CellAttribute.java,v 1.0 2005/09/25 jDynTable@gmx.de $
The CellAttribute Interface is implemented by DefaultCellAttribute
and used by many of the table classes.
It provides some standard methods concerning table cell attributes.
Method Summary | |
---|---|
void |
addColumn()
Adds column to table. |
void |
addRow()
Adds column to table. |
void |
combine(int[] rows,
int[] columns)
Combines cells |
java.awt.Dimension |
getSize()
Getter method |
void |
insertRow(int row)
Adds column to table at a certain position. |
boolean |
isEditable(int row,
int column)
Returns editability of a cell |
void |
setNotEditable(int row,
int column)
Set cell uneditable. |
void |
setSize(java.awt.Dimension size)
Setter method |
void |
split(int row,
int column)
The opposite of combine. |
Method Detail |
public void addColumn()
public void addRow()
public void insertRow(int row)
row
- Row where new row is to be inserted at.public java.awt.Dimension getSize()
public void setSize(java.awt.Dimension size)
size
- new Dimension of the table (column size & row size)public void combine(int[] rows, int[] columns)
rows
- Array of integers with Rows that are to be combinedcolumns
- Array of integers with Columns that are to be combinedpublic void split(int row, int column)
row
- integer with Rowcolumn
- integer with Columnpublic void setNotEditable(int row, int column)
row
- integer with Rowcolumn
- integer with Columnpublic boolean isEditable(int row, int column)
row
- integer with Rowcolumn
- integer with Column
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |