Searched defs:column (Results 26 - 50 of 86) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/java/sql/
H A DResultSetMetaData.java33 * to find out how many columns rs has and whether the first column in rs
56 * Indicates whether the designated column is automatically numbered.
58 * @param column the first column is 1, the second is 2, ...
62 boolean isAutoIncrement(int column) throws SQLException; argument
65 * Indicates whether a column's case matters.
67 * @param column the first column is 1, the second is 2, ...
71 boolean isCaseSensitive(int column) throws SQLException; argument
74 * Indicates whether the designated column ca
80 isSearchable(int column) argument
89 isCurrency(int column) argument
99 isNullable(int column) argument
126 isSigned(int column) argument
136 getColumnDisplaySize(int column) argument
149 getColumnLabel(int column) argument
158 getColumnName(int column) argument
167 getSchemaName(int column) argument
181 getPrecision(int column) argument
191 getScale(int column) argument
200 getTableName(int column) argument
210 getCatalogName(int column) argument
220 getColumnType(int column) argument
230 getColumnTypeName(int column) argument
239 isReadOnly(int column) argument
248 isWritable(int column) argument
257 isDefinitelyWritable(int column) argument
276 getColumnClassName(int column) argument
[all...]
/openjdk7/hotspot/test/compiler/5091921/
H A DTest6890943.java137 private int fall(int row, int column) { argument
140 if (grid[p][column] == AIR) res++;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXTextFieldEditor.java140 int column) {
136 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
H A DXTable.java63 * @param column the column against which the rows are sorted
65 void sortRequested(int column) { argument
95 public abstract boolean isColumnEditable(int column); argument
126 public String getToolTip(int row, int column) { argument
135 public TableCellRenderer getCellRenderer(int row, int column) { argument
137 (DefaultTableCellRenderer) super.getCellRenderer(row,column);
138 tcr.setToolTipText(getToolTip(row,column));
148 if (column != VALUE_COLUMN) {
152 if (isCellError(row,column)) {
163 prepareRenderer(TableCellRenderer renderer, int row, int column) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DJDBCAdapter.java97 // Get the column names and cache them.
99 for (int column = 0; column < numberOfColumns; column++) {
100 columnNames[column] = metaData.getColumnLabel(column + 1);
141 public String getColumnName(int column) { argument
142 if (columnNames[column] != null) {
143 return columnNames[column];
150 public Class<?> getColumnClass(int column) { argument
188 isCellEditable(int row, int column) argument
210 dbRepresentation(int column, Object value) argument
239 setValueAt(Object value, int row, int column) argument
[all...]
H A DTableSorter.java93 public int compareRowsByColumn(int row1, int row2, int column) { argument
94 Class type = model.getColumnClass(column);
99 Object o1 = data.getValueAt(row1, column);
100 Object o2 = data.getValueAt(row2, column);
118 Number n1 = (Number) data.getValueAt(row1, column);
120 Number n2 = (Number) data.getValueAt(row2, column);
131 Date d1 = (Date) data.getValueAt(row1, column);
133 Date d2 = (Date) data.getValueAt(row2, column);
144 String s1 = (String) data.getValueAt(row1, column);
145 String s2 = (String) data.getValueAt(row2, column);
314 sortByColumn(int column) argument
318 sortByColumn(int column, boolean ascending) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DSimpleLocator.java35 int line, column; field in class:SimpleLocator
41 public SimpleLocator(String lsid, String esid, int line, int column) { argument
42 this(lsid, esid, line, column, -1);
45 public void setValues(String lsid, String esid, int line, int column) { argument
46 setValues(lsid, esid, line, column, -1);
49 public SimpleLocator(String lsid, String esid, int line, int column, int offset) { argument
51 this.column = column;
57 public void setValues(String lsid, String esid, int line, int column, int offset) { argument
59 this.column
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DSPARCDisassembler.java65 // op3 opcodes is broken up into column and row. MSB 2 bits form column.
76 protected abstract InstructionDecoder getFormat3Decoder(int row, int column); argument
82 int column = getOp3Column(op3);
83 return getFormat3Decoder(row, column).decode(instruction, factory);
86 protected abstract InstructionDecoder getFormat3ADecoder(int row, int column); argument
92 int column = getOp3Column(op3);
93 return getFormat3ADecoder(row, column).decode(instruction, factory);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DObjectListPanel.java239 * column.
242 * @param column the column to retrieve
244 public Object getValueForColumn(Object obj, int column) { argument
246 return omodel.getValueForColumn((Oop) obj, column);
H A DObjectHistogramPanel.java134 TableColumn column;
137 column = new TableColumn(0, PREF_WIDTH);
138 column.setHeaderValue(LABEL_SIZE);
139 column.setMaxWidth(MAX_WIDTH);
140 column.setResizable(false);
141 column.setCellRenderer(lcRender);
142 addColumn(column);
145 column = new TableColumn(1, PREF_WIDTH);
146 column.setHeaderValue(LABEL_COUNT);
147 column
225 getValueForColumn(Object obj, int column) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/treetable/
H A DAbstractTreeTableModel.java184 public Class getColumnClass(int column) { return Object.class; } argument
186 /** By default, make the column with the Tree in it the only editable one.
187 * Making this column editable causes the JTable to forward mouse
188 * and keyboard events in the Tree column to the underlying JTree.
190 public boolean isCellEditable(Object node, int column) { argument
191 return getColumnClass(column) == TreeTableModel.class;
194 public void setValueAt(Object aValue, Object node, int column) {} argument
203 * public String getColumnName(Object node, int column)
204 * public Object getValueAt(Object node, int column)
/openjdk7/jdk/src/share/classes/javax/swing/
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
H A DRowSorter.java47 * the user clicked a column header in a table.
112 * Reverses the sort order of the specified column. It is up to
115 * descending to ascending) if the specified column is already the
116 * primary sorted column; otherwise, makes the specified column
117 * the primary sorted column, with an ascending sort order. If
118 * the specified column is not sortable, this method has no
125 * @param column the column to toggle the sort ordering of, in
127 * @throws IndexOutOfBoundsException if column i
130 toggleSortOrder(int column) argument
293 rowsUpdated(int firstRow, int endRow, int column) argument
354 private int column; field in class:RowSorter.SortKey
366 SortKey(int column, SortOrder sortOrder) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
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 DAbstractTableModel.java45 * public Object getValueAt(int row, int column);
74 * Returns a default name for the column using spreadsheet conventions:
75 * A, B, C, ... Z, AA, AB, etc. If <code>column</code> cannot be found,
78 * @param column the column being queried
79 * @return a string containing the default name of <code>column</code>
81 public String getColumnName(int column) { argument
83 for (; column >= 0; column = column / 2
274 fireTableCellUpdated(int row, int column) argument
[all...]
H A DDefaultTableCellRenderer.java179 * <code>[row, column]</code>
183 * @param column the column of the cell to render
188 boolean isSelected, boolean hasFocus, int row, int column) {
201 && dropLocation.getColumn() == column) {
242 if (!isSelected && table.isCellEditable(row, column)) {
187 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
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...]
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...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTableHeaderUI.java115 public Component getTableCellRendererComponent(final JTable localTable, final Object value, final boolean isSelected, final boolean hasFocus, final int row, final int column) { argument
129 final boolean thisColumnSelected = localTable.getColumnModel().getColumn(column).getModelIndex() == sortColumn;
152 protected static AquaTableHeaderBorder getAquaBorderFrom(final JTableHeader header, final TableColumn column) { argument
153 final TableCellRenderer renderer = column.getHeaderRenderer();
156 final Component c = renderer.getTableCellRendererComponent(header.getTable(), column.getHeaderValue(), false, false, -1, column.getModelIndex());
180 for (int column = 0; column < columnModel.getColumnCount(); column++) {
181 final TableColumn aColumn = columnModel.getColumn(column);
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DPosition.java35 * Support is also provided for (line,column) coordinates, but tab
62 /** A two-way map between line/column numbers and positions,
81 /** Encode line and column numbers in an integer as:
82 * line-number << LINESHIFT + column-number
88 * if the line or column number is too big to
96 throw new IllegalArgumentException("column must be greater than 0");
115 /** Find the position corresponding to a (line,column).
118 * @param column number of character on line (first is 1)
125 int getPosition(int line, int column); argument
135 /** Find the column fo
181 getPosition(int line, int column) argument
185 getPosition(long line, long column) argument
268 getPosition(int line, int column) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/table/
H A DDefaultTableCellHeaderRenderer.java58 boolean isSelected, boolean hasFocus, int row, int column) {
92 SortOrder sortOrder = getColumnSortOrder(table, column);
128 public static SortOrder getColumnSortOrder(JTable table, int column) { argument
136 table.convertColumnIndexToModel(column)) {
148 //aligned, or if the column is too narrow, then the text will
57 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/opti/
H A DElementImpl.java45 int column; field in class:ElementImpl
50 public ElementImpl(int line, int column, int offset) { argument
57 this.column = column;
61 public ElementImpl(int line, int column) { argument
62 this(line, column, -1);
67 String uri, int line, int column, int offset) {
74 this.column = column;
79 String uri, int line, int column) {
66 ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column, int offset) argument
78 ElementImpl(String prefix, String localpart, String rawname, String uri, int line, int column) argument
[all...]
H A DSchemaDOM.java67 int line, int column, int offset) {
68 ElementImpl node = new ElementImpl(line, column, offset);
76 int line, int column, int offset) {
77 ElementImpl node = new ElementImpl(line, column, offset);
83 int line, int column) {
84 return startElement(element, attributes, line, column, -1);
88 int line, int column) {
89 return emptyElement(element, attributes, line, column, -1);
66 startElement(QName element, XMLAttributes attributes, int line, int column, int offset) argument
75 emptyElement(QName element, XMLAttributes attributes, int line, int column, int offset) argument
82 startElement(QName element, XMLAttributes attributes, int line, int column) argument
87 emptyElement(QName element, XMLAttributes attributes, int line, int column) argument
/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/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...]

Completed in 92 milliseconds

1234