Oracle Data-aware Controls Reference

oracle.dacf.control.swing
Class DefaultValueLocator

java.lang.Object
  extended byoracle.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.


Constructor Summary
DefaultValueLocator()
           
 
Method Summary
protected  java.lang.String _getColumnNameFromDataItemName(java.lang.String dataItemName)
           
protected  int _lookup(javax.infobus.ImmediateAccess searchFor, javax.infobus.ScrollableRowsetAccess srchRowset, javax.infobus.ScrollableRowsetAccess detailRowset)
           
 int findIndexInMaster(javax.infobus.ImmediateAccess searchFor, javax.infobus.ScrollableRowsetAccess masterRowset, javax.infobus.ScrollableRowsetAccess detailRowset)
           
 java.lang.String getListValueColumnName()
           
 boolean getNullValuesAllowed()
           
 boolean getRefreshColumnName()
           
 void setListValueColumnName(java.lang.String name)
           
 void setNullValuesAllowed(boolean nullValuesAllowed)
           
 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.
 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

DefaultValueLocator

public DefaultValueLocator()
Method Detail

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)

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.