W3cubDocs

/OpenJDK 8 GUI

Class TableView.TableCell

All Implemented Interfaces:
SwingConstants
Enclosing class:
TableView

Deprecated.

A table cell can now be any View implementation.

@Deprecated
public class TableView.TableCell
extends BoxView

Fields

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

Constructors

TableCell

public TableCell(Element elem)

Deprecated.

Constructs a TableCell for the given element.

Parameters:
elem - the element that this view is responsible for
Since:
1.4

Methods

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

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.