public static enum ImageProvider.ImageSizes extends java.lang.Enum<ImageProvider.ImageSizes>
Enum Constant and Description |
---|
ABOUT_LOGO
About dialog logo size
|
CURSOR
cursor icon size
|
CURSOROVERLAY
cursor overlay icon size
|
DEFAULT
The default image size
|
LARGEICON
LARGE_ICON_KEY value of an Action
|
LAYER
Layer list icon size
|
MAP
map icon
|
MAPMAX
map icon maximum size
|
MENU
menu icon size
|
POPUPMENU
menu icon size in popup menus
|
SETTINGS_TAB
Settings tab icon size
|
SIDEBUTTON
Side button maximum height
|
SMALLICON
SMALL_ICON value of an Action
|
SPLASH_LOGO
Splash dialog logo size
|
TOOLBAR
Toolbar button icon size
|
Modifier and Type | Field and Description |
---|---|
private int |
virtualHeight |
private int |
virtualWidth |
Modifier and Type | Method and Description |
---|---|
int |
getAdjustedHeight()
Returns the image height in pixels to use for display
|
int |
getAdjustedWidth()
Returns the image width in pixels to use for display
|
java.awt.Dimension |
getImageDimension()
Returns the image size as dimension
|
int |
getVirtualHeight()
Returns the image height in virtual pixels
|
int |
getVirtualWidth()
Returns the image width in virtual pixels
|
static ImageProvider.ImageSizes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageProvider.ImageSizes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageProvider.ImageSizes SMALLICON
public static final ImageProvider.ImageSizes LARGEICON
public static final ImageProvider.ImageSizes MAP
public static final ImageProvider.ImageSizes MAPMAX
public static final ImageProvider.ImageSizes CURSOR
public static final ImageProvider.ImageSizes CURSOROVERLAY
public static final ImageProvider.ImageSizes MENU
public static final ImageProvider.ImageSizes POPUPMENU
public static final ImageProvider.ImageSizes LAYER
public static final ImageProvider.ImageSizes TOOLBAR
public static final ImageProvider.ImageSizes SIDEBUTTON
public static final ImageProvider.ImageSizes SETTINGS_TAB
public static final ImageProvider.ImageSizes DEFAULT
public static final ImageProvider.ImageSizes SPLASH_LOGO
public static final ImageProvider.ImageSizes ABOUT_LOGO
private final int virtualWidth
private final int virtualHeight
public static ImageProvider.ImageSizes[] values()
for (ImageProvider.ImageSizes c : ImageProvider.ImageSizes.values()) System.out.println(c);
public static ImageProvider.ImageSizes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getVirtualWidth()
public int getVirtualHeight()
public int getAdjustedWidth()
public int getAdjustedHeight()
public java.awt.Dimension getImageDimension()