Interface ComponentInstantiator
- All Known Subinterfaces:
PaletteItem
- All Known Implementing Classes:
AbstractPaletteItem
,JavaBeanPaletteItem
,SerializedPaletteItem
public interface ComponentInstantiator
-
Method Summary
Modifier and TypeMethodDescriptioncreateComponent
(VisionDesignerInterface context, JComponent dropContainer) Create a new instance of the component that this item representsThe name of the type of component that will be created
-
Method Details
-
getDisplayName
String getDisplayName()The name of the type of component that will be created -
createComponent
JComponent createComponent(VisionDesignerInterface context, JComponent dropContainer) throws Exception Create a new instance of the component that this item represents- Throws:
Exception
-