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.useIconsFactoryThe controller for icons loading from bitmaps(gifs, jpg and etc).
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringiconPathDeprecated.private java.lang.ClassloaderDeprecated.private static java.lang.StringMD_ICONS_DIRECTORYDeprecated.
-
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.IconcreateIcon()Deprecated.Creates icon by given class file and pathjava.lang.StringgetIconPath()Deprecated.Returns full icon name.
-
-
-
Method Detail
-
createIcon
public javax.swing.Icon createIcon()
Deprecated.Description copied from interface:IconControlerInterfaceCreates icon by given class file and path- Specified by:
createIconin interfaceIconControlerInterface- Returns:
- Loaded image file
-
getIconPath
public java.lang.String getIconPath()
Deprecated.Returns full icon name. Method should newer return null.- Specified by:
getIconPathin interfaceIconControlerInterface- Returns:
- icon image directory.
-
-