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 ILcdModelDescriptor
s from the ILcdModel
s
contained in the TLcdModelList
.- See Also:
-
Constructor Summary
ConstructorDescriptionCreate 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 TypeMethodDescriptionvoid
addModelDescriptor
(ILcdModelDescriptor aModelDescriptor) Add the givenILcdModelDescriptor
.getModelDescriptor
(int aIndex) Get theILcdModelDescriptor
s at the given index.int
Returns the number ofILcdModelDescriptor
s in this set.void
insertModelDescriptorAt
(ILcdModelDescriptor aModelDescriptor, int aIndex) Inserts the givenILcdModelDescriptor
at the given index.void
Remove allILcdModelDescriptor
s.void
removeModelDescriptor
(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 givenILcdModelDescriptor
at 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 allILcdModelDescriptor
s. -
getModelDescriptorCount
public int getModelDescriptorCount()Returns the number ofILcdModelDescriptor
s in this set.- Returns:
- the number of
ILcdModelDescriptor
s in this set.
-
getModelDescriptor
Get theILcdModelDescriptor
s at the given index.- Parameters:
aIndex
- the index.- Returns:
- the
ILcdModelDescriptor
s at the given index.
-