javax.swing.text
Class TableView.TableCell

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.text.View sample code for javax.swing.text.View definition code for javax.swing.text.View 
      extended by javax.swing.text.CompositeView sample code for javax.swing.text.CompositeView definition code for javax.swing.text.CompositeView 
          extended by javax.swing.text.BoxView sample code for javax.swing.text.BoxView definition code for javax.swing.text.BoxView 
              extended by javax.swing.text.TableView.TableCell
All Implemented Interfaces:
SwingConstants sample code for javax.swing.SwingConstants definition code for javax.swing.SwingConstants
Enclosing class:
TableView sample code for javax.swing.text.TableView definition code for javax.swing.text.TableView

Deprecated. A table cell can now be any View implementation.

@Deprecated
public class TableView.TableCell
extends BoxView sample code for javax.swing.text.BoxView definition code for javax.swing.text.BoxView


Field Summary
 
Fields inherited from class javax.swing.text.View sample code for javax.swing.text.View definition code for javax.swing.text.View
BadBreakWeight sample code for javax.swing.text.View.BadBreakWeight definition code for javax.swing.text.View.BadBreakWeight , ExcellentBreakWeight sample code for javax.swing.text.View.ExcellentBreakWeight definition code for javax.swing.text.View.ExcellentBreakWeight , ForcedBreakWeight sample code for javax.swing.text.View.ForcedBreakWeight definition code for javax.swing.text.View.ForcedBreakWeight , GoodBreakWeight sample code for javax.swing.text.View.GoodBreakWeight definition code for javax.swing.text.View.GoodBreakWeight , X_AXIS sample code for javax.swing.text.View.X_AXIS definition code for javax.swing.text.View.X_AXIS , Y_AXIS sample code for javax.swing.text.View.Y_AXIS definition code for javax.swing.text.View.Y_AXIS
 
Fields inherited from interface javax.swing.SwingConstants sample code for javax.swing.SwingConstants definition code for javax.swing.SwingConstants
BOTTOM sample code for javax.swing.SwingConstants.BOTTOM definition code for javax.swing.SwingConstants.BOTTOM , CENTER sample code for javax.swing.SwingConstants.CENTER definition code for javax.swing.SwingConstants.CENTER , EAST sample code for javax.swing.SwingConstants.EAST definition code for javax.swing.SwingConstants.EAST , HORIZONTAL sample code for javax.swing.SwingConstants.HORIZONTAL definition code for javax.swing.SwingConstants.HORIZONTAL , LEADING sample code for javax.swing.SwingConstants.LEADING definition code for javax.swing.SwingConstants.LEADING , LEFT sample code for javax.swing.SwingConstants.LEFT definition code for javax.swing.SwingConstants.LEFT , NEXT sample code for javax.swing.SwingConstants.NEXT definition code for javax.swing.SwingConstants.NEXT , NORTH sample code for javax.swing.SwingConstants.NORTH definition code for javax.swing.SwingConstants.NORTH , NORTH_EAST sample code for javax.swing.SwingConstants.NORTH_EAST definition code for javax.swing.SwingConstants.NORTH_EAST , NORTH_WEST sample code for javax.swing.SwingConstants.NORTH_WEST definition code for javax.swing.SwingConstants.NORTH_WEST , PREVIOUS sample code for javax.swing.SwingConstants.PREVIOUS definition code for javax.swing.SwingConstants.PREVIOUS , RIGHT sample code for javax.swing.SwingConstants.RIGHT definition code for javax.swing.SwingConstants.RIGHT , SOUTH sample code for javax.swing.SwingConstants.SOUTH definition code for javax.swing.SwingConstants.SOUTH , SOUTH_EAST sample code for javax.swing.SwingConstants.SOUTH_EAST definition code for javax.swing.SwingConstants.SOUTH_EAST , SOUTH_WEST sample code for javax.swing.SwingConstants.SOUTH_WEST definition code for javax.swing.SwingConstants.SOUTH_WEST , TOP sample code for javax.swing.SwingConstants.TOP definition code for javax.swing.SwingConstants.TOP , TRAILING sample code for javax.swing.SwingConstants.TRAILING definition code for javax.swing.SwingConstants.TRAILING , VERTICAL sample code for javax.swing.SwingConstants.VERTICAL definition code for javax.swing.SwingConstants.VERTICAL , WEST sample code for javax.swing.SwingConstants.WEST definition code for javax.swing.SwingConstants.WEST
 
Constructor Summary
TableView.TableCell sample code for javax.swing.text.TableView.TableCell.TableView.TableCell(javax.swing.text.Element) definition code for javax.swing.text.TableView.TableCell.TableView.TableCell(javax.swing.text.Element) (Element sample code for javax.swing.text.Element definition code for javax.swing.text.Element  elem)
          Deprecated. Constructs a TableCell for the given element.
 
Method Summary
 int getColumnCount sample code for javax.swing.text.TableView.TableCell.getColumnCount() definition code for javax.swing.text.TableView.TableCell.getColumnCount() ()
          Deprecated. Gets the number of columns this cell spans (e.g.
 int getGridColumn sample code for javax.swing.text.TableView.TableCell.getGridColumn() definition code for javax.swing.text.TableView.TableCell.getGridColumn() ()
          Deprecated. Gets the column of the grid location
 int getGridRow sample code for javax.swing.text.TableView.TableCell.getGridRow() definition code for javax.swing.text.TableView.TableCell.getGridRow() ()
          Deprecated. Gets the row of the grid location
 int getRowCount sample code for javax.swing.text.TableView.TableCell.getRowCount() definition code for javax.swing.text.TableView.TableCell.getRowCount() ()
          Deprecated. Gets the number of rows this cell spans (that is, the grid height).
 void setGridLocation sample code for javax.swing.text.TableView.TableCell.setGridLocation(int, int) definition code for javax.swing.text.TableView.TableCell.setGridLocation(int, int) (int row, int col)
          Deprecated. Sets the grid location.
 
Methods inherited from class javax.swing.text.BoxView sample code for javax.swing.text.BoxView definition code for javax.swing.text.BoxView
baselineLayout sample code for javax.swing.text.BoxView.baselineLayout(int, int, int[], int[]) definition code for javax.swing.text.BoxView.baselineLayout(int, int, int[], int[]) , baselineRequirements sample code for javax.swing.text.BoxView.baselineRequirements(int, javax.swing.SizeRequirements) definition code for javax.swing.text.BoxView.baselineRequirements(int, javax.swing.SizeRequirements) , calculateMajorAxisRequirements sample code for javax.swing.text.BoxView.calculateMajorAxisRequirements(int, javax.swing.SizeRequirements) definition code for javax.swing.text.BoxView.calculateMajorAxisRequirements(int, javax.swing.SizeRequirements) , calculateMinorAxisRequirements sample code for javax.swing.text.BoxView.calculateMinorAxisRequirements(int, javax.swing.SizeRequirements) definition code for javax.swing.text.BoxView.calculateMinorAxisRequirements(int, javax.swing.SizeRequirements) , childAllocation sample code for javax.swing.text.BoxView.childAllocation(int, java.awt.Rectangle) definition code for javax.swing.text.BoxView.childAllocation(int, java.awt.Rectangle) , flipEastAndWestAtEnds sample code for javax.swing.text.BoxView.flipEastAndWestAtEnds(int, javax.swing.text.Position.Bias) definition code for javax.swing.text.BoxView.flipEastAndWestAtEnds(int, javax.swing.text.Position.Bias) , forwardUpdate sample code for javax.swing.text.BoxView.forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) definition code for javax.swing.text.BoxView.forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) , getAlignment sample code for javax.swing.text.BoxView.getAlignment(int) definition code for javax.swing.text.BoxView.getAlignment(int) , getAxis sample code for javax.swing.text.BoxView.getAxis() definition code for javax.swing.text.BoxView.getAxis() , getChildAllocation sample code for javax.swing.text.BoxView.getChildAllocation(int, java.awt.Shape) definition code for javax.swing.text.BoxView.getChildAllocation(int, java.awt.Shape) , getHeight sample code for javax.swing.text.BoxView.getHeight() definition code for javax.swing.text.BoxView.getHeight() , getMaximumSpan sample code for javax.swing.text.BoxView.getMaximumSpan(int) definition code for javax.swing.text.BoxView.getMaximumSpan(int) , getMinimumSpan sample code for javax.swing.text.BoxView.getMinimumSpan(int) definition code for javax.swing.text.BoxView.getMinimumSpan(int) , getOffset sample code for javax.swing.text.BoxView.getOffset(int, int) definition code for javax.swing.text.BoxView.getOffset(int, int) , getPreferredSpan sample code for javax.swing.text.BoxView.getPreferredSpan(int) definition code for javax.swing.text.BoxView.getPreferredSpan(int) , getResizeWeight sample code for javax.swing.text.BoxView.getResizeWeight(int) definition code for javax.swing.text.BoxView.getResizeWeight(int) , getSpan sample code for javax.swing.text.BoxView.getSpan(int, int) definition code for javax.swing.text.BoxView.getSpan(int, int) , getViewAtPoint sample code for javax.swing.text.BoxView.getViewAtPoint(int, int, java.awt.Rectangle) definition code for javax.swing.text.BoxView.getViewAtPoint(int, int, java.awt.Rectangle) , getWidth sample code for javax.swing.text.BoxView.getWidth() definition code for javax.swing.text.BoxView.getWidth() , isAfter sample code for javax.swing.text.BoxView.isAfter(int, int, java.awt.Rectangle) definition code for javax.swing.text.BoxView.isAfter(int, int, java.awt.Rectangle) , isAllocationValid sample code for javax.swing.text.BoxView.isAllocationValid() definition code for javax.swing.text.BoxView.isAllocationValid() , isBefore sample code for javax.swing.text.BoxView.isBefore(int, int, java.awt.Rectangle) definition code for javax.swing.text.BoxView.isBefore(int, int, java.awt.Rectangle) , isLayoutValid sample code for javax.swing.text.BoxView.isLayoutValid(int) definition code for javax.swing.text.BoxView.isLayoutValid(int) , layout sample code for javax.swing.text.BoxView.layout(int, int) definition code for javax.swing.text.BoxView.layout(int, int) , layoutChanged sample code for javax.swing.text.BoxView.layoutChanged(int) definition code for javax.swing.text.BoxView.layoutChanged(int) , layoutMajorAxis sample code for javax.swing.text.BoxView.layoutMajorAxis(int, int, int[], int[]) definition code for javax.swing.text.BoxView.layoutMajorAxis(int, int, int[], int[]) , layoutMinorAxis sample code for javax.swing.text.BoxView.layoutMinorAxis(int, int, int[], int[]) definition code for javax.swing.text.BoxView.layoutMinorAxis(int, int, int[], int[]) , modelToView sample code for javax.swing.text.BoxView.modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias) definition code for javax.swing.text.BoxView.modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias) , paint sample code for javax.swing.text.BoxView.paint(java.awt.Graphics, java.awt.Shape) definition code for javax.swing.text.BoxView.paint(java.awt.Graphics, java.awt.Shape) , paintChild sample code for javax.swing.text.BoxView.paintChild(java.awt.Graphics, java.awt.Rectangle, int) definition code for javax.swing.text.BoxView.paintChild(java.awt.Graphics, java.awt.Rectangle, int) , preferenceChanged sample code for javax.swing.text.BoxView.preferenceChanged(javax.swing.text.View, boolean, boolean) definition code for javax.swing.text.BoxView.preferenceChanged(javax.swing.text.View, boolean, boolean) , replace sample code for javax.swing.text.BoxView.replace(int, int, javax.swing.text.View[]) definition code for javax.swing.text.BoxView.replace(int, int, javax.swing.text.View[]) , setAxis sample code for javax.swing.text.BoxView.setAxis(int) definition code for javax.swing.text.BoxView.setAxis(int) , setSize sample code for javax.swing.text.BoxView.setSize(float, float) definition code for javax.swing.text.BoxView.setSize(float, float) , viewToModel sample code for javax.swing.text.BoxView.viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[]) definition code for javax.swing.text.BoxView.viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[])
 
Methods inherited from class javax.swing.text.CompositeView sample code for javax.swing.text.CompositeView definition code for javax.swing.text.CompositeView
getBottomInset sample code for javax.swing.text.CompositeView.getBottomInset() definition code for javax.swing.text.CompositeView.getBottomInset() , getInsideAllocation sample code for javax.swing.text.CompositeView.getInsideAllocation(java.awt.Shape) definition code for javax.swing.text.CompositeView.getInsideAllocation(java.awt.Shape) , getLeftInset sample code for javax.swing.text.CompositeView.getLeftInset() definition code for javax.swing.text.CompositeView.getLeftInset() , getNextEastWestVisualPositionFrom sample code for javax.swing.text.CompositeView.getNextEastWestVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]) definition code for javax.swing.text.CompositeView.getNextEastWestVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]) , getNextNorthSouthVisualPositionFrom sample code for javax.swing.text.CompositeView.getNextNorthSouthVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]) definition code for javax.swing.text.CompositeView.getNextNorthSouthVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]) , getNextVisualPositionFrom sample code for javax.swing.text.CompositeView.getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]) definition code for javax.swing.text.CompositeView.getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[]) , getRightInset sample code for javax.swing.text.CompositeView.getRightInset() definition code for javax.swing.text.CompositeView.getRightInset() , getTopInset sample code for javax.swing.text.CompositeView.getTopInset() definition code for javax.swing.text.CompositeView.getTopInset() , getView sample code for javax.swing.text.CompositeView.getView(int) definition code for javax.swing.text.CompositeView.getView(int) , getViewAtPosition sample code for javax.swing.text.CompositeView.getViewAtPosition(int, java.awt.Rectangle) definition code for javax.swing.text.CompositeView.getViewAtPosition(int, java.awt.Rectangle) , getViewCount sample code for javax.swing.text.CompositeView.getViewCount() definition code for javax.swing.text.CompositeView.getViewCount() , getViewIndex sample code for javax.swing.text.CompositeView.getViewIndex(int, javax.swing.text.Position.Bias) definition code for javax.swing.text.CompositeView.getViewIndex(int, javax.swing.text.Position.Bias) , getViewIndexAtPosition sample code for javax.swing.text.CompositeView.getViewIndexAtPosition(int) definition code for javax.swing.text.CompositeView.getViewIndexAtPosition(int) , loadChildren sample code for javax.swing.text.CompositeView.loadChildren(javax.swing.text.ViewFactory) definition code for javax.swing.text.CompositeView.loadChildren(javax.swing.text.ViewFactory) , modelToView sample code for javax.swing.text.CompositeView.modelToView(int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape) definition code for javax.swing.text.CompositeView.modelToView(int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape) , setInsets sample code for javax.swing.text.CompositeView.setInsets(short, short, short, short) definition code for javax.swing.text.CompositeView.setInsets(short, short, short, short) , setParagraphInsets sample code for javax.swing.text.CompositeView.setParagraphInsets(javax.swing.text.AttributeSet) definition code for javax.swing.text.CompositeView.setParagraphInsets(javax.swing.text.AttributeSet) , setParent sample code for javax.swing.text.CompositeView.setParent(javax.swing.text.View) definition code for javax.swing.text.CompositeView.setParent(javax.swing.text.View)
 
Methods inherited from class javax.swing.text.View sample code for javax.swing.text.View definition code for javax.swing.text.View
append sample code for javax.swing.text.View.append(javax.swing.text.View) definition code for javax.swing.text.View.append(javax.swing.text.View) , breakView sample code for javax.swing.text.View.breakView(int, int, float, float) definition code for javax.swing.text.View.breakView(int, int, float, float) , changedUpdate sample code for javax.swing.text.View.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) definition code for javax.swing.text.View.changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) , createFragment sample code for javax.swing.text.View.createFragment(int, int) definition code for javax.swing.text.View.createFragment(int, int) , forwardUpdateToView sample code for javax.swing.text.View.forwardUpdateToView(javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) definition code for javax.swing.text.View.forwardUpdateToView(javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) , getAttributes sample code for javax.swing.text.View.getAttributes() definition code for javax.swing.text.View.getAttributes() , getBreakWeight sample code for javax.swing.text.View.getBreakWeight(int, float, float) definition code for javax.swing.text.View.getBreakWeight(int, float, float) , getContainer sample code for javax.swing.text.View.getContainer() definition code for javax.swing.text.View.getContainer() , getDocument sample code for javax.swing.text.View.getDocument() definition code for javax.swing.text.View.getDocument() , getElement sample code for javax.swing.text.View.getElement() definition code for javax.swing.text.View.getElement() , getEndOffset sample code for javax.swing.text.View.getEndOffset() definition code for javax.swing.text.View.getEndOffset() , getGraphics sample code for javax.swing.text.View.getGraphics() definition code for javax.swing.text.View.getGraphics() , getParent sample code for javax.swing.text.View.getParent() definition code for javax.swing.text.View.getParent() , getStartOffset sample code for javax.swing.text.View.getStartOffset() definition code for javax.swing.text.View.getStartOffset() , getToolTipText sample code for javax.swing.text.View.getToolTipText(float, float, java.awt.Shape) definition code for javax.swing.text.View.getToolTipText(float, float, java.awt.Shape) , getViewFactory sample code for javax.swing.text.View.getViewFactory() definition code for javax.swing.text.View.getViewFactory() , getViewIndex sample code for javax.swing.text.View.getViewIndex(float, float, java.awt.Shape) definition code for javax.swing.text.View.getViewIndex(float, float, java.awt.Shape) , insert sample code for javax.swing.text.View.insert(int, javax.swing.text.View) definition code for javax.swing.text.View.insert(int, javax.swing.text.View) , insertUpdate sample code for javax.swing.text.View.insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) definition code for javax.swing.text.View.insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) , isVisible sample code for javax.swing.text.View.isVisible() definition code for javax.swing.text.View.isVisible() , modelToView sample code for javax.swing.text.View.modelToView(int, java.awt.Shape) definition code for javax.swing.text.View.modelToView(int, java.awt.Shape) , remove sample code for javax.swing.text.View.remove(int) definition code for javax.swing.text.View.remove(int) , removeAll sample code for javax.swing.text.View.removeAll() definition code for javax.swing.text.View.removeAll() , removeUpdate sample code for javax.swing.text.View.removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) definition code for javax.swing.text.View.removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory) , updateChildren sample code for javax.swing.text.View.updateChildren(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, javax.swing.text.ViewFactory) definition code for javax.swing.text.View.updateChildren(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, javax.swing.text.ViewFactory) , updateLayout sample code for javax.swing.text.View.updateLayout(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape) definition code for javax.swing.text.View.updateLayout(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape) , viewToModel sample code for javax.swing.text.View.viewToModel(float, float, java.awt.Shape) definition code for javax.swing.text.View.viewToModel(float, float, java.awt.Shape)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

TableView.TableCell sample code for javax.swing.text.TableView.TableCell(javax.swing.text.Element) definition code for javax.swing.text.TableView.TableCell(javax.swing.text.Element)

public TableView.TableCell(Element sample code for javax.swing.text.Element definition code for javax.swing.text.Element  elem)
Deprecated. 
Constructs a TableCell for the given element.

Parameters:
elem - the element that this view is responsible for
Method Detail

getColumnCount sample code for javax.swing.text.TableView.TableCell.getColumnCount() definition code for javax.swing.text.TableView.TableCell.getColumnCount()

public int getColumnCount()
Deprecated. 
Gets the number of columns this cell spans (e.g. the grid width).

Returns:
the number of columns

getRowCount sample code for javax.swing.text.TableView.TableCell.getRowCount() definition code for javax.swing.text.TableView.TableCell.getRowCount()

public int getRowCount()
Deprecated. 
Gets the number of rows this cell spans (that is, the grid height).

Returns:
the number of rows

setGridLocation sample code for javax.swing.text.TableView.TableCell.setGridLocation(int, int) definition code for javax.swing.text.TableView.TableCell.setGridLocation(int, int)

public void setGridLocation(int row,
                            int col)
Deprecated. 
Sets the grid location.

Parameters:
row - the row >= 0
col - the column >= 0

getGridRow sample code for javax.swing.text.TableView.TableCell.getGridRow() definition code for javax.swing.text.TableView.TableCell.getGridRow()

public int getGridRow()
Deprecated. 
Gets the row of the grid location


getGridColumn sample code for javax.swing.text.TableView.TableCell.getGridColumn() definition code for javax.swing.text.TableView.TableCell.getGridColumn()

public int getGridColumn()
Deprecated. 
Gets the column of the grid location