Uses of Class
org.jdesktop.dataset.DataColumn

Packages that use DataColumn
org.jdesktop.dataset The dataset package is the entrypoint to the DataSet API, and includes the major public classes for working with tabular data in JDNC, including disconnected SQL results. 
org.jdesktop.dataset.event   
 

Uses of DataColumn in org.jdesktop.dataset
 

Fields in org.jdesktop.dataset with type parameters of type DataColumn
protected  java.util.Map<DataColumn,java.util.Comparator> DataTable.columnComparators
          A map of Comparators by DataColumn; only one Comparator is allowed per column.
protected  java.util.Map<java.lang.String,DataColumn> DataTable.columns
          Mapping of DataColumn.name to DataColumn.
 

Methods in org.jdesktop.dataset that return DataColumn
 DataColumn DataTable.createColumn()
          creates a new DataColumn, and adds it to this DataTable.
 DataColumn DataTable.createColumn(java.lang.String colName)
          Creates a new DataColumn with the given name, and adds it to this DataTable.
 DataColumn DataRelation.getChildColumn()
           
 DataColumn DataTable.getColumn(java.lang.String colName)
           
 DataColumn DataRelationTable.getColumn(java.lang.String colName)
          Overridden so that it will defer to the child Table first.
 DataColumn DataRelation.getParentColumn()
           
 

Methods in org.jdesktop.dataset that return types with arguments of type DataColumn
 java.util.List<DataColumn> DataTable.getColumns()
           
 java.util.List<DataColumn> DataRelationTable.getColumns()
           
 java.util.List<DataColumn> DataSet.getColumns(java.lang.String path)
           
 

Methods in org.jdesktop.dataset with parameters of type DataColumn
protected  org.jdesktop.dataset.DataRow.DataCell DataRow.addCell(DataColumn col)
          Used internally to add a cell to the row.
protected  org.jdesktop.dataset.DataRow.DataCell DataRow.getCell(DataColumn col)
          Returns the DataCell for the column; if there is none, creates one initialized to the column's default value.
 java.util.Comparator DataTable.getColumnComparator(DataColumn col)
          Returns a Comparator bound to a given Column.
 java.lang.Object DataRow.getOriginalValue(DataColumn col)
          Deprecated. use getReferenceValue(DataColumn col)
 java.lang.Object DataRow.getReferenceValue(DataColumn col)
          Returns the reference value for the column.
 java.lang.Object DataRow.getValue(DataColumn col)
          Returns the current value for the column.
 java.lang.Object DataTable.getValue(DataRow row, DataColumn col)
          Retrieves the current value for the given row and column.
 boolean DataTable.hasColumnComparator(DataColumn col)
          Returns true if the column has a specific comparator assigned to it; with DataTable.setColumnComparator(DataColumn, Comparator); see class JavaDocs, and docs for DataRow.
 boolean DataRow.isModified(DataColumn col)
          Returns true if the current value for the column is different from its reference value.
 void DataTable.removeColumnComparator(DataColumn col)
          Removes the specific Comparator assigned to the column, if any; fails silently if none assigned; see class JavaDocs, and docs for DataRow.
 void DataRow.resetToReferenceValue(DataColumn col)
          Resets the DataColumn in the row to its reference value, effectively reverting the effects of calling DataRow.setValue(DataColumn, Object) till now.
 void DataRelation.setChildColumn(DataColumn childColumn)
          sets the child DataColumn in this parent/child relation
 void DataTable.setColumnComparator(DataColumn col, java.util.Comparator comp)
          Assigns a specific Comparator to a DataColumn, for use in comparing changes to DataRow cells; see class JavaDocs, and docs for DataRow.
 void DataRelation.setParentColumn(DataColumn parentColumn)
          Sets the DataColumn that is the parent in this parent/child relation.
 void DataRow.setReferenceValue(DataColumn col, java.lang.Object value)
          Sets the given refence value to the specified DataColumn.
 void DataRow.setValue(DataColumn col, java.lang.Object value)
          Sets the given value to the specified DataColumn with the given name.
 

Uses of DataColumn in org.jdesktop.dataset.event
 

Methods in org.jdesktop.dataset.event that return DataColumn
 DataColumn TableChangeEvent.getColumnAffected()
          Returns the DataColumn affected by this event, or null if no column was involved.
 DataColumn RowChangeEvent.getColumnAffected()
          The column whose value was updated or set to null; will be null if this event is a row status change.
 

Methods in org.jdesktop.dataset.event with parameters of type DataColumn
static RowChangeEvent RowChangeEvent.newCellChangedEvent(DataRow source, DataColumn col, java.lang.Object priorValue, DataRow.DataRowStatus priorStatus)
           
static TableChangeEvent TableChangeEvent.newColumnAddedEvent(DataTable source, DataColumn col)
           
static TableChangeEvent TableChangeEvent.newColumnRemovedEvent(DataTable source, DataColumn col)
           
 



Copyright © 2005 Sun Microsystems All Rights Reserved.