java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.TableView.TableCell
- All Implemented Interfaces:
- javax.swing.SwingConstants
- Enclosing class:
- TableView
Deprecated. Table cells are now rendered by an arbitrary View
implementation.
- public class TableView.TableCell
- extends BoxView
This class is deprecated and not used anymore. Table cells are
rendered by an arbitrary View implementation.
|
Field Summary |
private int |
column
Deprecated. The column number of this cell. |
private int |
row
Deprecated. The row number of this cell. |
| Fields inherited from class javax.swing.text.BoxView |
|
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
|
Method Summary |
int |
getColumnCount()
Deprecated. Table cells are now rendered by an arbitrary
View implementation. |
int |
getGridColumn()
Deprecated. Table cells are now rendered by an arbitrary
View implementation. |
int |
getGridRow()
Deprecated. Table cells are now rendered by an arbitrary
View implementation. |
int |
getRowCount()
Deprecated. Table cells are now rendered by an arbitrary
View implementation. |
void |
setGridLocation(int r,
int c)
Deprecated. Table cells are now rendered by an arbitrary
View implementation. |
| Methods inherited from class javax.swing.text.BoxView |
baselineLayout, baselineRequirements, calculateMajorAxisRequirements, calculateMinorAxisRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAlignment, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getResizeWeight, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMajorAxis, layoutMinorAxis, modelToView, paint, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModel |
| Methods inherited from class javax.swing.text.CompositeView |
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParent |
| Methods inherited from class javax.swing.text.View |
append, breakView, changedUpdate, createFragment, dump, dump, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
row
private int row
- Deprecated.
- The row number of this cell.
column
private int column
- Deprecated.
- The column number of this cell.
TableView.TableCell
public TableView.TableCell(Element el)
- Deprecated. Table cells are now rendered by an arbitrary
View implementation.
- Creates a new instance.
getColumnCount
public int getColumnCount()
- Deprecated. Table cells are now rendered by an arbitrary
View implementation.
- Returns the number of columns that this cell spans.
getRowCount
public int getRowCount()
- Deprecated. Table cells are now rendered by an arbitrary
View implementation.
- 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.
getGridRow
public int getGridRow()
- Deprecated. Table cells are now rendered by an arbitrary
View implementation.
- Returns the row number of this cell.
getGridColumn
public int getGridColumn()
- Deprecated. Table cells are now rendered by an arbitrary
View implementation.
- Returns the column number of this cell.