com.klg.jclass.datasource.beans
Class IdeJCTreeData
java.lang.Object
|
+--com.klg.jclass.datasource.TreeData
|
+--com.klg.jclass.datasource.beans.JCTreeData
|
+--com.klg.jclass.datasource.beans.IdeJCTreeData
- All Implemented Interfaces:
- DataModel, Serializable
- Direct Known Subclasses:
- JBTreeData
- public abstract class IdeJCTreeData
- extends JCTreeData
This bean creates a hierarchical structure of data.
It supports different data source objects.
- See Also:
NodeProperties
,
Serialized Form
Methods inherited from class com.klg.jclass.datasource.beans.JCTreeData |
addDataModelListener, getAbout, getAppletContext, getAppletContext, getName, getParameters, getParameters, getParameters, getTreeProperties, getVersion, setAbout, setModelName, setName, setTreeProperties, setTreeProperties, setVersion |
Methods inherited from class com.klg.jclass.datasource.TreeData |
cancelAll, clearCurrentPath, clearDataTableTreeInternalData, clearDataTableTreeUserData, enableDataModelEvents, fireDataModelEvent, fireDataModelEvent, fireDataModelEventInternal, getCurrentDataItem, getCurrentDataTable, getCurrentGlobalBookmark, getCurrentGlobalTable, getDataTableTree, getEventsEnabled, getListeners, getMetaData, getMetaDataTree, getModelName, isModified, moveToRow, moveToRow, removeDataModelListener, requeryAll, sendDataModelEvent, updateAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdeJCTreeData
public IdeJCTreeData(int type)
createMetaData
protected void createMetaData()
throws DataModelException
- Creates meta data for the tree data bean.
- Overrides:
createMetaData
in class JCTreeData
- Throws:
DataModelException
- If fails to create a meta data.
setTreeProperties
public void setTreeProperties(String resource_name,
ClassLoader cl,
String[] names,
Object[] data_sources)
throws DataModelException
- Sets the tree data bean component using a serialization file and
an array of data source objects.
Data source objects are specified for IDE data sources. Supported IDE data
source type are:
- NodeProperties.JBUILDER
- NodeProperties.VCAFE
Data source object can be one of the following:
- borland.jbcl.dataset.DataSet
- symantec.itools.db.beans.binding.QueryNavigator
- Parameters:
resource_name
- resource name relative to a class loader
to the tree data bean componentcl
- class loader used to get the resource.names
- array of names for data source objectsdata_sources
- array of data source objects
- Throws:
DataModelException
- If meta data cannot be created.- See Also:
NodeProperties