Searched refs:row (Results 76 - 100 of 226) sorted by relevance

12345678910

/openjdk10/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/internal/
H A DColumns.java81 List<Row> fit( Row row ) {
82 List<String> options = piecesOf( row.option, optionWidth );
83 List<String> descriptions = piecesOf( row.description, descriptionWidth );
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DJTable.java84 * public Object getValueAt(int row, int col) { return Integer.valueOf(row*col); }
101 * You can set up a row sorter in either of two ways:
137 * the column and row indexes returned by various <code>JTable</code> methods
158 * conversions will be necessary when using the row based methods of
160 * All of <code>JTable</code>s row based methods are in terms of the
178 * selection and variable row heights in terms of the model on
179 * sorting. For example if row 0, in terms of the underlying model,
180 * is currently selected, after the sort row 0, in terms of the
184 * visible or was removed. For example, if row
470 private final int row; field in class:JTable.DropLocation
475 DropLocation(Point p, int row, int col, boolean isInsertRow, boolean isInsertCol) argument
987 setRowHeight(int row, int rowHeight) argument
1004 getRowHeight(int row) argument
2141 getAdjustedIndex(int index, boolean row) argument
2146 boundRow(int row) argument
2337 isRowSelected(int row) argument
2363 isCellSelected(int row, int column) argument
2728 getValueAt(int row, int column) argument
2752 setValueAt(Object aValue, int row, int column) argument
2776 isCellEditable(int row, int column) argument
2937 getCellRect(int row, int column, boolean includeSpacing) argument
3485 editCellAt(int row, int column) argument
3506 editCellAt(int row, int column, EventObject e) argument
5424 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
5506 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
5705 getCellRenderer(int row, int column) argument
5740 prepareRenderer(TableCellRenderer renderer, int row, int column) argument
5784 getCellEditor(int row, int column) argument
5811 prepareEditor(TableCellEditor editor, int row, int column) argument
7689 getAccessibleAt(int row, int column) argument
8049 private int row; field in class:JTable.AccessibleJTable.AccessibleJTableCell
8883 private int row; field in class:JTable.AccessibleJTable.AccessibleJTableHeaderCell
8896 AccessibleJTableHeaderCell(int row, int column, JTableHeader parent, Component rendererComponent) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicTableUI.java259 * row or column selection is allowed). When performing modifications,
278 // both column and row selection
285 // row selection only
361 * Find the next lead row and column based on the given
977 // The row and column where the press occurred and the
1264 int row = table.rowAtPoint(p);
1268 if ((column == -1) || (row == -1)) {
1272 table.changeSelection(row, column,
1349 * item at the given row of the table. (Column must be 0).
1352 private boolean pointOutsidePrefSize(int row, in argument
2176 paintCell(Graphics g, Rectangle cellRect, int row, int column) argument
2191 getAdjustedLead(JTable table, boolean row, ListSelectionModel model) argument
2200 getAdjustedLead(JTable table, boolean row) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/table/
H A DLongCellRenderer.java42 int row, int column) {
40 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DMetalTreeUI.java157 * @param row a row
158 * @param rowLevel a row level
164 protected boolean isLocationInExpandControl(int row, int rowLevel, argument
166 if(tree != null && !isLeaf(row)) {
243 TreePath path, int row,
249 path, row, isExpanded,
241 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DTreeSelectionModel.java83 * row is then the row that corresponds to the TreePath as determined
232 * the row for a particular TreePath.
240 * row.
243 * to a row
277 * Returns true if the row identified by <code>row</code> is selected.
279 * @param row row to check
280 * @return whether the row i
282 isRowSelected(int row) argument
[all...]
H A DAbstractLayoutCache.java62 * Height to use for each row. If this is &lt;= 0 the renderer will be
63 * used to determine the height for each row.
134 * queried for each row's height.
145 * Returns the height of each row. If the returned value is less than
146 * or equal to 0 the height for each row is determined by the
149 * @return the height of each row
263 * Returns true if the value identified by row is currently expanded.
281 * Returns the path for passed in row. If row is not visible
284 * @param row th
287 getPathForRow(int row) argument
487 getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle placeIn) argument
529 getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/table/
H A DDefaultTableCellRenderer.java183 * <code>[row, column]</code>
186 * @param row the row of the cell to render
192 boolean isSelected, boolean hasFocus, int row, int column) {
204 && dropLocation.getRow() == row
224 if (alternateColor != null && row % 2 != 0) {
246 if (!isSelected && table.isCellEditable(row, column)) {
191 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/
H A DTreeUI.java54 * Returns the path for passed in row. If row is not visible
58 * @param row an integer specifying a row
59 * @return the {@code path} for {@code row} or {@code null} if {@code row}
62 public abstract TreePath getPathForRow(JTree tree, int row); argument
65 * Returns the row that the last item identified in path is visible
71 * @return an integer specifying the row at which the last item
81 * @return an integer specifying the number of row bein
[all...]
/openjdk10/jdk/test/javax/swing/plaf/basic/BasicTreeUI/8023474/
H A Dbug8023474.java100 private static Point getRowPointToClick(final int row) throws Exception { argument
105 Rectangle rect = tree.getRowBounds(row);
124 boolean expanded, boolean leaf, int row) {
166 boolean leaf, int row, boolean hasFocus) {
123 getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) argument
165 getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
/openjdk10/jdk/test/javax/swing/JTree/4330357/
H A Dbug4330357.java92 private static Point getTreeRowClickPoint(final int row) throws Exception { argument
100 Rectangle rect = tree.getRowBounds(row);
180 boolean leaf, int row) {
181 if (row % 2 == 0) {
177 getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) argument
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/
H A DObjectHistogramPanel.java190 public Object getValueAt(int row, int col) { argument
191 return getValueForColumn(getElement(row), col);
282 * Find and select the row that contains the text in the find field starting
283 * from the current selected row.
285 * Uses a linear search from the current row. Could be optimized withing the
297 int row = table.getSelectedRow();
298 if (row == model.getRowCount()) {
299 row = 0;
301 // Start at the row after the selected row
[all...]
H A DJavaThreadsPanel.java158 // A listener is added to listen to changes in row selection
203 int row = threadTable.getSelectedRow();
204 if (row >= 0) {
205 threadInfo.setJavaThread(dataModel.getJavaThread(row));
286 public Object getValueAt(int row, int col) { argument
287 CachedThread thread = getRow(row);
294 throw new RuntimeException("Index (" + col + ", " + row + ") out of bounds");
299 * Returns the selected Java Thread indexed by the row or null.
305 private CachedThread getRow(int row) { argument
306 return (CachedThread)elements.get(row);
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriter.java249 // Get the line stride, bytes per row, and data array.
267 // Write the image row-by-row.
271 for(int row = 0; row < h; row++) {
276 processImageProgress(100.0F * row / h);
281 for(int row = 0; row < h; row
[all...]
/openjdk10/jdk/test/java/awt/Graphics/
H A DLineClipTest.java194 for (int row = 0; row < getHeight(); ++row) {
196 if (row >= clipY1 && row < (clipY1 + clipSize) &&
205 int pixel = imageChecker.getRGB(col, row);
209 " at (x, y) = " + col + ", " + row);
213 g.drawRect(col - 1, row - 1, 2, 2);
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJTextAreaOperator.java73 * Identifier for a "row count" property.
323 * @param row Line to move caret to.
329 public void changeCaretRow(int row) { argument
330 changeCaretPosition(row, getCaretPosition()
337 * @param row Line to move caret to.
344 public void changeCaretPosition(int row, int column) { argument
345 int startOffset = getLineStartOffset(row);
346 int endOffset = getLineEndOffset(row);
347 super.changeCaretPosition(getLineStartOffset(row)
357 * @param row Lin
362 typeText(String text, int row, int column) argument
[all...]
H A DJTreeOperator.java76 * collapsed, selected, time to wait for a text in a row <BR>
167 * @param text Text of a row which is currently selected.
168 * @param row a row index to check text in. If equals to -1, selected row is
174 public JTreeOperator(ContainerOperator<?> cont, String text, int row, int index) { argument
176 new JTreeByItemFinder(text, row,
187 * @param text Text of a row which is currently selected.
201 * @param text Text of a row which is currently selected.
265 * @param rowIndex Index of row t
418 doExpandRow(int row) argument
1065 doCollapseRow(int row) argument
1104 selectRow(int row) argument
1159 getPointToClick(int row) argument
1345 scrollToRow(int row) argument
1462 waitExpanded(final int row) argument
1520 waitCollapsed(final int row) argument
1637 waitSelected(int row) argument
1648 waitRow(String rowText, int row) argument
2962 checkRow(JTreeOperator oper, int row) argument
3173 checkRow(JTreeOperator oper, int row) argument
3198 checkRow(JTreeOperator oper, int row) argument
[all...]
/openjdk10/jdk/src/demo/share/jfc/TableExample/
H A DJDBCAdapter.java188 public boolean isCellEditable(int row, int column) { argument
206 List<Object> row = rows.get(aRow);
207 return row.get(aColumn);
239 public void setValueAt(Object value, int row, int column) { argument
262 getValueAt(row, col));
271 List<Object> dataRow = rows.get(row);
H A DTableSorter.java63 * getValueAt(row, col) it redirects them to its model via the mapping
206 for (int row = 0; row < rowCount; row++) {
207 indexes[row] = row;
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/
H A DTableSorter.java122 // This might happen when the user is editing a row, and clicks on
123 // another row without validating. In that case there are two events
146 // update row heights in XMBeanAttributes (required by expandable cells)
220 private Vector<?> getRow(int row) { argument
221 return dataVector.elementAt(row);
225 private void setRow(Vector<?> data, int row) { argument
226 dataVector.setElementAt(data,row);
249 public int getIndexOfRow(int row) { argument
250 return invertedIndex[row];
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java310 int row = treeState.getRowForPath(initialPath);
352 row, isExpanded, hasBeenExpanded, isLeaf);
360 row++;
397 path, row, isExpanded,
400 else if (rootVisible && row == 0) {
403 path, row, isExpanded,
406 if (shouldPaintExpandControl(path, row, isExpanded,
409 insets, bounds, path, row,
419 row++;
470 TreePath path, int row,
468 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
513 paintRow(TreeCellRenderer renderer, DefaultTreeCellRenderer dtcr, SynthContext treeContext, SynthContext cellContext, Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, Rectangle rowBounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
582 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
673 getRowX(int row, int depth) argument
689 getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
[all...]
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaFileSystemModel.java227 final int row = fileCache.indexOf(new SortableFile(o));
228 return isAscending ? row : fileCache.size() - row - 1;
235 public Object getElementAt(final int row) { argument
236 return getValueAt(row, 0);
241 public Object getValueAt(int row, final int col) { argument
242 if (row < 0 || col < 0) return null;
246 if (!isAscending) row = fileCache.size() - row - 1;
247 return fileCache.elementAt(row)
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/
H A DDefaultSwatchChooserPanel.java361 for (int row = 0; row < numSwatches.height; row++) {
362 int y = row * (swatchSize.height + gap.height);
364 Color c = getColorForCell(column, row);
377 if (selRow == row && selCol == column && this.isFocusOwner()) {
427 int row = y / (swatchSize.height + gap.height);
428 return getColorForCell(column, row);
431 private Color getColorForCell( int column, int row) { argument
432 return colors[ (row * numSwatche
[all...]
/openjdk10/jdk/test/javax/sql/testng/test/rowset/webrowset/
H A DCommonWebRowSetTests.java240 for (int row : rowsToDelete) {
241 assertTrue(deleteRowByPrimaryKey(wrs, row, 1));
248 // the deleted row should not be visible
249 for (int row : rowsToDelete) {
250 assertTrue(findRowByPrimaryKey(wrs1, row, 1));
253 // With setShowDeleted(true), the deleted row should be visible
254 for (int row : rowsToDelete) {
255 assertTrue(findRowByPrimaryKey(wrs, row, 1));
296 // the deleted row should not be visible
297 for (int row
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/treetable/
H A DJTreeTable.java96 // Force the JTable and JTree to share their row selection models.
112 // And update the height of the trees row to match that of
145 * editing row in this case, ensures the editor is never painted.
153 * Returns the actual row that is editing as <code>getEditingRow</code>
202 public boolean editCellAt(int row, int column, EventObject e){ argument
203 boolean retValue = super.editCellAt(row, column, e);
205 repaint(getCellRect(row, column, false));
226 /** Last table/tree row asked to renderer. */
260 * Sets the row height of the tree, and forwards the row heigh
298 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
[all...]

Completed in 154 milliseconds

12345678910