|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dacf.control.swing.find.ViewCriteriaModelImpl
oracle.dacf.control.swing.find.ConstrainedViewCriteriaModel
This class provides a constrained view of the ViewCriteriaModel. Some of the columns which are either marked 'non-queryable' by the user or not queryable (for some SQL type) are hidden from the ViewCriteria.
FindPanel
,
ViweCriteriaModel
,
ViweCriteriaModelImpl
,
ResultSetInfo
,
ViewCriteria
,
ViewCriteriaRow
Field Summary |
Fields inherited from class oracle.dacf.control.swing.find.ViewCriteriaModelImpl |
_columnLabels, _rsAccess, _unmangledQueryCriteriaStore |
Constructor Summary | |
ConstrainedViewCriteriaModel()
Constructor |
Method Summary | |
protected void |
_computeColumnIndices()
map queryable column name to their index |
protected int |
_mapColumnIndex(int originalIndex)
|
protected int |
findColumnIndex(java.lang.String dataItemName)
|
int |
getColumnCount()
|
java.lang.String[] |
getColumnDataItemName()
|
java.lang.String |
getColumnDisplayLabel(int colIndex)
return the column display name for a particular column |
java.lang.String |
getColumnName(int colIndex)
get the column name., zero based index. |
java.lang.Object |
getColumnValue(int colIndex)
return the column value for a particular column |
int |
getSQLType(int colIndex)
get SQL type for this column., zero based index. |
java.lang.Object |
getUserData(int colIndex)
|
void |
setColumnDataItemName(java.lang.String[] dataItemName)
Specify the query column data item name. |
void |
setColumnValue(int colIndex,
java.lang.Object value)
specify the column value for a particular column |
void |
setRowsetAccess(javax.infobus.ScrollableRowsetAccess rsAccess)
Specify the ScrollableRowsetAccess object to delegate request for creating ViewCriteria objects. |
void |
setUserData(int colIndex,
java.lang.Object value)
|
Methods inherited from class oracle.dacf.control.swing.find.ViewCriteriaModelImpl |
absolute, deleteRow, first, getFindItemModel, getRow, getRowCount, getRowsetAccess, last, newRow, next, previous |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConstrainedViewCriteriaModel()
Method Detail |
public void setColumnDataItemName(java.lang.String[] dataItemName)
dataItemName
- of the columnpublic java.lang.String[] getColumnDataItemName()
public void setRowsetAccess(javax.infobus.ScrollableRowsetAccess rsAccess)
ViewCriteriaModelImpl
setRowsetAccess
in class ViewCriteriaModelImpl
public int getColumnCount()
getColumnCount
in interface ViewCriteriaModel
getColumnCount
in class ViewCriteriaModelImpl
public java.lang.String getColumnDisplayLabel(int colIndex)
getColumnDisplayLabel
in interface ViewCriteriaModel
getColumnDisplayLabel
in class ViewCriteriaModelImpl
public java.lang.String getColumnName(int colIndex)
getColumnName
in interface ViewCriteriaModel
getColumnName
in class ViewCriteriaModelImpl
public int getSQLType(int colIndex)
getSQLType
in interface ViewCriteriaModel
getSQLType
in class ViewCriteriaModelImpl
public java.lang.Object getColumnValue(int colIndex)
getColumnValue
in interface ViewCriteriaModel
getColumnValue
in class ViewCriteriaModelImpl
colIndex
- column index whose column value we are interested in.,
zero based index used
public void setColumnValue(int colIndex, java.lang.Object value)
setColumnValue
in interface ViewCriteriaModel
setColumnValue
in class ViewCriteriaModelImpl
colIndex
- column index whose value has to be set
zero based index usedpublic java.lang.Object getUserData(int colIndex)
getUserData
in interface ViewCriteriaModel
getUserData
in class ViewCriteriaModelImpl
public void setUserData(int colIndex, java.lang.Object value)
setUserData
in interface ViewCriteriaModel
setUserData
in class ViewCriteriaModelImpl
protected int _mapColumnIndex(int originalIndex)
protected void _computeColumnIndices()
protected int findColumnIndex(java.lang.String dataItemName)
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.