|
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.SearchableValueLocator
Locates value using Searchable RowsetAccess
Constructor Summary | |
SearchableValueLocator()
|
Method Summary | |
protected int |
_doSearch(javax.infobus.ImmediateAccess searchFor,
SearchableRowsetAccess srchRowset,
javax.infobus.ScrollableRowsetAccess detailRowset)
|
protected java.lang.String |
_getColumnNameFromDataItemName(java.lang.String dataItemName)
|
int |
findIndexInMaster(javax.infobus.ImmediateAccess searchFor,
javax.infobus.ScrollableRowsetAccess masterRowset,
javax.infobus.ScrollableRowsetAccess detailRowset)
|
java.lang.String[] |
getKeyColumnNames()
|
protected java.lang.Object[] |
getKeyColumnValues(java.lang.String[] colNames,
javax.infobus.ScrollableRowsetAccess detailRowset)
|
boolean |
getNullValuesAllowed()
|
boolean |
getRefreshKeyColumnNames()
|
void |
setKeyColumnNames(java.lang.String[] names)
Specify the key column names for the detail rowset The key column name is derived from the column name of the ListValueDataItemName. |
void |
setNullValuesAllowed(boolean nullValuesAllowed)
|
void |
setRefreshKeyColumnNames(boolean flag)
When the list value data item name on the Control is changed, the locator class is notified, so that the key column names can be changed. |
void |
updateKeyColumnName(java.lang.String newListValueDataItemName,
ComboBoxControl c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchableValueLocator()
Method Detail |
public boolean getNullValuesAllowed()
getNullValuesAllowed
in interface ComboBoxDataSource.ValueLocator
public void setNullValuesAllowed(boolean nullValuesAllowed)
setNullValuesAllowed
in interface ComboBoxDataSource.ValueLocator
public void setRefreshKeyColumnNames(boolean flag)
public boolean getRefreshKeyColumnNames()
public void setKeyColumnNames(java.lang.String[] names)
public java.lang.String[] getKeyColumnNames()
public int findIndexInMaster(javax.infobus.ImmediateAccess searchFor, javax.infobus.ScrollableRowsetAccess masterRowset, javax.infobus.ScrollableRowsetAccess detailRowset)
findIndexInMaster
in interface ComboBoxDataSource.ValueLocator
public void updateKeyColumnName(java.lang.String newListValueDataItemName, ComboBoxControl c)
updateKeyColumnName
in interface ComboBoxDataSource.ValueLocator
protected java.lang.String _getColumnNameFromDataItemName(java.lang.String dataItemName)
protected int _doSearch(javax.infobus.ImmediateAccess searchFor, SearchableRowsetAccess srchRowset, javax.infobus.ScrollableRowsetAccess detailRowset)
protected java.lang.Object[] getKeyColumnValues(java.lang.String[] colNames, javax.infobus.ScrollableRowsetAccess detailRowset) throws javax.infobus.ColumnNotFoundException, javax.infobus.DuplicateColumnException, java.sql.SQLException
javax.infobus.ColumnNotFoundException
javax.infobus.DuplicateColumnException
java.sql.SQLException
|
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.