|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.gui.attributeeditor.CellRenderers
public class CellRenderers
A generic collection class for cell renderers. This class manages a vector containing the cell renderers for each row, i.e. a vector of a vector of cell renderers.
| Field Summary | |
|---|---|
private java.util.List<java.util.List<javax.swing.table.TableCellRenderer>> |
cellRenderers
|
| Constructor Summary | |
|---|---|
CellRenderers(int size)
Creates a new cell renderer collection. |
|
| Method Summary | |
|---|---|
void |
add(int row,
javax.swing.table.TableCellRenderer renderer)
Adds a new cell renderer in the given row. |
javax.swing.table.TableCellRenderer |
get(int row,
int column)
Returns the cell renderer in the given row and column. |
int |
getSize()
Returns the number of rows. |
int |
getSize(int i)
Returns the size of the i-th row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.List<java.util.List<javax.swing.table.TableCellRenderer>> cellRenderers
| Constructor Detail |
|---|
public CellRenderers(int size)
| Method Detail |
|---|
public void add(int row,
javax.swing.table.TableCellRenderer renderer)
public javax.swing.table.TableCellRenderer get(int row,
int column)
public int getSize()
public int getSize(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||