Interface ISourceCategory<T extends java.lang.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 java.lang.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 java.lang.String
getCategoryString()
Returns the unique string identifying this category.java.lang.String
getDescription()
Returns the description of this category.javax.swing.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
java.lang.String getCategoryString()
Returns the unique string identifying this category.- Returns:
- the unique string identifying this category
-
getDescription
java.lang.String getDescription()
Returns the description of this category.- Returns:
- the description of this category
-
getIcon
javax.swing.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
-
-