Interface ComponentInstantiator
-
- All Known Subinterfaces:
PaletteItem
- All Known Implementing Classes:
AbstractPaletteItem,JavaBeanPaletteItem,SerializedPaletteItem
public interface ComponentInstantiator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.JComponentcreateComponent(VisionDesignerInterface context, javax.swing.JComponent dropContainer)Create a new instance of the component that this item representsjava.lang.StringgetDisplayName()The name of the type of component that will be created
-
-
-
Method Detail
-
getDisplayName
java.lang.String getDisplayName()
The name of the type of component that will be created
-
createComponent
javax.swing.JComponent createComponent(VisionDesignerInterface context, javax.swing.JComponent dropContainer) throws java.lang.Exception
Create a new instance of the component that this item represents- Throws:
java.lang.Exception
-
-