javax.swing.text
Class TableView.TableCell

java.lang.Object
  extended by javax.swing.text.View
      extended by javax.swing.text.CompositeView
          extended by javax.swing.text.BoxView
              extended by javax.swing.text.TableView.TableCell
All Implemented Interfaces:
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
 
Fields inherited from class javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
 
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
 
Constructor Summary
TableView.TableCell(Element el)
          Deprecated. Table cells are now rendered by an arbitrary View implementation.
 
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, 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
 

Constructor Detail

TableView.TableCell

public TableView.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

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

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

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