Package com.nomagic.ui
Class ImageFormat
- java.lang.Object
-
- com.nomagic.ui.ImageFormat
-
- Direct Known Subclasses:
RasterImageFormat
,VectorImageFormat
@OpenApiAll @Deprecated public class ImageFormat extends java.lang.Object
Deprecated.useScalableImageIcon
to load icons of any supported formatDescribes the image format.- See Also:
VectorImageFormat
,RasterImageFormat
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImageFormat(boolean vector, java.lang.String format)
Deprecated.Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getFormat()
Deprecated.Image format.boolean
isVector()
Deprecated.Checks if the current image format is vector graphics
-
-
-
Method Detail
-
isVector
public final boolean isVector()
Deprecated.Checks if the current image format is vector graphics- Returns:
- true - vector graphics image format, otherwise (pixel or bitmap image format) - false;
-
getFormat
public java.lang.String getFormat()
Deprecated.Image format.- Returns:
- image format.
-
-