Interface ISourceCategory<T extends Enum<T>>
-
- Type Parameters:
T
- The enum that is extending this interface
- All Superinterfaces:
ICommonSource<T>
- All Known Implementing Classes:
ImageryInfo.ImageryCategory
public interface ISourceCategory<T extends Enum<T>> extends ICommonSource<T>
This is an enum for a source category (i.e. PHOTO/ELEVATION/etc.)- Since:
- 16545
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCategoryString()
Returns the unique string identifying this category.String
getDescription()
Returns the description of this category.ImageIcon
getIcon(ImageProvider.ImageSizes size)
Returns the category icon at the given size.-
Methods inherited from interface org.openstreetmap.josm.data.sources.ICommonSource
getDefault, getFromString
-
-
-
-
Method Detail
-
getCategoryString
String getCategoryString()
Returns the unique string identifying this category.- Returns:
- the unique string identifying this category
-
getDescription
String getDescription()
Returns the description of this category.- Returns:
- the description of this category
-
getIcon
ImageIcon getIcon(ImageProvider.ImageSizes size)
Returns the category icon at the given size.- Parameters:
size
- icon wanted size- Returns:
- the category icon at the given size
-
-