Package com.luciad.format.gdf
Class TLcdGDFFeatureTheme
java.lang.Object
com.luciad.format.gdf.TLcdGDFFeatureTheme
This class represents all feature themes that are available within GDF.
It follows the typesafe enumeration pattern, as described in Effective Java, p104.
Additional user-defined themes can be created, if necessary.
- Since:
- 5.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdGDFFeatureTheme
The GDF Administrative Areas theme.static final TLcdGDFFeatureTheme
The GDF Chainage Referencing Features theme.static final TLcdGDFFeatureTheme
The GDF General Features theme.static final TLcdGDFFeatureTheme
The GDF Land Cover and Use theme.static final TLcdGDFFeatureTheme
The GDF Named Areas theme.static final TLcdGDFFeatureTheme
The GDF Public Transport theme.static final TLcdGDFFeatureTheme
The GDF Railways theme.static final TLcdGDFFeatureTheme
The GDF Road Furniture theme.static final TLcdGDFFeatureTheme
The GDF Roads and Ferries theme.static final TLcdGDFFeatureTheme
The GDF Services theme.static final TLcdGDFFeatureTheme
The GDF Structures theme.static final TLcdGDFFeatureTheme
The GDF Waterways theme. -
Constructor Summary
ConstructorDescriptionTLcdGDFFeatureTheme
(String aDescription) Creates a new theme with the given textual description. -
Method Summary
Modifier and TypeMethodDescriptionReturns the textual description of this theme.static TLcdGDFFeatureTheme
getFeatureTheme
(int aIndex) Returns the theme at the given index.static int
Returns the number of default feature themes that are available.
-
Field Details
-
ROADS_AND_FERRIES
The GDF Roads and Ferries theme. -
ADMINISTRATIVE_AREAS
The GDF Administrative Areas theme. -
NAMED_AREAS
The GDF Named Areas theme. -
LAND_COVER_AND_USE
The GDF Land Cover and Use theme. -
STRUCTURES
The GDF Structures theme. -
RAILWAYS
The GDF Railways theme. -
WATERWAYS
The GDF Waterways theme. -
ROAD_FURNITURE
The GDF Road Furniture theme. -
SERVICES
The GDF Services theme. -
PUBLIC_TRANSPORT
The GDF Public Transport theme. -
CHAINAGE_REFERENCING_FEATURES
The GDF Chainage Referencing Features theme. -
GENERAL_FEATURES
The GDF General Features theme.
-
-
Constructor Details
-
TLcdGDFFeatureTheme
Creates a new theme with the given textual description.- Parameters:
aDescription
- the description of the feature theme to be created.
-
-
Method Details
-
getFeatureThemeCount
public static int getFeatureThemeCount()Returns the number of default feature themes that are available.- Returns:
- the number of default feature themes that are available.
-
getFeatureTheme
Returns the theme at the given index.- Parameters:
aIndex
- the index of the theme to be returned.- Returns:
- the feature theme at the given index.
- Throws:
IndexOutOfBoundsException
-
getDescription
Returns the textual description of this theme.- Returns:
- the textual description of this theme.
-