Interface LocationTheme
public interface LocationTheme
Provides a location theme.
-
Method Summary
Modifier and Type Method Description default java.awt.ImagegetImageFor(Location location, LocationType locationType)Returns the image for the given location (type).java.awt.ImagegetImageFor(LocationRepresentation representation)Returns the image for the given location representation.
-
Method Details
-
getImageFor
Returns the image for the given location representation.- Parameters:
representation- The representation for which to return the image.- Returns:
- The image for the given location representation.
-
getImageFor
@Nonnull @ScheduledApiChange(when="6.0", details="Default implementation will be removed.") default java.awt.Image getImageFor(@Nonnull Location location, @Nonnull LocationType locationType)Returns the image for the given location (type).- Parameters:
location- The location to base the image on.locationType- The location type for the location.- Returns:
- The image for the give location.
-