Interface ILcdPOLTypeTable


public interface ILcdPOLTypeTable
This interface defines the types of geometry data that can be stored in the pol-file. This approach was chosen for memory efficiency purposes, the different type-names are only stored once, and can be referred to via the type table. All types are stored by their String representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether this table contains a given type.
    getType(int index)
    Gets the type at the given index.
    int
    Get the default color index for a given type.
    int
    Get the number of types in this type table.
  • Method Details

    • containsType

      boolean containsType(String aType)
      Returns whether this table contains a given type.
      Parameters:
      aType - the type to check the table for.
      Returns:
      true when this table contains the given type.
    • getTypeColorIndex

      int getTypeColorIndex(String aType)
      Get the default color index for a given type.
      Parameters:
      aType - the type to retrieve the default color index for.
      Returns:
      the default color index for the given type.
    • getTypeCount

      int getTypeCount()
      Get the number of types in this type table.
      Returns:
      the number of types in this type table.
    • getType

      String getType(int index)
      Gets the type at the given index.
      Parameters:
      index -
      Returns:
      the type at the given index.