Class TableView.TableCell
java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.TableView.TableCell
- All Implemented Interfaces:
- SwingConstants
- Enclosing class:
- TableView
Deprecated.
A table cell can now be any View implementation.
- 
Field SummaryFields declared in class javax.swing.text.ViewBadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISFields declared in interface javax.swing.SwingConstantsBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintDeprecated.Gets the number of columns this cell spans (e.g. the grid width).intDeprecated.Gets the column of the grid locationintDeprecated.Gets the row of the grid locationintDeprecated.Gets the number of rows this cell spans (that is, the grid height).voidsetGridLocation(int row, int col) Deprecated.Sets the grid location.Methods declared in class javax.swing.text.BoxViewbaselineLayout, 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, viewToModelMethods declared in class javax.swing.text.CompositeViewgetBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParentMethods declared in class javax.swing.text.Viewappend, breakView, changedUpdate, createFragment, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModel
- 
Constructor Details- 
TableCellDeprecated.Constructs a TableCell for the given element.- Parameters:
- elem- the element that this view is responsible for
- Since:
- 1.4
 
 
- 
- 
Method Details- 
getColumnCountpublic int getColumnCount()Deprecated.Gets the number of columns this cell spans (e.g. the grid width).- Returns:
- the number of columns
 
- 
getRowCountpublic int getRowCount()Deprecated.Gets the number of rows this cell spans (that is, the grid height).- Returns:
- the number of rows
 
- 
setGridLocationpublic void setGridLocation(int row, int col) Deprecated.Sets the grid location.- Parameters:
- row- the row >= 0
- col- the column >= 0
 
- 
getGridRowpublic int getGridRow()Deprecated.Gets the row of the grid location
- 
getGridColumnpublic int getGridColumn()Deprecated.Gets the column of the grid location
 
-