Class TLcdEditableModelListDescriptor

java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdEditableModelListDescriptor
All Implemented Interfaces:
ILcdModelDescriptor, Serializable
Direct Known Subclasses:
TLcdASTERIXModelListDescriptor, TLcdEditableDataModelListDescriptor, TLcdGRIBBulletinModelDescriptor

public class TLcdEditableModelListDescriptor extends TLcdModelDescriptor
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 Details

    • TLcdEditableModelListDescriptor

      public TLcdEditableModelListDescriptor()
      Create a TLcdEditableModelListDescriptor with ModelSet as source, type and display name.
    • TLcdEditableModelListDescriptor

      public TLcdEditableModelListDescriptor(String aSourceName, String aDisplayName)
      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

      public TLcdEditableModelListDescriptor(String aSourceName, String aTypeName, String aDisplayName)
      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

      public void addModelDescriptor(ILcdModelDescriptor aModelDescriptor)
      Add the given ILcdModelDescriptor.
      Parameters:
      aModelDescriptor - the ILcdModelDescriptor.
    • insertModelDescriptorAt

      public void insertModelDescriptorAt(ILcdModelDescriptor aModelDescriptor, int aIndex)
      Inserts the given ILcdModelDescriptor at the given index.
      Parameters:
      aModelDescriptor - the ILcdModelDescriptor.
      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

      public void removeModelDescriptor(ILcdModelDescriptor aModelDescriptor)
      Remove the given ILcdModelDescriptor.
      Parameters:
      aModelDescriptor - the ILcdModelDescriptor.
    • removeAllModelDescriptors

      public void removeAllModelDescriptors()
      Remove all ILcdModelDescriptors.
    • getModelDescriptorCount

      public int getModelDescriptorCount()
      Returns the number of ILcdModelDescriptors in this set.
      Returns:
      the number of ILcdModelDescriptors in this set.
    • getModelDescriptor

      public ILcdModelDescriptor getModelDescriptor(int aIndex)
      Get the ILcdModelDescriptors at the given index.
      Parameters:
      aIndex - the index.
      Returns:
      the ILcdModelDescriptors at the given index.