Searched refs:rowCount (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableModel.java97 * <code>rowCount</code> and <code>columnCount</code> of
100 * @param rowCount the number of rows the table holds
105 public DefaultTableModel(int rowCount, int columnCount) { argument
106 this(newVector(columnCount), rowCount);
112 * and <code>rowCount</code> of <code>null</code>
119 * @param rowCount the number of rows the table holds
123 public DefaultTableModel(Vector columnNames, int rowCount) { argument
124 setDataVector(newVector(rowCount), columnNames);
130 * and <code>rowCount</code> of <code>null</code>
137 * @param rowCount th
141 DefaultTableModel(Object[] columnNames, int rowCount) argument
314 setNumRows(int rowCount) argument
338 setRowCount(int rowCount) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DAbstractLayoutCache.java187 int rowCount = getRowCount();
189 if(rowCount > 0) {
190 Rectangle bounds = getBounds(getPathForRow(rowCount - 1),
213 int rowCount = getRowCount();
215 if(rowCount > 0) {
H A DFixedHeightLayoutCache.java56 private int rowCount; field in class:FixedHeightLayoutCache
108 rowCount++;
112 rowCount--;
139 return rowCount;
573 rowCount += changeAmount;
610 rowCount = 1;
614 rowCount = 0;
621 rowCount = 0;
1117 rowCount = lastRow;
H A DVariableHeightLayoutCache.java288 int rowCount = getRowCount();
290 if(rowCount > 0) {
291 TreeStateNode node = getNode(rowCount - 1);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultRowSorter.java633 int rowCount = getModelWrapper().getRowCount();
638 createModelToView(rowCount);
639 for (i = 0; i < rowCount; i++) {
650 createViewToModel(rowCount - excludedCount);
651 for (i = 0, j = 0; i < rowCount; i++) {
659 * Makes sure the modelToView array is of size rowCount.
661 private void createModelToView(int rowCount) { argument
662 if (modelToView == null || modelToView.length != rowCount) {
663 modelToView = new int[rowCount];
668 * Resets the viewToModel array to be of size rowCount
670 createViewToModel(int rowCount) argument
[all...]
H A DTablePrintable.java471 int rowCount = table.getRowCount();
476 if (++row >= rowCount) {
H A DJTree.java2500 int rowCount = getRowCount();
2501 if (rowCount > 0 && !((index0 < 0 && index1 < 0) ||
2502 (index0 >= rowCount && index1 >= rowCount))){
2503 index0 = Math.min(rowCount - 1, Math.max(index0, 0));
2504 index1 = Math.min(rowCount - 1, Math.max(index1, 0));
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11PMBlitLoops.c221 int rowCount; local
282 rowCount = height;
309 } while (--rowCount > 0);
328 } while (--rowCount > 0);
361 } while (--rowCount > 0);
383 } while (--rowCount > 0);
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableSorter.java199 int rowCount = model.getRowCount();
203 indexes = new int[rowCount];
206 for (int row = 0; row < rowCount; row++) {
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DAccessibleHTML.java1680 int rowCount = ((TableElementInfo)elementInfo).getRowCount();
1682 int r = i / rowCount;
1684 if (r < 0 || r >= rowCount || c < 0 || c >= columnCount) {
2139 private int rowCount = 0; field in class:AccessibleHTML.TableElementInfo.TableAccessibleContext.AccessibleHeadersTable
2192 return rowCount;
2440 int rowCount = 1;
2449 rowCount = Math.max(rowCount, cell.getRowCount());
2453 return rowCount;
2513 for (int rowCount
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTreeUI.java4178 int rowCount;
4180 if((rowCount = ui.getRowCount(tree)) > 0 &&
4249 int rowCount = ui.getRowCount(tree);
4251 if(rowCount > 0) {
4272 tree.setSelectionInterval(0, rowCount - 1);
4339 int rowCount;
4342 (rowCount = tree.getRowCount()) > 0) {
4350 newIndex = rowCount - 1;
4354 newIndex = Math.min(rowCount - 1, Math.max
4382 int rowCount;
[all...]
H A DBasicTableUI.java411 int rowCount = table.getRowCount();
413 this.dy = forwards ? rowCount : -rowCount;
1692 int rowCount = table.getRowCount();
1693 if (rowCount > 0 && table.getColumnCount() > 0) {
1694 Rectangle r = table.getCellRect(rowCount-1, 0, true);
2159 int rowCount = table.getRowCount();
2161 rows = new int[rowCount];
2162 for (int counter = 0; counter < rowCount; counter++) {
H A DBasicListUI.java302 int rowCount = getRowCount(colCounter);
310 while (row < rowCount && rowBounds.y < maxY &&
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFlowView.java468 int rowCount = fv.getViewCount();
471 if (rowIndex >= rowCount) {
482 if (rowIndex < rowCount) {
483 fv.replace(rowIndex, rowCount - rowIndex, null);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxPopup.java92 final int rowCount = Math.min(maxRowCount, currentElementCount);
97 for (int i = 0; i < rowCount; i++) {
/openjdk7/jdk/src/share/classes/sun/swing/
H A DFilePane.java130 int rowCount = model.getSize();
132 if (detailsTable == null || rowCount == 0 ||
150 if (startIndex >= rowCount) {
151 startIndex = rowCount - 1;
175 if (startIndex >= rowCount) {
180 int index = getNextMatch(startIndex, rowCount - 1);

Completed in 323 milliseconds