Package | Description |
---|---|
org.openstreetmap.josm.tools |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,ImageResource> |
ImageProvider.cache
The icon cache
|
private static java.util.Map<java.awt.Image,java.util.Map<java.lang.Long,ImageResource>> |
ImageProvider.ROTATE_CACHE
Caches the image data for rotated versions of the same image.
|
Modifier and Type | Method and Description |
---|---|
private static ImageResource |
ImageProvider.getIfAvailableDataUrl(java.lang.String url)
Internal implementation of the image request for inline images (data: urls).
|
private static ImageResource |
ImageProvider.getIfAvailableHttp(java.lang.String url,
ImageProvider.ImageType type)
Internal implementation of the image request for URL's.
|
private ImageResource |
ImageProvider.getIfAvailableImpl(java.util.Collection<java.lang.ClassLoader> additionalClassLoaders)
Internal implementation of the image request.
|
private static ImageResource |
ImageProvider.getIfAvailableLocalURL(java.net.URL path,
ImageProvider.ImageType type)
Internal implementation of the image request for local images.
|
private static ImageResource |
ImageProvider.getIfAvailableWiki(java.lang.String name,
ImageProvider.ImageType type)
Internal implementation of the image request for wiki images.
|
private static ImageResource |
ImageProvider.getIfAvailableZip(java.lang.String fullName,
java.io.File archive,
java.lang.String inArchiveDir,
ImageProvider.ImageType type)
Internal implementation of the image request for images in Zip archives.
|
ImageResource |
ImageProvider.getResource()
Execute the image request.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageProvider.ImageResourceCallback.finished(ImageResource result)
Called when image loading has finished.
|
Constructor and Description |
---|
ImageResource(ImageResource res,
java.util.List<ImageOverlay> overlayInfo)
Constructs a new
ImageResource from another one and sets overlays. |