Class ImagePathEditor
- java.lang.Object
- 
- java.beans.PropertyEditorSupport
- 
- com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupport
- 
- com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupport
- 
- com.inductiveautomation.factorypmi.designer.property.editors.ImagePathEditor
 
 
 
 
- 
- All Implemented Interfaces:
- BindablePropertyEditor,- java.beans.PropertyEditor
 
 public class ImagePathEditor extends ConfiguratorEditorSupport 
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupportaddGlue
 - 
Fields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupportbean, BUTTON_MARGIN, canceled, fpmi, LARGE_DIMENSION, MEDIUM_DIMENSION, modelColumn, modelRow, panel, propertyName, SMALL_DIMENSION, tableModel, TINY_DIMENSION
 
- 
 - 
Constructor SummaryConstructors Constructor Description ImagePathEditor()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidchoosePath()This function shows an interactive image choose, and if an image is chosen, calls setValue() with the path of the imagejava.lang.ObjectgetValue()protected voidinitComponents()This is where you can add your own components to the "panel" field.static voidresizePMIImage(java.lang.Object component, java.awt.image.ImageObserver imageObserver, java.lang.String path)voidsetValue(java.lang.Object o)- 
Methods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupportcreateDynamicOptsButton, init, isBindableEnabled, setBindableEnabled
 - 
Methods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupportgetBean, getContext, getCustomEditor, getFPMIContext, getPropertyName, init, isCanceled, setAlignment, supportsCustomEditor
 
- 
 
- 
- 
- 
Method Detail- 
initComponentsprotected void initComponents() Description copied from class:ConfiguratorEditorSupportThis is where you can add your own components to the "panel" field. It has a box layout and the binding button will be added after this method is called.- Specified by:
- initComponentsin class- ConfiguratorEditorSupport
 
 - 
setValuepublic void setValue(java.lang.Object o) - Specified by:
- setValuein interface- java.beans.PropertyEditor
- Overrides:
- setValuein class- java.beans.PropertyEditorSupport
 
 - 
getValuepublic java.lang.Object getValue() - Specified by:
- getValuein interface- java.beans.PropertyEditor
- Overrides:
- getValuein class- java.beans.PropertyEditorSupport
 
 - 
choosePathprotected void choosePath() This function shows an interactive image choose, and if an image is chosen, calls setValue() with the path of the image
 - 
resizePMIImagepublic static void resizePMIImage(java.lang.Object component, java.awt.image.ImageObserver imageObserver, java.lang.String path)
 
- 
 
-