javax.swing.text

Class TableView.TableCell

public class TableView.TableCell extends BoxView

Deprecated: Table cells are now rendered by an arbitrary View implementation.

This class is deprecated and not used anymore. Table cells are rendered by an arbitrary View implementation.
Constructor Summary
TableCell(Element el)
Creates a new instance.
Method Summary
intgetColumnCount()
Returns the number of columns that this cell spans.
intgetGridColumn()
Returns the column number of this cell.
intgetGridRow()
Returns the row number of this cell.
intgetRowCount()
Returns the number of rows that this cell spans.
voidsetGridLocation(int r, int c)
Sets the grid location of this table cell.

Constructor Detail

TableCell

public TableCell(Element el)

Deprecated: Table cells are now rendered by an arbitrary View implementation.

Creates a new instance.

Parameters: el the element

Method Detail

getColumnCount

public int getColumnCount()

Deprecated: Table cells are now rendered by an arbitrary View implementation.

Returns the number of columns that this cell spans.

Returns: the number of columns that this cell spans

getGridColumn

public int getGridColumn()

Deprecated: Table cells are now rendered by an arbitrary View implementation.

Returns the column number of this cell.

Returns: the column number of this cell

getGridRow

public int getGridRow()

Deprecated: Table cells are now rendered by an arbitrary View implementation.

Returns the row number of this cell.

Returns: the row number of this cell

getRowCount

public int getRowCount()

Deprecated: Table cells are now rendered by an arbitrary View implementation.

Returns the number of rows that this cell spans.

Returns: the number of rows that this cell spans

setGridLocation

public void setGridLocation(int r, int c)

Deprecated: Table cells are now rendered by an arbitrary View implementation.

Sets the grid location of this table cell.

Parameters: r the row of this cell c the column of this cell