Package | Description |
---|---|
org.openstreetmap.josm.data.imagery |
Provides the classes for JOSM imagery sources, coupled with
JMapViewer classes. |
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ImageProvider.ImageSizes,java.util.Map<ImageryInfo.ImageryCategory,javax.swing.ImageIcon>> |
ImageryInfo.ImageryCategory.iconCache |
Modifier and Type | Method and Description |
---|---|
javax.swing.ImageIcon |
ImageryInfo.ImageryCategory.getIcon(ImageProvider.ImageSizes size)
Returns the category icon at the given size.
|
Modifier and Type | Method and Description |
---|---|
static ImageProvider.ImageSizes |
ImageProvider.ImageSizes.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageProvider.ImageSizes[] |
ImageProvider.ImageSizes.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.ImageIcon |
ImageProvider.createBlankIcon(ImageProvider.ImageSizes size)
Creates a blank icon of the given size.
|
static javax.swing.ImageIcon |
ImageProvider.get(java.lang.String name,
ImageProvider.ImageSizes size)
Load an image with a given file name and size.
|
static javax.swing.ImageIcon |
ImageProvider.get(java.lang.String subdir,
java.lang.String name,
ImageProvider.ImageSizes size)
Load an image from directory with a given file name and size.
|
static javax.swing.ImageIcon |
ImageProvider.getEmpty(ImageProvider.ImageSizes size)
Load an empty image with a given size.
|
ImageProvider |
ImageProvider.setMaxSize(ImageProvider.ImageSizes size)
Limit the maximum size of the image.
|
ImageProvider |
ImageProvider.setSize(ImageProvider.ImageSizes size)
Set the dimensions of the image.
|
Constructor and Description |
---|
ImageSizes(ImageProvider.ImageSizes that) |