Spec-Zone.ru › OpenJDK 25

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 public class TableView.TableCell extends BoxView
Deprecated.
A table cell can now be any View implementation.

Field Summary

Fields declared in class View

BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS

Fields declared in interface 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

Constructor Description
TableCell(Element elem)
Deprecated.
Constructs a TableCell for the given element.

Method Summary

Modifier and Type Method Description
int getColumnCount()
Deprecated.
Gets the number of columns this cell spans (e.g. the grid width).
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(int row, int col)
Deprecated.
Sets the grid location.

Methods declared in class 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 declared in class CompositeView

getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParent

Methods declared in class 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

Methods declared in class Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

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

Method Details

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

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, 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.
https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/javax/swing/text/TableView.TableCell.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API