Searched defs:row (Results 76 - 100 of 124) sorted by relevance

12345

/openjdk7/hotspot/agent/src/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...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTableUI.java347 // Replace this with the index of the last row.
425 int row = loc.getRow();
431 Rectangle rect = table.getCellRect(row, col, true);
433 if (row >= table.getRowCount()) {
434 row--;
435 Rectangle prevRect = table.getCellRect(row, col, true);
522 for (int row = rMin; row <= rMax; row++) {
523 y += table.getRowHeight(row);
674 paintCell(SynthContext context, Graphics g, Rectangle cellRect, int row, int column) argument
718 getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
774 getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
[all...]
H A DSynthTreeUI.java319 int row = treeState.getRowForPath(initialPath);
361 row, isExpanded, hasBeenExpanded, isLeaf);
369 row++;
406 path, row, isExpanded,
409 else if (rootVisible && row == 0) {
412 path, row, isExpanded,
415 if (shouldPaintExpandControl(path, row, isExpanded,
418 insets, bounds, path, row,
428 row++;
480 TreePath path, int row,
478 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
523 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
592 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
683 getRowX(int row, int depth) argument
699 getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeCellEditor.java207 boolean leaf, int row) {
209 lastRow = row;
210 determineOffset(tree, value, isSelected, expanded, leaf, row);
216 isSelected, expanded,leaf, row);
221 TreePath newPath = tree.getPathForRow(row);
481 boolean leaf, int row) {
204 getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) argument
479 determineOffset(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) argument
H A DDefaultTreeCellRenderer.java427 boolean leaf, int row,
430 expanded, leaf, row, hasFocus);
442 && tree.getRowForPath(dropLocation.getPath()) == row) {
424 getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
H A DDefaultTreeSelectionModel.java44 * to be able to track row changes you may wish to become a listener
79 /** Provides a row for a given path. */
83 * to map from a TreePath to a row, and the value is then placed here. */
95 /** Lead row. */
121 * the row for a particular TreePath.
130 * row.
685 * RowMapper} returns {@code -1} for the row corresponding to the
686 * {@code TreePath}), then the corresponding row is not included
688 * of two paths, {@code A} and {@code B}, with {@code A} at row
749 * Returns true if the row identifie
751 isRowSelected(int row) argument
[all...]
H A DFixedHeightLayoutCache.java70 * Used for getting path/row information.
128 throw new IllegalArgumentException("FixedHeightLayoutCache only supports row heights greater than 0");
161 * Returns true if the value identified by row is currently expanded.
204 * Returns the path for passed in row. If row is not visible
207 public TreePath getPathForRow(int row) { argument
208 if(row >= 0 && row < getRowCount()) {
209 if(root.getPathForRow(row, getRowCount(), info)) {
217 * Returns the row tha
756 protected int row; field in class:FixedHeightLayoutCache.FHTreeStateNode
762 FHTreeStateNode(Object userObject, int childIndex, int row) argument
1324 getPathForRow(int row, int nextRow, SearchInfo info) argument
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DciMethodData.cpp122 for (uint row = 0; row < row_limit(); row++) {
123 klassOop k = data->as_ReceiverTypeData()->receiver(row);
126 set_receiver(row, klass);
402 uint row; local
404 for (row = 0; row < row_limit(); row++) {
405 if (receiver(row) !
[all...]
H A DciMethodData.hpp66 void set_receiver(uint row, ciKlass* recv) { argument
67 assert((uint)row < row_limit(), "oob");
68 set_intptr_at(receiver0_offset + row * receiver_type_row_cell_count,
72 ciKlass* receiver(uint row) { argument
73 assert((uint)row < row_limit(), "oob");
74 ciObject* recv = (ciObject*)intptr_at(receiver0_offset + row * receiver_type_row_cell_count);
97 void set_receiver(uint row, ciKlass* recv) { argument
98 rtd_super()->set_receiver(row, recv);
101 ciKlass* receiver(uint row) { argument
102 return rtd_super()->receiver(row);
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFileSystemModel.java217 final int row = fileCache.indexOf(new SortableFile(o));
218 return isAscending ? row : fileCache.size() - row - 1;
225 public Object getElementAt(final int row) { argument
226 return getValueAt(row, 0);
231 public Object getValueAt(int row, final int col) { argument
232 if (row < 0 || col < 0) return null;
236 if (!isAscending) row = fileCache.size() - row - 1;
237 return fileCache.elementAt(row)
[all...]
H A DAquaTreeUI.java165 protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument
167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
182 * Paints the expand (toggle) part of a row. The reciever should NOT modify <code>clipBounds</code>, or
185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument
199 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
206 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
225 final int height = icon.getIconHeight(); // use the icon height so we don't get drift we modify the bounds (by changing row height)
280 * Returning true signifies a mouse event on the node should toggle the selection of only the row under mouse.
529 // in the special case where there is only one row selected,
549 void expandNode(final int row, fina argument
568 collapseNode(final int row, final boolean recursive) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngpread.c944 * before returning, calling the row callback as required to
1004 /* Is this unexpected data after the last row?
1021 /* Do we have a complete row? */
1217 if (png_ptr->pass == 6) /* Skip top generated row */
1840 png_push_have_row(png_structp png_ptr, png_bytep row) argument
1843 (*(png_ptr->row_fn))(png_ptr, row, png_ptr->row_number,
H A Dpngwrite.c583 png_write_rows(png_structp png_ptr, png_bytepp row, argument
586 png_uint_32 i; /* row counter */
587 png_bytepp rp; /* row pointer */
595 for (i = 0, rp = row; i < num_rows; i++, rp++)
607 png_uint_32 i; /* row index */
609 png_bytepp rp; /* points to current row */
635 /* Called by user to write a row of image data */
637 png_write_row(png_structp png_ptr, png_const_bytep row) argument
642 png_debug2(1, "in png_write_row (row %u, pass %d)",
694 /* If interlaced and not interested in row, retur
[all...]
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx_impl.c161 int row, int col)
169 row, col++); local
179 putRGBADither(color, pDst, dstFormat, row, col++);
192 row, col++);
215 pRect->row = y;
237 int j, row; local
253 row = pDstRect->row;
258 pSrcRect2 ? pSrcRect2->format : 0, row, pDstRect->col);
264 row
158 convertLine(void *pSrc, int incSrc, void *pDst, int incDst, int numSamples, ImageFormat * srcFormat, ImageFormat * dstFormat, int doAlpha, void *pSrc2, int incSrc2, ImageFormat * srcFormat2, int row, int col) argument
275 int j, row; local
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DConnectDialog.java347 int row = vmTable.getSelectedRow();
348 if (row >= 0) {
349 jConsole.addVmid(vmModel.vmAt(row));
416 public TableCellRenderer getCellRenderer(int row, int column) { argument
422 int row,
426 hasFocus, row, column);
429 LocalVirtualMachine lvm = vmModel.vmAt(row);
491 int row = vmTable.getSelectedRow();
492 if (row >= 0) {
493 LocalVirtualMachine lvm = vmModel.vmAt(row);
663 getValueAt(int row, int col) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultRowSorter.java341 * example, assume a table row sorter is created and
926 * Returns true if the specified row should be included.
928 private boolean include(int row) { argument
931 return filter.include(getFilterEntry(row));
933 // null filter, always include the row.
1167 // This row was filtered out
1175 // This row was visible, make sure it should still be
1279 * @param row the row index
1285 public abstract Object getValueAt(int row, in argument
1300 getStringValueAt(int row, int column) argument
1323 getIdentifier(int row) argument
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DmethodDataOop.cpp188 for (uint row = 0; row < row_limit(); row++) {
189 if (receiver(row) != NULL) {
190 oop* adr = adr_receiver(row);
210 for (uint row = 0; row < row_limit(); row++) {
211 if (receiver(row) != NULL) {
212 oop* adr = adr_receiver(row);
278 uint row; local
356 uint row; local
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A DparseHelper.cpp539 uint row; local
541 for (row = 0; row < ret_data->row_limit(); row++) {
542 int key = ret_data->bci(row);
547 if (row >= ret_data->row_limit()) {
556 increment_md_counter_at(md, data, RetData::bci_count_offset(row));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/util/
H A DSchemaTreeTraverser.java344 boolean selected, boolean expanded, boolean leaf, int row,
343 getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) argument
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djquant1.c116 * We can get away with a single array (holding one row's worth of errors)
117 * by using it to store the current row's errors at pixel columns not yet
118 * processed, but the next row's errors at columns already processed. We
163 int row_index; /* cur row's vertical index in dither matrix */
168 boolean on_odd_row; /* flag to remember which row we are on */
296 /* The colors are ordered in the map in standard row-major order, */
471 int row; local
476 for (row = 0; row < num_rows; row
501 int row; local
531 int row; local
584 int row; local
634 int row; local
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXMBeanAttributes.java123 int row, int column) {
127 if(row >= getRowCount())
130 return super.prepareRenderer(renderer, row, column);
133 void updateRowHeight(Object obj, int row) { argument
138 setRowHeight(row, cell.getHeight());
141 setRowHeight(row, rowMinHeight);
144 setRowHeight(row, rowMinHeight);
148 public synchronized TableCellRenderer getCellRenderer(int row, argument
153 if (row >= getRowCount()) {
157 Object obj = getModel().getValueAt(row, colum
122 prepareRenderer(TableCellRenderer renderer, int row, int column) argument
213 editCellAt(final int row, final int column, EventObject e) argument
233 isCellEditable(int row, int col) argument
248 setValueAt(Object value, int row, int column) argument
265 setTableValue(Object value, int row) argument
277 getClassName(int row) argument
288 getValueName(int row) argument
298 getValue(int row) argument
306 getToolTip(int row, int column) argument
332 isWritable(int row) argument
351 isReadable(int row) argument
361 isCellError(int row, int col) argument
366 isAttributeViewable(int row, int col) argument
571 updateZoomedCell(int row, int col) argument
817 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
878 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
[all...]
H A DXMBeanNotifications.java118 public boolean isCellEditable(int row, int col) { argument
119 UserDataCell cell = getUserDataCell(row, col);
128 public void setValueAt(Object value, int row, int column) { argument
134 TableCellRenderer renderer, int row, int column) {
138 if (row >= getRowCount()) {
142 Component comp = super.prepareRenderer(renderer, row, column);
148 UserDataCell cell = getUserDataCell(row, 2);
153 if (getRowHeight(row) != size) {
154 setRowHeight(row, size);
166 public synchronized TableCellRenderer getCellRenderer(int row, in argument
133 prepareRenderer( TableCellRenderer renderer, int row, int column) argument
201 getUserDataCell(int row, int column) argument
394 updateUserDataCell(int row, int col) argument
432 getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
550 getTableCellEditorComponent( JTable table, Object value, boolean isSelected, int row, int column) argument
[all...]
H A DXOpenTypeViewer.java84 int row = XOpenTypeViewer.this.current.getSelectedRow();
87 XOpenTypeViewer.this.current.getModel().getValueAt(row, col);
124 public String getToolTip(int row, int col) { argument
126 Object value = getModel().getValueAt(row, col);
138 public TableCellRenderer getCellRenderer(int row, int column) { argument
140 (DefaultTableCellRenderer)super.getCellRenderer(row,column);
141 tcr.setToolTipText(getToolTip(row,column));
150 int row, int column) {
151 Component comp = super.prepareRenderer(renderer, row, column);
158 Object o = ((DefaultTableModel) getModel()).getValueAt(row, colum
149 prepareRenderer(TableCellRenderer renderer, int row, int column) argument
237 setValueAt(Object value, int row, int col) argument
[all...]
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/
H A DSpreadSheet.java229 if (cells[n.row][n.column] == null) {
232 //System.out.println("=>" + cells[n.row][n.column].value);
233 return cells[n.row][n.column].value;
603 int row;
656 row = Float.valueOf(restFormula.substring(0, i)).intValue();
657 //System.out.println("row = " + row + " column = " + column);
658 node.row = row - 1;
769 int row; field in class:Node
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DTableView.java58 * Creates a new table row.
61 * @return the row
118 * Fetches the span (height) of the given row.
120 public int getRowSpan(int row) { argument
121 RowView rv = getRow(row);
128 RowView getRow(int row) { argument
129 if (row < rows.size()) {
130 return rows.elementAt(row);
188 // fall through to one row
260 * for multi-column, multi-row, an
348 addFill(int row, int col) argument
1287 private int row; field in class:TableView.RowIterator
[all...]

Completed in 93 milliseconds

12345