|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
javax.swing.text
|
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(int row,
int col)
Deprecated. Sets the grid location. |
Methods inherited from class javax.swing.text.CompositeView |
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParent |
Methods inherited from class 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TableView.TableCell(Element elem)
elem
- the element that this view is responsible forMethod Detail |
public int getColumnCount()
getColumnCount
in interface javax.swing.text.TableView.GridCell
public int getRowCount()
getRowCount
in interface javax.swing.text.TableView.GridCell
public void setGridLocation(int row, int col)
setGridLocation
in interface javax.swing.text.TableView.GridCell
row
- the row >= 0col
- the column >= 0public int getGridRow()
getGridRow
in interface javax.swing.text.TableView.GridCell
public int getGridColumn()
getGridColumn
in interface javax.swing.text.TableView.GridCell