TableView.TableCell (Java Platform SE 6) (original) (raw)
javax.swing.text
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:
Enclosing class:
Deprecated. A table cell can now be any View implementation.
@Deprecated public class TableView.TableCell
extends BoxView
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 elem) Deprecated. Constructs a TableCell for the given element. |
Method Summary | |
---|---|
int | getColumnCount() Deprecated. Gets the number of columns this cell spans (e.g. |
int | getGridColumn() Deprecated. Gets the column of the grid location |
int | getGridRow() Deprecated. Gets the row of the grid location |
int | getRowCount() Deprecated. Gets the number of rows this cell spans (that is, the grid height). |
void | [setGridLocation](../../../javax/swing/text/TableView.TableCell.html#setGridLocation%28int, int%29)(int row, int col) Deprecated. Sets the grid location. |
Methods inherited from class javax.swing.text.BoxView |
---|
[baselineLayout](../../../javax/swing/text/BoxView.html#baselineLayout%28int, int, int[], int[]%29), [baselineRequirements](../../../javax/swing/text/BoxView.html#baselineRequirements%28int, javax.swing.SizeRequirements%29), [calculateMajorAxisRequirements](../../../javax/swing/text/BoxView.html#calculateMajorAxisRequirements%28int, javax.swing.SizeRequirements%29), [calculateMinorAxisRequirements](../../../javax/swing/text/BoxView.html#calculateMinorAxisRequirements%28int, javax.swing.SizeRequirements%29), [childAllocation](../../../javax/swing/text/BoxView.html#childAllocation%28int, java.awt.Rectangle%29), [flipEastAndWestAtEnds](../../../javax/swing/text/BoxView.html#flipEastAndWestAtEnds%28int, javax.swing.text.Position.Bias%29), [forwardUpdate](../../../javax/swing/text/BoxView.html#forwardUpdate%28javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory%29), getAlignment, getAxis, [getChildAllocation](../../../javax/swing/text/BoxView.html#getChildAllocation%28int, java.awt.Shape%29), getHeight, getMaximumSpan, getMinimumSpan, [getOffset](../../../javax/swing/text/BoxView.html#getOffset%28int, int%29), getPreferredSpan, getResizeWeight, [getSpan](../../../javax/swing/text/BoxView.html#getSpan%28int, int%29), [getViewAtPoint](../../../javax/swing/text/BoxView.html#getViewAtPoint%28int, int, java.awt.Rectangle%29), getWidth, [isAfter](../../../javax/swing/text/BoxView.html#isAfter%28int, int, java.awt.Rectangle%29), isAllocationValid, [isBefore](../../../javax/swing/text/BoxView.html#isBefore%28int, int, java.awt.Rectangle%29), isLayoutValid, [layout](../../../javax/swing/text/BoxView.html#layout%28int, int%29), layoutChanged, [layoutMajorAxis](../../../javax/swing/text/BoxView.html#layoutMajorAxis%28int, int, int[], int[]%29), [layoutMinorAxis](../../../javax/swing/text/BoxView.html#layoutMinorAxis%28int, int, int[], int[]%29), [modelToView](../../../javax/swing/text/BoxView.html#modelToView%28int, java.awt.Shape, javax.swing.text.Position.Bias%29), [paint](../../../javax/swing/text/BoxView.html#paint%28java.awt.Graphics, java.awt.Shape%29), [paintChild](../../../javax/swing/text/BoxView.html#paintChild%28java.awt.Graphics, java.awt.Rectangle, int%29), [preferenceChanged](../../../javax/swing/text/BoxView.html#preferenceChanged%28javax.swing.text.View, boolean, boolean%29), [replace](../../../javax/swing/text/BoxView.html#replace%28int, int, javax.swing.text.View[]%29), setAxis, [setSize](../../../javax/swing/text/BoxView.html#setSize%28float, float%29), [viewToModel](../../../javax/swing/text/BoxView.html#viewToModel%28float, float, java.awt.Shape, javax.swing.text.Position.Bias[]%29) |
Methods inherited from class javax.swing.text.CompositeView |
---|
getBottomInset, getInsideAllocation, getLeftInset, [getNextEastWestVisualPositionFrom](../../../javax/swing/text/CompositeView.html#getNextEastWestVisualPositionFrom%28int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]%29), [getNextNorthSouthVisualPositionFrom](../../../javax/swing/text/CompositeView.html#getNextNorthSouthVisualPositionFrom%28int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]%29), [getNextVisualPositionFrom](../../../javax/swing/text/CompositeView.html#getNextVisualPositionFrom%28int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]%29), getRightInset, getTopInset, getView, [getViewAtPosition](../../../javax/swing/text/CompositeView.html#getViewAtPosition%28int, java.awt.Rectangle%29), getViewCount, [getViewIndex](../../../javax/swing/text/CompositeView.html#getViewIndex%28int, javax.swing.text.Position.Bias%29), getViewIndexAtPosition, loadChildren, [modelToView](../../../javax/swing/text/CompositeView.html#modelToView%28int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape%29), [setInsets](../../../javax/swing/text/CompositeView.html#setInsets%28short, short, short, short%29), setParagraphInsets, setParent |
Methods inherited from class javax.swing.text.View |
---|
append, [breakView](../../../javax/swing/text/View.html#breakView%28int, int, float, float%29), [changedUpdate](../../../javax/swing/text/View.html#changedUpdate%28javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory%29), [createFragment](../../../javax/swing/text/View.html#createFragment%28int, int%29), [forwardUpdateToView](../../../javax/swing/text/View.html#forwardUpdateToView%28javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory%29), getAttributes, [getBreakWeight](../../../javax/swing/text/View.html#getBreakWeight%28int, float, float%29), getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, [getToolTipText](../../../javax/swing/text/View.html#getToolTipText%28float, float, java.awt.Shape%29), getViewFactory, [getViewIndex](../../../javax/swing/text/View.html#getViewIndex%28float, float, java.awt.Shape%29), [insert](../../../javax/swing/text/View.html#insert%28int, javax.swing.text.View%29), [insertUpdate](../../../javax/swing/text/View.html#insertUpdate%28javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory%29), isVisible, [modelToView](../../../javax/swing/text/View.html#modelToView%28int, java.awt.Shape%29), remove, removeAll, [removeUpdate](../../../javax/swing/text/View.html#removeUpdate%28javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory%29), [updateChildren](../../../javax/swing/text/View.html#updateChildren%28javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, javax.swing.text.ViewFactory%29), [updateLayout](../../../javax/swing/text/View.html#updateLayout%28javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape%29), [viewToModel](../../../javax/swing/text/View.html#viewToModel%28float, float, java.awt.Shape%29) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, [wait](../../../java/lang/Object.html#wait%28long, int%29) |
Constructor Detail |
---|
TableView.TableCell
public TableView.TableCell(Element elem)
Deprecated.
Constructs a TableCell for the given element.
Parameters:
elem
- the element that this view is responsible for
Since:
1.4
Method Detail |
---|
getColumnCount
public int getColumnCount()
Deprecated.
Gets the number of columns this cell spans (e.g. the grid width).
Returns:
the number of columns
getRowCount
public int getRowCount()
Deprecated.
Gets the number of rows this cell spans (that is, the grid height).
Returns:
the number of rows
setGridLocation
public void setGridLocation(int row, int col)
Deprecated.
Sets the grid location.
Parameters:
row
- the row >= 0
col
- the column >= 0
getGridRow
public int getGridRow()
Deprecated.
Gets the row of the grid location
getGridColumn
public int getGridColumn()
Deprecated.
Gets the column of the grid location
Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.