Package com.nomagic.magicdraw.ui
Class ImageIconProxy
- java.lang.Object
-
- javax.swing.ImageIcon
-
- com.nomagic.magicdraw.ui.ImageIconProxy
-
- All Implemented Interfaces:
java.io.Serializable
,javax.accessibility.Accessible
,javax.swing.Icon
@OpenApi @Deprecated public class ImageIconProxy extends javax.swing.ImageIcon
Deprecated.useIconsFactory
This class is used only for reloading icons after image path is changed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageIconProxy(IconControlerInterface iconControler)
Deprecated.The proxy constructor with given controllerImageIconProxy(java.lang.Class clazz, java.lang.String name)
Deprecated.Constructs a new ImageIcon instance.ImageIconProxy(java.lang.Class clazz, java.lang.String name, java.lang.String pathToIcons)
Deprecated.Constructs a new ImageIcon instance.
-
-
-
Constructor Detail
-
ImageIconProxy
@OpenApi public ImageIconProxy(java.lang.Class clazz, java.lang.String name)
Deprecated.Constructs a new ImageIcon instance.- Parameters:
clazz
- the class to identify resources.name
- the name of the icon in the map.
-
ImageIconProxy
@OpenApi public ImageIconProxy(java.lang.Class clazz, java.lang.String name, java.lang.String pathToIcons)
Deprecated.Constructs a new ImageIcon instance. For icons directory uses given path- Parameters:
clazz
- the class to indentify resources.name
- the name of the icon in the map.pathToIcons
- path to icons directory, this directory must contain subdirs icons32 and icons24. Can be empty string In this case it means same dir as clazz.
-
ImageIconProxy
@OpenApi public ImageIconProxy(IconControlerInterface iconControler)
Deprecated.The proxy constructor with given controller- Parameters:
iconControler
-
-
-