Class SerializedPaletteItem
java.lang.Object
com.inductiveautomation.vision.api.designer.palette.AbstractPaletteItem
com.inductiveautomation.factorypmi.designer.palette.model.SerializedPaletteItem
- All Implemented Interfaces:
- ComponentInstantiator,- PaletteItem
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateComponent(VisionDesignerInterface context, JComponent dropContainer) Create a new instance of the component that this item representsgetData()getIcon()byte[]booleanCan this palette item ever become selected? Palette items are selected so that the user may specify their components' exact bounds on the window.voidCalled by the AbstractCustomGroupView when a copy is detected after selecting the capture button.voidsetImageData(byte[] imageData) voidvoidsetShortDescription(String shortDescription) voidsetVersion(int version) Deprecated.voidsetWindow(boolean window) Deprecated.Methods inherited from class com.inductiveautomation.vision.api.designer.palette.AbstractPaletteItemaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getDisplayName, getName, getShortDescription, isEnabled, isSelected, removePropertyChangeListener, removePropertyChangeListener, setDisplayName, setEnabled, setIcon, setSelected, setSmallIcon, toString
- 
Constructor Details- 
SerializedPaletteItempublic SerializedPaletteItem()
 
- 
- 
Method Details- 
createComponentpublic JComponent createComponent(VisionDesignerInterface context, JComponent dropContainer) throws Exception Description copied from interface:ComponentInstantiatorCreate a new instance of the component that this item represents- Throws:
- Exception
 
- 
isSelectablepublic 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.
- 
getIcon- Specified by:
- getIconin interface- PaletteItem
- Overrides:
- getIconin class- AbstractPaletteItem
 
- 
getSmallIcon- Specified by:
- getSmallIconin interface- PaletteItem
- Overrides:
- getSmallIconin class- AbstractPaletteItem
 
- 
setName- Overrides:
- setNamein class- AbstractPaletteItem
 
- 
setShortDescription- Overrides:
- setShortDescriptionin class- AbstractPaletteItem
 
- 
getData
- 
setDataCalled by the AbstractCustomGroupView when a copy is detected after selecting the capture button.- Parameters:
- data- Gzipped UTF-8 encoded XML
 
- 
getImageDatapublic byte[] getImageData()
- 
setImageDatapublic void setImageData(byte[] imageData) 
- 
setWindowDeprecated.
- 
setVersionDeprecated.
 
-