Uses of Class
org.openstreetmap.josm.tools.ImageResource
-
Packages that use ImageResource Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.data.preferences.sources Provide classes to manage source of JOSM extensions that can be chosen in user preferences: map paint styles tagging presets validator rulesorg.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.mappaint.styleelement Style elements defining how a map paint style is rendered.org.openstreetmap.josm.gui.tagging.presets Provides classes for handling tagging presets.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of ImageResource in org.openstreetmap.josm.actions
Constructors in org.openstreetmap.josm.actions with parameters of type ImageResource Constructor Description OpenBrowserAction(java.lang.String name, java.lang.String url, ImageResource icon)
Constructs a newOpenBrowserAction
. -
Uses of ImageResource in org.openstreetmap.josm.data.preferences.sources
Fields in org.openstreetmap.josm.data.preferences.sources declared as ImageResource Modifier and Type Field Description ImageResource
ExtendedSourceEntry. icon
icon used for display -
Uses of ImageResource in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as ImageResource Modifier and Type Field Description private ImageResource
SaveLayersDialog.SaveAndProceedAction. actionImg
Methods in org.openstreetmap.josm.gui.io that return ImageResource Modifier and Type Method Description (package private) ImageResource
SaveLayersDialog.SaveAndProceedAction. getImage(java.lang.String name, boolean disabled)
Methods in org.openstreetmap.josm.gui.io with parameters of type ImageResource Modifier and Type Method Description private void
SaveLayersDialog.SaveAndProceedAction. attachImageIcon(java.lang.String key, ImageProvider.ImageSizes size, ImageResource uploadImg, ImageResource saveImg, ImageResource actionImg)
private void
SaveLayersDialog.SaveAndProceedAction. drawImageIcon(java.awt.Graphics2D g, int index, java.awt.Dimension dim, ImageResource img)
-
Uses of ImageResource in org.openstreetmap.josm.gui.mappaint.styleelement
Fields in org.openstreetmap.josm.gui.mappaint.styleelement declared as ImageResource Modifier and Type Field Description private ImageResource
MapImage. imageResource
Methods in org.openstreetmap.josm.gui.mappaint.styleelement that return ImageResource Modifier and Type Method Description ImageResource
MapImage. getImageResource()
Get the image resource associated with this MapImage object.Method parameters in org.openstreetmap.josm.gui.mappaint.styleelement with type arguments of type ImageResource Modifier and Type Method Description private java.util.concurrent.CompletableFuture<java.lang.Void>
MapImage. load(java.util.function.Consumer<? super ImageResource> action)
-
Uses of ImageResource in org.openstreetmap.josm.gui.tagging.presets
Methods in org.openstreetmap.josm.gui.tagging.presets that return ImageResource Modifier and Type Method Description ImageResource
TaggingPreset. getImageResource()
Returns theImageResource
attached to this preset, if any. -
Uses of ImageResource in org.openstreetmap.josm.tools
Fields in org.openstreetmap.josm.tools with type parameters of type ImageResource Modifier and Type Field Description private static java.util.Map<java.lang.String,ImageResource>
ImageProvider. cache
The icon cacheMethods in org.openstreetmap.josm.tools that return ImageResource Modifier and Type Method Description static ImageResource
ImageResource. getAttachedImageResource(javax.swing.Action a)
Returns theImageResource
attached to the given action, if any.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()
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.static ImageResource
OsmPrimitiveImageProvider. getResource(OsmPrimitive primitive, java.util.Collection<OsmPrimitiveImageProvider.Options> options)
Returns anImageIcon
for the given OSM object, at the specified size.private static ImageResource
OsmPrimitiveImageProvider. getResourceFromMapPaintStyles(OsmPrimitive primitive, java.util.Collection<OsmPrimitiveImageProvider.Options> options)
Computes a new padded icon for the given tagged primitive, using map paint styles.ImageResource
ImageResource. setDisabled(boolean disabled)
Set, if image must be filtered to grayscale so it will look like disabled icon.Methods in org.openstreetmap.josm.tools that return types with arguments of type ImageResource Modifier and Type Method Description static java.util.Optional<ImageResource>
OsmPrimitiveImageProvider. getResource(java.lang.String key, java.lang.String value, OsmPrimitiveType primitiveType)
Searches for an icon for the given key/value and primitiveTypeMethods in org.openstreetmap.josm.tools with parameters of type ImageResource Modifier and Type Method Description void
Tag2Link.LinkConsumer. acceptLink(java.lang.String name, java.lang.String url, ImageResource icon)
Performs the operation on the given arguments.static java.awt.Image
HiDPISupport. getMultiResolutionImage(java.awt.Image base, ImageResource ir, ImageResizeMode resizeMode)
Create a multi-resolution image from a base image and anImageResource
.Method parameters in org.openstreetmap.josm.tools with type arguments of type ImageResource Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>
ImageProvider. getResourceAsync(java.util.function.Consumer<? super ImageResource> action)
Load the image in a background thread.Constructors in org.openstreetmap.josm.tools with parameters of type ImageResource Constructor Description ImageResource(ImageResource res, java.util.List<ImageOverlay> overlayInfo)
Constructs a newImageResource
from another one and sets overlays.
-