Package com.nomagic.ui
Class ImageHelper
- java.lang.Object
-
- com.nomagic.ui.ImageHelper
-
@OpenApiAll @Deprecated public class ImageHelper extends java.lang.Object
Deprecated.useScalableImageIcon
to load icons of any supported formatHelper methods to work with the images.
-
-
Constructor Summary
Constructors Constructor Description ImageHelper()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ResizableIcon
createResizableIcon(java.awt.Image image)
Deprecated.Create resizable icon from given image..static ResizableIcon
createResizableIcon(java.net.URL url, ImageFormat imageFormat)
Deprecated.Create resizable icon from given image resource URL.
-
-
-
Method Detail
-
createResizableIcon
public static ResizableIcon createResizableIcon(java.net.URL url, ImageFormat imageFormat) throws java.io.IOException
Deprecated.Create resizable icon from given image resource URL.- Parameters:
url
- url of the image resource (file).imageFormat
- the image format.- Returns:
- created image as resizable icon.
- Throws:
java.io.IOException
- See Also:
VectorImageFormat.SVG
,VectorImageFormat.WMF
,RasterImageFormat.UNSPECIFIED
-
createResizableIcon
public static ResizableIcon createResizableIcon(java.awt.Image image)
Deprecated.Create resizable icon from given image..- Parameters:
image
- image to create icon for.- Returns:
- created image as resizable icon.
-
-