JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.datasource
Interface ProviderModel


public interface ProviderModel

Classes implementing this interface can be specified as providers of data for MetaData levels.


Method Summary
 Object[][] getData(com.klg.jclass.datasource.DataModelListener originator, long bookmark, com.klg.jclass.datasource.MetaDataModel metaData)
          This method will be called by the DataSource when data is required for a particular meta data level.
 

Method Detail

getData

public Object[][] getData(com.klg.jclass.datasource.DataModelListener originator,
                          long bookmark,
                          com.klg.jclass.datasource.MetaDataModel metaData)
This method will be called by the DataSource when data is required for a particular meta data level.

Parameters:
originator - the DataModelListener which initiated this action
bookmark - a long which uniquely identifies a parent row
Returns:
a two-dimensional Object array comprising rows and columns.

See Also:
DataTableModel.createTable(com.klg.jclass.datasource.DataModelListener, long, javax.swing.tree.TreeNode), DataTableModel.getTable(long, javax.swing.tree.TreeNode)

Copyright © 2004 Quest Software Inc..
All rights reserved.