Package com.luciad.format.pol
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 TypeMethodDescriptionboolean
containsType
(String aType) Returns whether this table contains a given type.getType
(int index) Gets the type at the given index.int
getTypeColorIndex
(String aType) Get the default color index for a given type.int
Get the number of types in this type table.
-
Method Details
-
containsType
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
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
Gets the type at the given index.- Parameters:
index
-- Returns:
- the type at the given index.
-