/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | OldJTable.java | 177 public boolean editColumnRow(Object identifier, int row) { argument 178 return super.editCellAt(row, getColumnIndex(identifier));
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | PiscesCache.java | 39 // rowAARLE[i] holds the encoding of the pixel row with y = bboxY0+i. 41 // where x0 is the first x in row i with nonzero alpha, and n is the 42 // number of RLE entries in this row. rowAARLE[i][j,j+1] for j>1 is 49 // the row terminated). x0,y0 is this (x,y)-(bboxX0,bboxY0). They 85 // the x and y of the current row, minus bboxX0, bboxY0 135 // this should be a new, uninitialized row. 162 private void addTupleToRow(int row, int a, int b) { argument 163 int end = rowAARLE[row][1]; 164 rowAARLE[row] = Helpers.widenArray(rowAARLE[row], en [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/opti/ |
H A D | ElementImpl.java | 40 int row; field in class:ElementImpl 51 row = -1; 69 row = -1; 94 return schemaDOM.relations[row][0]; 137 return schemaDOM.relations[row][col-1]; 142 if (col == schemaDOM.relations[row].length-1) { 145 return schemaDOM.relations[row][col+1];
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | JavaThreadsPanel.java | 147 // A listener is added to listen to changes in row selection 192 int row = threadTable.getSelectedRow(); 193 if (row >= 0) { 194 threadInfo.setJavaThread(dataModel.getJavaThread(row)); 275 public Object getValueAt(int row, int col) { argument 276 CachedThread thread = getRow(row); 283 throw new RuntimeException("Index (" + col + ", " + row + ") out of bounds"); 288 * Returns the selected Java Thread indexed by the row or null. 294 private CachedThread getRow(int row) { argument 295 return (CachedThread)elements.get(row); [all...] |
H A D | ObjectHistogramPanel.java | 190 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 D | MemoryPanel.java | 48 // Includes any partially-visible row at the bottom 52 // Multi-row (and multi-column) selection. Have to duplicate state 103 public Object getValueAt(int row, int column) { 105 case 0: return bigIntToHexString(startVal.add(new BigInteger(Integer.toString((row * addressSize))))); 108 Address addr = bigIntToAddress(startVal.add(new BigInteger(Integer.toString((row * addressSize))))); 120 public boolean isCellEditable(int row, int col) { 242 int row = table.getSelectedRow(); 243 if (row >= numUsableRows) { 245 table.setRowSelectionInterval(row, row); 627 setAnchor(int row, int col) argument 632 setLead(int row, int col) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | DefaultSwatchChooserPanel.java | 361 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...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTreeUI.java | 144 protected boolean isLocationInExpandControl(int row, int rowLevel, argument 146 if(tree != null && !isLeaf(row)) { 217 TreePath path, int row, 223 path, row, isExpanded, 215 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/table/ |
H A D | DefaultTableModel.java | 167 * the row index and the second is the column index. 182 * each a single row of values. In other words, to get to the cell 183 * at row 1, column 5: <p> 204 * Each row is represented in <code>dataVector</code> as a 208 * mapped to column 0 in <code>dataVector</code>. Each row in 232 * array is the row index and the second is the column index. 343 * Adds a row to the end of the model. The new row will contain 345 * Notification of the row being added will be generated. 347 * @param rowData optional data of the row bein 373 insertRow(int row, Vector rowData) argument 388 insertRow(int row, Object[] rowData) argument 462 removeRow(int row) argument 634 isCellEditable(int row, int column) argument 648 getValueAt(int row, int column) argument 664 setValueAt(Object aValue, int row, int column) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | TableView.java | 40 * elements of the row elements are cells. The cell elements can 84 * Creates a new table row. 87 * @return the row 130 * Fetches the span (height) of the given row. 132 int getRowSpan(int row) { argument 133 View rv = getRow(row); 140 TableRow getRow(int row) { argument 141 if (row < rows.size()) { 142 return rows.elementAt(row); 180 // fall through to one row 281 addFill(int row, int col) argument 621 setRow(int row) argument 791 int row; field in class:TableView.TableRow 839 setGridLocation(int row, int col) argument 858 int row; field in class:TableView.TableCell 877 setGridLocation(int row, int col) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | AbstractLayoutCache.java | 63 * Height to use for each row. If this is <= 0 the renderer will be 64 * used to determine the height for each row. 137 * queried for each row's height. 149 * Returns the height of each row. If the returned value is less than 150 * or equal to 0 the height for each row is determined by the 265 * Returns true if the value identified by row is currently expanded. 280 * Returns the path for passed in row. If row is not visible 283 * @param row the row bein 286 getPathForRow(int row) argument 486 getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle placeIn) argument 526 getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds) argument [all...] |
H A D | TreeSelectionModel.java | 83 * row is then the row that corresponds to the TreePath as determined 217 * the row for a particular TreePath. 223 * row. 249 * Returns true if the row identified by <code>row</code> is selected. 251 boolean isRowSelected(int row); argument
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsTableHeaderUI.java | 85 int row, int column) { 87 hasFocus, row, column); 83 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/ |
H A D | SnmpTableSupport.java | 256 * Builds an entry SnmpIndex from its row OID. 322 * @param row The row OID of the new entry 329 public void addEntryCb(int pos, SnmpOid row, ObjectName name, argument 347 * @param row The row OID of the deleted entry 355 public void removeEntryCb(int pos, SnmpOid row, ObjectName name, argument
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11FontScaler_md.c | 96 int row; local 100 for (row = 0; row < height; ++row) { 102 int pixel = ximage->f.get_pixel(ximage, column, row);
|
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/ |
H A D | NoEventsTest.java | 178 public NoEventsTest(int row, int col, boolean focusable, boolean resizable) { argument 179 super("Frame" + row + "" + col); 180 TestPanel panel = new TestPanel(row, col); 182 row = NoEventsTest.DEF_ROW; 191 setBounds(NoEventsTest.DEF_LEFT + DEF_WIDTH*col, DEF_TOP + DEF_HEIGHT*row, DEF_WIDTH, DEF_HEIGHT); 202 public TestWindow(int row, int col, boolean focusable, Frame owner) { argument 204 setName("Window" + row + "" + col); 205 TestPanel panel = new TestPanel(row, col); 207 row = NoEventsTest.DEF_ROW; 217 setBounds(NoEventsTest.DEF_LEFT + NoEventsTest.DEF_WIDTH*col, NoEventsTest.DEF_TOP + NoEventsTest.DEF_HEIGHT*row, NoEventsTes 225 TestDialog(int row, int col, boolean focusable, boolean resizable, Frame owner) argument 280 TestPanel(int row, int col) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jcdctmgr.c | 97 * coefficients scaled by scalefactor[row]*scalefactor[col], where 135 * coefficients scaled by scalefactor[row]*scalefactor[col], where 143 int row, col; local 156 for (row = 0; row < DCTSIZE; row++) { 160 aanscalefactor[row] * aanscalefactor[col] * 8.0)));
|
H A D | jcsample.c | 14 * Downsampling input data is counted in "row groups". A row group 17 * A single row group is processed in each call to the downsampler module. 27 * one row group's worth of pixels above and below the passed-in data; 29 * the first or last real pixel row. 97 int row; local 101 for (row = 0; row < num_rows; row++) { 102 ptr = image_data[row] [all...] |
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngread.c | 439 " row buffer not reallocated"); 467 " row buffer not reallocated"); 473 png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row) argument 486 png_debug2(1, "in png_read_row (row %lu, pass %d)", 533 /* If interlaced and we do not need a new row, combine row and return */ 621 png_error(png_ptr, "Invalid attempt to read row data"); 712 if (row != NULL) 713 png_combine_row(png_ptr, row, png_pass_mask[png_ptr->pass]); 719 if (row ! 758 png_read_rows(png_structp png_ptr, png_bytepp row, png_bytepp display_row, png_uint_32 num_rows) argument 1303 int row; local [all...] |
H A D | pngtrans.c | 25 /* pngtrans.c - transforms the data in a row (used by both readers and writers) 238 png_do_invert(png_row_infop row_info, png_bytep row) argument 247 png_bytep rp = row; 261 png_bytep rp = row; 276 png_bytep rp = row; 295 png_do_swap(png_row_infop row_info, png_bytep row) argument 301 png_bytep rp = row; 424 png_do_packswap(png_row_infop row_info, png_bytep row) argument 433 end = row + row_info->rowbytes; 447 for (rp = row; r 464 png_do_strip_channel(png_row_infop row_info, png_bytep row, int at_start) argument 574 png_do_bgr(png_row_infop row_info, png_bytep row) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gfx.h | 87 int row, col, jump; // dithering indexes member in struct:ImageRect 133 void *pSrc2, int incSrc2, ImageFormat * srcFormat2, int row, int col);
|
H A D | splashscreen_gfx_impl.h | 73 ditherColor(rgbquad_t value, ImageFormat * format, int row, int col) argument 80 format->dithers[0].matrix[col & DITHER_MASK][row & DITHER_MASK]]; 82 format->dithers[1].matrix[col & DITHER_MASK][row & DITHER_MASK]]; 84 format->dithers[2].matrix[col & DITHER_MASK][row & DITHER_MASK]]; 140 int row, int col) 146 value = format->colorIndex[ditherColor(value, format, row, col)]; 284 ImageFormat * dstFormat, int row, int col) 289 putRGBADither(color, pDst, dstFormat, row, col++); 139 putRGBADither(rgbquad_t value, void *ptr, ImageFormat * format, int row, int col) argument 283 fillLine(rgbquad_t color, void *pDst, int incDst, int n, ImageFormat * dstFormat, int row, int col) argument
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | TableSorter.java | 122 // 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 (Vector) 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];
|
H A D | XMBeanInfo.java | 61 public void setValueAt(Object value, int row, int col) { argument 87 boolean hasFocus, int row, int column) { 89 table, value, isSelected, hasFocus, row, column); 113 int row, int column) { 115 table, value, isSelected, row, column); 85 getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument 111 getTableCellEditorComponent( JTable table, Object value, boolean isSelected, int row, int column) argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | RegionClipSpanIterator.java | 49 * row The start of the current band of the RegionIterator 50 * box The current span of the current row 53 * three producers to get the next span, row and box calling each other 67 RegionIterator row; field in class:RegionClipSpanIterator 133 row = lwm.createCopy(); 134 box = row.createCopy(); 226 // Skip to the first rgn row whose bottom edge is 229 // lower region row than the previous one, or possibly the 237 // If the row overlaps the span, process it, otherwise 240 // Update the current row i [all...] |