javax.swing.text
Interface TableView.GridCell

All Known Implementing Classes:
TableView.TableCell
Enclosing interface:
TableView

static interface TableView.GridCell

THIS IS NO LONGER USED, AND WILL BE REMOVED IN THE NEXT RELEASE. THE JCK SIGNATURE TEST THINKS THIS INTERFACE SHOULD EXIST


Method Summary
 int getColumnCount()
          Gets the number of columns this cell spans (e.g. the grid width).
 int getGridColumn()
          Gets the column of the grid location
 int getGridRow()
          Gets the row of the grid location
 int getRowCount()
          Gets the number of rows this cell spans (that is, the grid height).
 void setGridLocation(int row, int col)
          Sets the grid location.
 

Method Detail

setGridLocation

public void setGridLocation(int row,
                            int col)
Sets the grid location.

Parameters:
row - the row >= 0
col - the column >= 0

getGridRow

public int getGridRow()
Gets the row of the grid location


getGridColumn

public int getGridColumn()
Gets the column of the grid location


getColumnCount

public int getColumnCount()
Gets the number of columns this cell spans (e.g. the grid width).

Returns:
the number of columns

getRowCount

public int getRowCount()
Gets the number of rows this cell spans (that is, the grid height).

Returns:
the number of rows