Class JavaBeanPaletteItem
- java.lang.Object
-
- com.inductiveautomation.vision.api.designer.palette.AbstractPaletteItem
-
- com.inductiveautomation.vision.api.designer.palette.JavaBeanPaletteItem
-
- All Implemented Interfaces:
ComponentInstantiator
,PaletteItem
public class JavaBeanPaletteItem extends AbstractPaletteItem
-
-
Constructor Summary
Constructors Constructor Description JavaBeanPaletteItem(java.lang.Class beanClass)
JavaBeanPaletteItem(java.lang.String className)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
createComponent(VisionDesignerInterface context, javax.swing.JComponent drop)
Create a new instance of the component that this item representsstatic javax.swing.JComponent
createJavaBean(java.lang.Class beanClass)
boolean
isSelectable()
Can 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
-
-
-
-
Method Detail
-
createComponent
public javax.swing.JComponent createComponent(VisionDesignerInterface context, javax.swing.JComponent drop) throws java.lang.Exception
Description copied from interface:ComponentInstantiator
Create a new instance of the component that this item represents- Throws:
java.lang.Exception
-
createJavaBean
public static javax.swing.JComponent createJavaBean(java.lang.Class beanClass) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isSelectable
public boolean isSelectable()
Description copied from interface:PaletteItem
Can this palette item ever become selected? Palette items are selected so that the user may specify their components' exact bounds on the window.
-
-