Class JavaBeanPaletteItem
java.lang.Object
com.inductiveautomation.vision.api.designer.palette.AbstractPaletteItem
com.inductiveautomation.vision.api.designer.palette.JavaBeanPaletteItem
- All Implemented Interfaces:
ComponentInstantiator,PaletteItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComponent(VisionDesignerInterface context, JComponent drop) Create a new instance of the component that this item representsstatic JComponentcreateJavaBean(Class beanClass) booleanCan this palette item ever become selected? Palette items are selected so that the user may specify their components' exact bounds on the window.Methods inherited from class com.inductiveautomation.vision.api.designer.palette.AbstractPaletteItem
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getName, getShortDescription, getSmallIcon, isEnabled, isSelected, removePropertyChangeListener, removePropertyChangeListener, setDisplayName, setEnabled, setIcon, setName, setSelected, setShortDescription, setSmallIcon, toString
-
Constructor Details
-
JavaBeanPaletteItem
- Throws:
ClassNotFoundException
-
JavaBeanPaletteItem
-
-
Method Details
-
createComponent
public JComponent createComponent(VisionDesignerInterface context, JComponent drop) throws Exception Description copied from interface:ComponentInstantiatorCreate a new instance of the component that this item represents- Throws:
Exception
-
createJavaBean
- Throws:
Exception
-
isSelectable
public boolean isSelectable()Description copied from interface:PaletteItemCan this palette item ever become selected? Palette items are selected so that the user may specify their components' exact bounds on the window.
-