- java.lang.Object
-
- javax.swing.text.View
-
- javax.swing.text.CompositeView
-
- javax.swing.text.BoxView
-
- javax.swing.text.TableView.TableCell
-
- 实现的所有接口
-
SwingConstants
- Enclosing class:
- TableView
@Deprecatedpublic class TableView.TableCellextends BoxView
Deprecated.A table cell can now be any View implementation.
-
-
字段汇总
-
声明的属性在类 javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
-
Fields declared in 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
-
-
方法摘要
所有方法 实例方法 具体的方法 弃用的方法 变量和类型 方法 描述 int
getColumnCount()
已过时。获取此单元格跨越的列数(例如网格宽度)。int
getGridColumn()
已过时。获取网格位置的列int
getGridRow()
已过时。获取网格位置的行int
getRowCount()
已过时。获取此单元格跨越的行数(即网格高度)。void
setGridLocation(int row, int col)
已过时。设置网格位置。-
声明方法的类 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
-
声明方法的类 javax.swing.text.CompositeView
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParent
-
声明方法的类 javax.swing.text.View
append, 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
-
-
-
-
构造方法详细信息
-
TableCell
public TableCell(Element elem)
Deprecated.为给定元素构造TableCell。- 参数
-
elem
- 此视图负责的元素 - 从以下版本开始:
- 1.4
-
-
方法详细信息
-
getColumnCount
public int getColumnCount()
Deprecated.获取此单元格跨越的列数(例如网格宽度)。- 结果
- 列数
-
getRowCount
public int getRowCount()
Deprecated.获取此单元格跨越的行数(即网格高度)。- 结果
- 行数
-
setGridLocation
public void setGridLocation(int row, int col)
Deprecated.设置网格位置。- 参数
-
row
- 行> = 0 -
col
- 列> = 0
-
getGridRow
public int getGridRow()
Deprecated.获取网格位置的行
-
getGridColumn
public int getGridColumn()
Deprecated.获取网格位置的列
-
-