oracle.dacf.control.swing
Class DefaultValueLocator
java.lang.Object
oracle.dacf.control.swing.DefaultValueLocator
- All Implemented Interfaces:
- ComboBoxDataSource.ValueLocator
- public class DefaultValueLocator
- extends java.lang.Object
- implements ComboBoxDataSource.ValueLocator
Helper class used by ComboBox control.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValueLocator
public DefaultValueLocator()
getNullValuesAllowed
public boolean getNullValuesAllowed()
- Specified by:
getNullValuesAllowed
in interface ComboBoxDataSource.ValueLocator
setNullValuesAllowed
public void setNullValuesAllowed(boolean nullValuesAllowed)
- Specified by:
setNullValuesAllowed
in interface ComboBoxDataSource.ValueLocator
setRefreshColumnName
public void setRefreshColumnName(boolean flag)
- When the list value data item name on the Control is
changed, the locator class is notified, so that the
column names can be changed. By default the DefaultValueLocator
updates the list value column name.
getRefreshColumnName
public boolean getRefreshColumnName()
setListValueColumnName
public void setListValueColumnName(java.lang.String name)
getListValueColumnName
public java.lang.String getListValueColumnName()
findIndexInMaster
public int findIndexInMaster(javax.infobus.ImmediateAccess searchFor,
javax.infobus.ScrollableRowsetAccess masterRowset,
javax.infobus.ScrollableRowsetAccess detailRowset)
- Specified by:
findIndexInMaster
in interface ComboBoxDataSource.ValueLocator
updateKeyColumnName
public void updateKeyColumnName(java.lang.String newListValueDataItemName,
ComboBoxControl c)
- Specified by:
updateKeyColumnName
in interface ComboBoxDataSource.ValueLocator
_getColumnNameFromDataItemName
protected java.lang.String _getColumnNameFromDataItemName(java.lang.String dataItemName)
_lookup
protected int _lookup(javax.infobus.ImmediateAccess searchFor,
javax.infobus.ScrollableRowsetAccess srchRowset,
javax.infobus.ScrollableRowsetAccess detailRowset)
Copyright © 1997, 2003, Oracle. All rights reserved.