Package hec.map
Interface WorldRegionHolder
public interface WorldRegionHolder
-
Method Summary
Modifier and TypeMethodDescriptiongetRegion
(int idx) get the region for the specified region idxgetRegionColor
(int idx) get the region color for the specified region idxint
get the number of regions this WorldRegionHolder hasgetRegionDescription
(int idx) get the region description for the specified region idxgetRegionName
(int idx) get the region name for the specified region idx
-
Method Details
-
getRegionCount
int getRegionCount()get the number of regions this WorldRegionHolder has- Returns:
- the number of regions
-
getRegionName
get the region name for the specified region idx- Parameters:
idx
- the region idx, starting at 0- Returns:
- the region name
-
getRegionDescription
get the region description for the specified region idx- Parameters:
idx
- the region idx, starting at 0- Returns:
- the region description
-
getRegionColor
get the region color for the specified region idx- Parameters:
idx
- the region idx, starting at 0- Returns:
- the region color
-
getRegion
get the region for the specified region idx- Parameters:
idx
- the region idx, starting at 0- Returns:
- the region
-