JBCL Moved or deprecated functionality

Deprecated functionality will compile and run, despite warnings about the eprecation. Properties, methods, and variables which have been moved or renamed will generate compile errors which must be resolved before you can run your application or applet.

The following tables outline functionality moved or deprecated in the JBCL. Wherever possible, alternate ways of attaining the same behavior are indicated.

 


 

control package

The following have been moved or deprecated in the control package:

Formerly: Use:
ListControl remove() removeItem(int)
ListControl removeAll() removeAllItems()

 

jbcl.dataset package

The following have been moved or deprecated in the jbcl.dataset package:

Formerly: Use:
Column localeName property locale property
DataSet markPending(DataSet,boolean) ProviderHelp.markPending(DataSet,boolean)
DataSet resolvePending(boolean) No longer needed
DataSet resetPendingStatus(boolean) ProviderHelp.resetPendingStatus(boolean)
DataSet row() DataSet.getRow()
DataSet rowCount() DataSet.getRowCount()
DataSetException all methods starting with throw Renamed without "throw" prefix
ParameterRow IN, OUT, IN_OUT, RETURN, RESULT corresponding variables in ParameterType class
ParameterRow getParameterType(string column) Column.getParameterType()
ReadRow All "binary*" methods "InputStream" equivalents in the ReadRow class
ReadRow columnCount() ReadRow.getColumnCount()
ReadWriteRow All "binary*" methods "InputStream" equivalents in the ReadWriteRow class
RowStatus DELETE_RESOLVED, INSERT_RESOLVED, UPDATE_RESOLVED Constants no longer needed.
StorageDataSet checkMasterDetail(MasterLinkDescriptor) Provider.checkMasterLink(MasterLinkDescriptor)
StorageDataSet createColumnMap() ProviderHelp.createColumnMap(StorageDataSet,Column[],int[])
StorageDataSet endResolution(StorageDataSet) ProviderHelp.endResolution(StorageDataSet)
StorageDataSet failIfOpen(StorageDataSet) ProviderHelp.failIfOpen(StorageDataSet)
StorageDataSet freeAllIndexes() StorageDataSet.dropAllIndexes()
StorageDataSet isCopyProviderStreams(StorageDataSet) ProviderHelp.isCopyProviderStreams(StorageDataSet)
StorageDataSet isProviderPropertyChanged(StorageDataSet) ProviderHelp.isProviderPropertyChanged(StorageDataSet)
StorageDataSet replaceColumns(StorageDataSet,Column[],boolean) ProviderHelp.replaceColumns(StorageDataSet,Column[],boolean)
StorageDataSet setMetaDataMissing(StorageDataSet,boolean) ProviderHelp.setMetaDataMissing(StorageDataSet,boolean)
StorageDataSet setProviderPropertyChanged(StorageDataSet,boolean) ProviderHelp.setProviderPropertyChanged(StorageDataSet,boolean)
StorageDataSet startResolution(StorageDataSet,boolean) ProviderHelp.startResolution(StorageDataSet,boolean)
StorageDataSet updatable property Set the StorageDataSet component's metaDataUpdate property, exclude the rowId, then set the rowID on the columns that apply
TextDataFile localeName property locale property

 

util package

The following have been moved or deprecated in the util package:

Formerly: Use:
Variant All "binary*" methods "InputStream" equivalents in the Variant class

 

borland.jbcl.view package

The following have been moved or deprecated in the view package:

Formerly: Use:
ButtonView label property ButtonControl label property. If a control you create using ButtonView requires a label property, you must add your own.
GridView alwaysEdit property autoEdit property
GridView scrollPosition property getViewport().getViewPosition() and setViewPort().setViewPosition(Point vp)
GridView showHScroll property java.swing.JScrollpane#getHorizontalScrollBarPolicy() and java.swing.JScrollpane#setHorizontalScrollBarPolicy(int x)
GridView showVScroll property java.swing.JScrollpane#getVerticalScrollBarPolicy() and java.swing.JScrollpane#setVerticalScrollBarPolicy(int x)
GridView viewportSize property java.swing.JScrollpane#getViewport().getExtentSize()
ListView alwaysEdit property autoEdit property
ListView directDraw property java.swing.JComponent#paintImmediately
ListView scrollPosition property getViewport().getViewPosition() and setViewport().setViewPosition(Point vp)
ListView viewportSize property java.swing.JScrollpane#getViewport().getExtentSize()
SelectableTextItemPainter entire class SelectableItemPainter and TextItemPainter. See the SelectableItemPainter class for more information.
TreeView showRoot property n/a

 

borland.sql.dataset package

The following have been moved or deprecated in the sql.dataset package:

Formerly: Use:
Database database(java.sql.Connection) Database() then set the jdbcConnection property
Database JdbcConnection() Database.getJdbcConnection()
ProcedureDataSet asynchronousExecution property The asynchronous execution property was expanded; see Load
ProcedureDescriptor ProcedureDescriptor(Database, String, ReadWriteRow, boolean, boolean) The asynchronous execution property was expanded; this constructor is no longer available. Use the ProcedureDescriptor(Database, String, ReadWriteRow, boolean, int) constructor.
QueryDataSet asynchronousExecution property The asynchronous execution property was expanded; see Load
QueryDataSet checkMasterDetail(MasterLinkDescriptor) Provider.checkMasterLink(MasterLinkDescriptor)
QueryDescriptor QueryDescriptor(Database, String, ReadWriteRow, boolean, boolean) The asynchronous execution property was expanded; this constructor is no longer available. Use the QueryDescriptor(Database, String, ReadWriteRow, boolean, int) constructor.
StorageDataSet checkMasterDetail(MasterLinkDescriptor) Provider.checkMasterLink(MasterLinkDescriptor)