Package com.luciad.model
Class TLcdEditableModelListDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdEditableModelListDescriptor
- All Implemented Interfaces:
ILcdModelDescriptor,Serializable
- Direct Known Subclasses:
TLcdASTERIXModelListDescriptor,TLcdEditableDataModelListDescriptor,TLcdGRIBBulletinModelDescriptor
An extension of a
TLcdModelDescriptor, used as the model descriptor of a TLcdModelList.
It contains the ILcdModelDescriptors from the ILcdModels
contained in the TLcdModelList.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a TLcdEditableModelListDescriptor with ModelSet as source, type and display name.TLcdEditableModelListDescriptor(String aSourceName, String aDisplayName) Create a TLcdEditableModelListDescriptor with the given source and display name.TLcdEditableModelListDescriptor(String aSourceName, String aTypeName, String aDisplayName) Create a TLcdEditableModelListDescriptor with the given source, display name, and type name. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModelDescriptor(ILcdModelDescriptor aModelDescriptor) Add the givenILcdModelDescriptor.getModelDescriptor(int aIndex) Get theILcdModelDescriptors at the given index.intReturns the number ofILcdModelDescriptors in this set.voidinsertModelDescriptorAt(ILcdModelDescriptor aModelDescriptor, int aIndex) Inserts the givenILcdModelDescriptorat the given index.voidRemove allILcdModelDescriptors.voidremoveModelDescriptor(ILcdModelDescriptor aModelDescriptor) Remove the givenILcdModelDescriptor.Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
-
Constructor Details
-
TLcdEditableModelListDescriptor
public TLcdEditableModelListDescriptor()Create a TLcdEditableModelListDescriptor with ModelSet as source, type and display name. -
TLcdEditableModelListDescriptor
Create a TLcdEditableModelListDescriptor with the given source and display name.- Parameters:
aSourceName- an indication of the source of the model(s).aDisplayName- a display name for the data in the model(s).
-
TLcdEditableModelListDescriptor
Create a TLcdEditableModelListDescriptor with the given source, display name, and type name.- Parameters:
aSourceName- an indication of the source of the model(s).aTypeName- a type name for the data in the model(s).aDisplayName- a display name for the data in the model(s).
-
-
Method Details
-
addModelDescriptor
Add the givenILcdModelDescriptor.- Parameters:
aModelDescriptor- theILcdModelDescriptor.
-
insertModelDescriptorAt
Inserts the givenILcdModelDescriptorat the given index.- Parameters:
aModelDescriptor- theILcdModelDescriptor.aIndex- the index the model descriptor should have after insertion. The index should be smaller than or equal to the current number of model descriptors.
-
removeModelDescriptor
Remove the givenILcdModelDescriptor.- Parameters:
aModelDescriptor- theILcdModelDescriptor.
-
removeAllModelDescriptors
public void removeAllModelDescriptors()Remove allILcdModelDescriptors. -
getModelDescriptorCount
public int getModelDescriptorCount()Returns the number ofILcdModelDescriptors in this set.- Returns:
- the number of
ILcdModelDescriptors in this set.
-
getModelDescriptor
Get theILcdModelDescriptors at the given index.- Parameters:
aIndex- the index.- Returns:
- the
ILcdModelDescriptors at the given index.
-