Searched refs:column (Results 1 - 25 of 157) sorted by relevance

1234567

/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DResultSetMetaData.java33 * to find out how many columns rs has and whether the first column in rs
58 * Indicates whether the designated column is automatically numbered.
60 * @param column the first column is 1, the second is 2, ...
64 boolean isAutoIncrement(int column) throws SQLException; argument
67 * Indicates whether a column's case matters.
69 * @param column the first column is 1, the second is 2, ...
73 boolean isCaseSensitive(int column) throws SQLException; argument
76 * Indicates whether the designated column ca
82 isSearchable(int column) argument
91 isCurrency(int column) argument
101 isNullable(int column) argument
128 isSigned(int column) argument
138 getColumnDisplaySize(int column) argument
151 getColumnLabel(int column) argument
160 getColumnName(int column) argument
169 getSchemaName(int column) argument
183 getPrecision(int column) argument
193 getScale(int column) argument
202 getTableName(int column) argument
212 getCatalogName(int column) argument
222 getColumnType(int column) argument
232 getColumnTypeName(int column) argument
241 isReadOnly(int column) argument
250 isWritable(int column) argument
259 isDefinitelyWritable(int column) argument
278 getColumnClassName(int column) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/treetable/
H A DSimpleTreeTableModel.java31 TreeTableModel interface. It supports a two-column "Name, Value"
32 interface and disabling of editing of the "Value" column. Because
34 "true" for isCellEditable of cells in the "Name" column;
45 public String getColumnName(int column) { argument
46 switch (column) {
49 default: throw new RuntimeException("Index " + column + " out of bounds");
52 public Class getColumnClass(int column) { argument
53 switch (column) {
56 default: throw new RuntimeException("Index " + column + " out of bounds");
59 public Object getValueAt(Object node, int column) { argument
67 isCellEditable(Object node, int column) argument
76 setValueAt(Object aValue, Object node, int column) argument
[all...]
H A DTreeTableModel.java32 * node in the TreeTableModel may have. Each column, like a column in
43 * Returns the number ofs availible column.
48 * Returns the name for column number <code>column</code>.
50 public String getColumnName(int column); argument
53 * Returns the type for column number <code>column</code>.
55 public Class getColumnClass(int column); argument
59 * at column numbe
61 getValueAt(Object node, int column) argument
67 isCellEditable(Object node, int column) argument
73 setValueAt(Object aValue, Object node, int column) argument
[all...]
H A DTreeTableModelAdapter.java95 public String getColumnName(int column) { argument
96 return treeTableModel.getColumnName(column);
99 public Class getColumnClass(int column) { argument
100 return treeTableModel.getColumnClass(column);
112 public Object getValueAt(int row, int column) { argument
113 return treeTableModel.getValueAt(nodeForRow(row), column);
116 public boolean isCellEditable(int row, int column) { argument
117 return treeTableModel.isCellEditable(nodeForRow(row), column);
120 public void setValueAt(Object value, int row, int column) { argument
121 treeTableModel.setValueAt(value, nodeForRow(row), column);
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/table/
H A DTableStringConverter.java41 * @param column the column the string is being requested for
47 public abstract String toString(TableModel model, int row, int column); argument
H A DTableCellRenderer.java48 * see if the given row and column represent the drop location:
55 * &amp;&amp; dropLocation.getColumn() == column) {
88 * @param column the column index of the cell being drawn
96 int row, int column);
94 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
H A DTableRowSorter.java43 * gesture, such as clicking on the column header, the table will
70 * chosen for a column:
72 * <li>If a <code>Comparator</code> has been specified for the column by the
74 * <li>If the column class as returned by <code>getColumnClass</code> is
77 * <li>If the column class implements <code>Comparable</code>, use a
103 * column, current sort order, and whether each column is sortable. The default
113 * <b>WARNING:</b> <code>DefaultTableModel</code> returns a column
116 * expensive. If the column only contains one type of value, such as
203 * column
216 getComparator(int column) argument
236 useToString(int column) argument
268 getValueAt(int row, int column) argument
272 getStringValueAt(int row, int column) argument
[all...]
H A DAbstractTableModel.java45 * public Object getValueAt(int row, int column);
75 * Returns a default name for the column using spreadsheet conventions:
76 * A, B, C, ... Z, AA, AB, etc. If <code>column</code> cannot be found,
79 * @param column the column being queried
80 * @return a string containing the default name of <code>column</code>
82 public String getColumnName(int column) { argument
84 for (; column >= 0; column = column / 2
275 fireTableCellUpdated(int row, int column) argument
[all...]
H A DTableCellEditor.java66 * @param column the column of the cell being edited
71 int row, int column);
69 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/
H A DSmartGridLayout.java71 for (int column = 0; column < columns; column++) {
72 columnWidths[column] = computeColumnWidth(column);
80 for (int column = 0; column < columns; column++) {
84 Component current = layoutGrid[column][row];
86 current.setBounds(horizLoc, vertLoc, columnWidths[column], rowHeight
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DSimpleLocator.java36 int line, column; field in class:SimpleLocator
42 public SimpleLocator(String lsid, String esid, int line, int column) { argument
43 this(lsid, esid, line, column, -1);
46 public void setValues(String lsid, String esid, int line, int column) { argument
47 setValues(lsid, esid, line, column, -1);
50 public SimpleLocator(String lsid, String esid, int line, int column, int offset) { argument
52 this.column = column;
58 public void setValues(String lsid, String esid, int line, int column, int offset) { argument
60 this.column
[all...]
/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/javadoc/
H A DSourcePosition.java32 * and column number.
58 /** The column in the source file. The first column is
59 * numbered 1; 0 means no column information is available.
61 * advances the column number to the next 8-column tab stop.
63 * @return the column on the source line as an integer.
65 int column(); method in interface:SourcePosition
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/tree/
H A DLineMap.java47 * Finds the position corresponding to a (line,column).
50 * @param column tab-expanded column number (beginning 1)
57 long getPosition(long line, long column); argument
69 * Finds the column for a character position.
71 * will be expanded when calculating the column number.
74 * @return the tab-expanded column number of pos (first column is 1)
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/drivers/
H A DTableDriver.java37 * @param column Cell column index.
39 public void selectCell(ComponentOperator oper, int row, int column); argument
46 * @param column Cell column index.
49 public void editCell(ComponentOperator oper, int row, int column, Object value); argument
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
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...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/event/
H A DTableModelEvent.java101 * The column for the event.
103 protected int column; field in class:TableModelEvent
115 * The structure of the table ie, the column names, types and order
154 * The cells in column <I>column</I> in the range
160 * @param column the column index of cells changed; {@code ALL_COLUMNS}
163 public TableModelEvent(TableModel source, int firstRow, int lastRow, int column) { argument
164 this(source, firstRow, lastRow, column, UPDATE);
168 * The cells from (firstRow, column) t
183 TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type) argument
[all...]
/openjdk10/jdk/src/demo/share/jfc/TableExample/
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...]
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...]
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DPosition.java38 * Support is also provided for (line,column) coordinates, but tab
65 /** A two-way map between line/column numbers and positions,
84 /** Encode line and column numbers in an integer as:
85 * {@code line-number << LINESHIFT + column-number }.
91 * if the line or column number is too big to
99 throw new IllegalArgumentException("column must be greater than 0");
118 /** Find the position corresponding to a (line,column).
121 * @param column number of character on line (first is 1)
128 int getPosition(int line, int column); argument
138 /** Find the column fo
185 getPosition(int line, int column) argument
190 getPosition(long line, long column) argument
275 getPosition(int line, int column) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/table/
H A DSortHeaderMouseAdapter.java38 * for mouse clicks on a column and sorts that column.
57 int column = table.convertColumnIndexToModel(viewColumn);
58 if (evt.getClickCount() == 1 && column != -1) {
60 model.sortByColumn(column, !model.isAscending());
H A DSortableTableModel.java35 * of the list may be sortable by column. The TableModelComparator
54 public void sortByColumn(int column, boolean ascending) { argument
55 comparator.addColumn(column);
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/
H A DXTable.java64 * @param column the column against which the rows are sorted
66 void sortRequested(int column) { argument
96 public abstract boolean isColumnEditable(int column); argument
127 public String getToolTip(int row, int column) { argument
136 public TableCellRenderer getCellRenderer(int row, int column) { argument
138 (DefaultTableCellRenderer) super.getCellRenderer(row,column);
139 tcr.setToolTipText(getToolTip(row,column));
149 if (column != VALUE_COLUMN) {
153 if (isCellError(row,column)) {
164 prepareRenderer(TableCellRenderer renderer, int row, int column) argument
[all...]
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/drivers/tables/
H A DJTableMouseDriver.java58 public void selectCell(ComponentOperator oper, int row, int column) { argument
59 clickOnCell((JTableOperator) oper, row, column, 1);
63 public void editCell(ComponentOperator oper, int row, int column, Object value) { argument
65 toper.scrollToCell(row, column);
68 || toper.getEditingColumn() != column) {
69 clickOnCell((JTableOperator) oper, row, column, 2);
88 * @param column Cell column index.
91 protected void clickOnCell(final JTableOperator oper, final int row, final int column, final int clickCount) { argument
95 Point point = oper.getPointToClick(row, column);
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/
H A DNashornException.java57 // script column number
58 private int column; field in class:NashornException
63 * Constructor to initialize error message, file name, line and column numbers.
68 * @param column column number
70 protected NashornException(final String msg, final String fileName, final int line, final int column) { argument
71 this(msg, null, fileName, line, column);
75 * Constructor to initialize error message, cause exception, file name, line and column numbers.
81 * @param column column numbe
83 NashornException(final String msg, final Throwable cause, final String fileName, final int line, final int column) argument
158 setColumnNumber(final int column) argument
[all...]
/openjdk10/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/
H A DPredicate.java97 * applications that use both column identification conventions.
131 * @param column a <code>int</code> object that must match the
132 * SQL index of a column in this <code>RowSet</code> object. This must
137 * @throws SQLException if the column is not part of filtering criteria
139 public boolean evaluate(Object value, int column) throws SQLException; argument
153 * SQL name of a column in this <code>RowSet</code>, ignoring case. This must
159 * @throws SQLException if the column is not part of filtering criteria

Completed in 222 milliseconds

1234567