Package com.nomagic.magicdraw.ui
Class VectorImageIconControler
- java.lang.Object
-
- com.nomagic.magicdraw.ui.VectorImageIconControler
-
- All Implemented Interfaces:
IconControlerInterface
@OpenApiAll @Deprecated public class VectorImageIconControler extends java.lang.Object implements IconControlerInterface
Deprecated.useIconsFactory
The controller for icons loading from svg and wmf formats.
-
-
Constructor Summary
Constructors Constructor Description VectorImageIconControler(java.lang.Class loader, java.lang.String iconPath, int iconSize, int type)
Deprecated.Construct VectorImageIconControler with the given argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.swing.Icon
createIcon()
Deprecated.Creates icon by given class file and pathjava.lang.String
getIconPath()
Deprecated.Returns full icon name.
-
-
-
Field Detail
-
SVG
public static final int SVG
Deprecated.- See Also:
- Constant Field Values
-
WMF
public static final int WMF
Deprecated.- See Also:
- Constant Field Values
-
loader
private final java.lang.Class loader
Deprecated.
-
iconPath
private final java.lang.String iconPath
Deprecated.
-
iconSize
private final int iconSize
Deprecated.
-
-
Constructor Detail
-
VectorImageIconControler
@OpenApi public VectorImageIconControler(java.lang.Class loader, java.lang.String iconPath, int iconSize, int type)
Deprecated.Construct VectorImageIconControler with the given argument.- Parameters:
loader
- The loader.iconPath
- Icon Path.iconSize
- Icon size.type
- Type of icon.
-
-
Method Detail
-
createIcon
public javax.swing.Icon createIcon()
Deprecated.Description copied from interface:IconControlerInterface
Creates icon by given class file and path- Specified by:
createIcon
in interfaceIconControlerInterface
- Returns:
- Loaded image file
-
getIconPath
public java.lang.String getIconPath()
Deprecated.Description copied from interface:IconControlerInterface
Returns full icon name.- Specified by:
getIconPath
in interfaceIconControlerInterface
- Returns:
- icon image directory.
-
-