Searched refs:column (Results 51 - 75 of 120) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTableUI.java359 // 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 DSynthTableHeaderUI.java229 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 DDefaultTableColumnModel.java40 * 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 DTableColumnModel.java35 * 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 DTableMap.java102 public boolean isCellEditable(int row, int column) { argument
103 return model.isCellEditable(row, column);
H A DTableExample4.java55 * 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 DKtab.java310 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 DDiagnosticSource.java87 /** 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 DUCharacterProperty.java172 * @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 DJavaThreadsPanel.java234 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 DProcessListPanel.java95 int column = table.convertColumnIndexToModel(viewColumn);
96 if (column != -1) {
97 boolean newSortByName = (column == 0);
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DDefaultSwatchChooserPanel.java363 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 DJTable.java133 * 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 DDefaultCellEditor.java267 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 DLongCellRenderer.java42 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 DSetup.java163 int column;
165 column = 2;
167 column = 1;
171 return names[i][column];
/openjdk7/jdk/test/tools/launcher/
H A DUnicodeTest.java135 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 DSourcePositionImpl.java91 public int column() { method in class:SourcePositionImpl
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXMBeanNotifications.java128 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 DSimpleCharStream.java44 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 DCachedRowSet.java148 * 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 Dbug7068740.java63 public Object getValueAt(int row, int column) {
64 return "(" + row + "," + column + ")";
/openjdk7/langtools/test/tools/javadoc/T4994049/
H A DT4994049.java27 * @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 DDTMException.java229 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 DJTreeTable.java42 * 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...]

Completed in 130 milliseconds

12345