/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTableUI.java | 359 // Replace this with the index of the last column. 534 for (int column = cMin; column <= cMax; column++) { 535 int w = cm.getColumn(column).getWidth(); 542 for (int column = cMax; column >= cMin; column--) { 543 int w = cm.getColumn(column).getWidth(); 554 for (int column 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 D | SynthTableHeaderUI.java | 229 int row, int column) { 231 boolean hasRollover = (column == getRolloverColumn()); 246 table.convertColumnIndexToModel(column)) { 265 hasFocus, row, column); 226 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/table/ |
H A D | DefaultTableColumnModel.java | 40 * The standard column-handler for a <code>JTable</code>. 65 /** Model for keeping track of column selections */ 68 /** Width margin between each column */ 77 /** Column selection allowed in this column model */ 87 * Creates a default table column model. 130 * Deletes the <code>column</code> from the 132 * <code>column</code> is not in the table's columns list. 138 * @param column the <code>TableColumn</code> to be removed 141 public void removeColumn(TableColumn column) { argument 142 int columnIndex = tableColumns.indexOf(column); [all...] |
H A D | TableColumnModel.java | 35 * Defines the requirements for a table column model object suitable for 60 * Deletes the <code>TableColumn</code> <code>column</code> from the 62 * <code>column</code> is not in the table's column list. 66 * @param column the <code>TableColumn</code> to be removed 69 public void removeColumn(TableColumn column); argument 72 * Moves the column and its header at <code>columnIndex</code> to 73 * <code>newIndex</code>. The old column at <code>columnIndex</code> 74 * will now be found at <code>newIndex</code>. The column that used 80 * @param columnIndex the index of column t [all...] |
/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | TableMap.java | 102 public boolean isCellEditable(int row, int column) { argument 103 return model.isCellEditable(row, column);
|
H A D | TableExample4.java | 55 * Another JTable example, showing how column attributes can be refined 121 public String getColumnName(int column) { 122 return names[column]; 136 public void setValueAt(Object aValue, int row, int column) { 138 data[row][column] = aValue; 144 // Turn off auto-resizing so that we can set column sizes 160 // Use the combo box as the editor in the "Favorite Color" column. 163 // Set a pink background and tooltip for the Color column renderer. 170 // Set a tooltip for the header of the colors column. 177 // Set the width of the "Vegetarian" column [all...] |
/openjdk7/jdk/src/windows/classes/sun/security/krb5/internal/tools/ |
H A D | Ktab.java | 310 int column = 0; 311 output[0][column++] = "KVNO"; 312 if (showTime) output[0][column++] = "Timestamp"; 313 output[0][column++] = "Principal"; 315 column = 0; 316 output[i+1][column++] = entries[i].getKey(). 318 if (showTime) output[i+1][column++] = 325 output[i+1][column++] = princ + " (" + e + ":" + 328 output[i+1][column++] = princ; 331 int[] width = new int[column]; [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | DiagnosticSource.java | 87 /** Return the one-based column number associated with a given pos 88 * for the current source file. Zero is returned if no column exists 94 int column = 0; 100 column = (column / TabInc * TabInc) + TabInc; 102 column++; 105 return column + 1; // positions are one-based
|
/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | UCharacterProperty.java | 172 * @param column 175 public int getAdditional(int codepoint, int column) { argument 176 if (column == -1) { 179 if (column < 0 || column >= m_additionalColumnsCount_) { 183 m_additionalTrie_.getCodePointValue(codepoint) + column]; 265 * Extra property vectors, 1st column for age and second for binary
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | JavaThreadsPanel.java | 234 TableColumn column; 237 column = new TableColumn(0, MAX_WIDTH); 238 column.setHeaderValue(columnNames[0]); 239 column.setMaxWidth(MAX_WIDTH); 240 column.setResizable(false); 241 addColumn(column); 244 column = new TableColumn(1, HUGE_WIDTH); 245 column.setHeaderValue(columnNames[1]); 246 column.setResizable(false); 247 addColumn(column); [all...] |
H A D | ProcessListPanel.java | 95 int column = table.convertColumnIndexToModel(viewColumn); 96 if (column != -1) { 97 boolean newSortByName = (column == 0);
|
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | DefaultSwatchChooserPanel.java | 363 for (int column = 0; column < numSwatches.width; column++) { 364 Color c = getColorForCell(column, row); 368 x = (numSwatches.width - column - 1) * (swatchSize.width + gap.width); 370 x = column * (swatchSize.width + gap.width); 377 if (selRow == row && selCol == column && this.isFocusOwner()) { 421 int column; 423 column = numSwatches.width - x / (swatchSize.width + gap.width) - 1; 425 column 431 getColorForCell( int column, int row) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JTable.java | 133 * the column and row indexes returned by various <code>JTable</code> methods 141 * internally and converts its column indices before querying the model. 143 * So, when writing a <code>TableModel</code>, it is not necessary to listen for column 234 /** Do not adjust column widths automatically; use a horizontal scrollbar instead. */ 237 /** When a column is adjusted in the UI, adjust the next column the opposite way. */ 244 /** During all resize operations, apply adjustments to the last column only. */ 334 * If true, both a row selection and a column selection 336 * the cells whose row and column are both selected. 350 /** Identifies the column o 2336 isColumnSelected(int column) argument 2350 isCellSelected(int row, int column) argument 2684 getColumnName(int column) argument 2696 getColumnClass(int column) argument 2715 getValueAt(int row, int column) argument 2739 setValueAt(Object aValue, int row, int column) argument 2763 isCellEditable(int row, int column) argument 2828 moveColumn(int column, int targetColumn) argument 2924 getCellRect(int row, int column, boolean includeSpacing) argument 3468 editCellAt(int row, int column) argument 3489 editCellAt(int row, int column, EventObject e) argument 5398 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument 5480 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument 5678 getCellRenderer(int row, int column) argument 5713 prepareRenderer(TableCellRenderer renderer, int row, int column) argument 5757 getCellEditor(int row, int column) argument 5783 prepareEditor(TableCellEditor editor, int row, int column) argument 7549 getAccessibleAt(int row, int column) argument 7910 private int column; field in class:JTable.AccessibleJTable.AccessibleJTableCell 8738 private int column; field in class:JTable.AccessibleJTable.AccessibleJTableHeaderCell 8750 AccessibleJTableHeaderCell(int row, int column, JTableHeader parent, Component rendererComponent) argument [all...] |
H A D | DefaultCellEditor.java | 267 int row, int column) { 276 TableCellRenderer renderer = table.getCellRenderer(row, column); 278 isSelected, true, row, column); 265 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/ |
H A D | LongCellRenderer.java | 42 int row, int column) { 40 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
|
/openjdk7/jdk/test/java/lang/instrument/BootClassPath/ |
H A D | Setup.java | 163 int column; 165 column = 2; 167 column = 1; 171 return names[i][column];
|
/openjdk7/jdk/test/tools/launcher/ |
H A D | UnicodeTest.java | 135 int column; 137 column = 2; 139 column = 1; 143 return names[i][column];
|
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/ |
H A D | SourcePositionImpl.java | 91 public int column() { method in class:SourcePositionImpl
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | XMBeanNotifications.java | 128 public void setValueAt(Object value, int row, int column) { argument 134 TableCellRenderer renderer, int row, int column) { 142 Component comp = super.prepareRenderer(renderer, row, column); 149 if (column == 2 && cell != null) { 166 public synchronized TableCellRenderer getCellRenderer(int row, int column) { argument 176 UserDataCell cell = getUserDataCell(row, column); 181 (DefaultTableCellRenderer) super.getCellRenderer(row, column); 189 ((DefaultTableModel) getModel()).getValueAt(row, column); 201 private UserDataCell getUserDataCell(int row, int column) { argument 202 Object obj = ((DefaultTableModel) getModel()).getValueAt(row, column); 133 prepareRenderer( TableCellRenderer renderer, int row, int column) 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...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/ |
H A D | SimpleCharStream.java | 44 protected int column = 0; field in class:SimpleCharStream 167 column++; 172 line += (column = 1); 182 line += (column = 1); 194 column--; 195 column += (tabSize - (column % tabSize)); 202 bufcolumn[bufpos] = column; 272 column = startcolumn - 1; 295 column [all...] |
/openjdk7/jdk/src/share/classes/javax/sql/rowset/ |
H A D | CachedRowSet.java | 148 * object, demonstrate how to iterate through the rows, retrieving the column 150 * getter methods that take a column number; the second example 151 * uses the version that takes a column name. Column numbers are generally 153 * is of the form <code>SELECT * FROM TABLENAME</code>; column names are most 185 * the third line gets the JDBC type of values stored in the second column of 201 * object. For example, methods retrieving whether a column value is writable 220 * the code required to update two column values in the current row and also 233 * either a column index or a column name to designate the column bein 1040 toCollection(int column) argument 1069 toCollection(String column) argument [all...] |
/openjdk7/jdk/test/javax/swing/JTable/7068740/ |
H A D | bug7068740.java | 63 public Object getValueAt(int row, int column) { 64 return "(" + row + "," + column + ")";
|
/openjdk7/langtools/test/tools/javadoc/T4994049/ |
H A D | T4994049.java | 27 * @summary Unit test for SourcePosition.column with respect to tab expansion 42 if (method.position().column() == 21) { 43 System.out.println(method.position().column() + ": OK!");
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ |
H A D | DTMException.java | 229 int column = locator.getColumnNumber(); 241 if (0 != column) { 243 sbuffer.append(column); 262 int column = locator.getColumnNumber(); 274 if (0 != column) { 276 sbuffer.append(column);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/treetable/ |
H A D | JTreeTable.java | 42 * particular column in the JTable. 162 * if the receiver is editing a Tree column, the editors bounds is 198 * the column contains the tree. This is done as the tree editor does 202 public boolean editCellAt(int row, int column, EventObject e){ argument 203 boolean retValue = super.editCellAt(row, column, e); 204 if (retValue && getColumnClass(column) == TreeTableModel.class) { 205 repaint(getCellRect(row, column, false)); 302 int row, int column) { 315 if (realEditingRow() == row && getEditingColumn() == column) { 322 if (isCellEditable(row, column)) { 298 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument [all...] |