24 lines
413 B
Java
24 lines
413 B
Java
|
|
package geography;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Interface for theme libraries that provide rendering themes.
|
||
|
|
*/
|
||
|
|
public interface ThemeLibrary
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Get the theme for highlighted elements.
|
||
|
|
*
|
||
|
|
* @return The highlight theme
|
||
|
|
*/
|
||
|
|
Theme getHighlightTheme();
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Get the theme for a given code.
|
||
|
|
*
|
||
|
|
* @param code
|
||
|
|
* The theme code
|
||
|
|
* @return The theme
|
||
|
|
*/
|
||
|
|
Theme getTheme(final String code);
|
||
|
|
}
|