Package com.nomagic.magicdraw.ui
Class BitmapIconControler
- java.lang.Object
-
- com.nomagic.magicdraw.ui.BitmapIconControler
-
- All Implemented Interfaces:
IconControlerInterface
@Deprecated @OpenApi public class BitmapIconControler extends java.lang.Object implements IconControlerInterface
Deprecated.useIconsFactory
The controller for icons loading from bitmaps(gifs, jpg and etc).
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
iconPath
Deprecated.private java.lang.Class
loader
Deprecated.private static java.lang.String
MD_ICONS_DIRECTORY
Deprecated.
-
Constructor Summary
Constructors Constructor Description BitmapIconControler(java.lang.Class clazz, java.lang.String imageName)
Deprecated.BitmapIconControler(java.lang.Class clazz, java.lang.String iconName, java.lang.String iconDirectory)
Deprecated.
-
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.
-
-
-
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.Returns full icon name. Method should newer return null.- Specified by:
getIconPath
in interfaceIconControlerInterface
- Returns:
- icon image directory.
-
-