Class ByteArrayEditor
- 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.ByteArrayEditor
-
- All Implemented Interfaces:
BindablePropertyEditor
,java.beans.PropertyEditor
public class ByteArrayEditor extends ConfiguratorEditorSupport
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupport
addGlue
-
Fields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupport
bean, BUTTON_MARGIN, canceled, fpmi, LARGE_DIMENSION, MEDIUM_DIMENSION, modelColumn, modelRow, panel, propertyName, SMALL_DIMENSION, tableModel, TINY_DIMENSION
-
-
Constructor Summary
Constructors Constructor Description ByteArrayEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
chooseFile()
This function shows an interactive image choose, and if an image is chosen, calls setValue() with the path of the imagejava.lang.Object
getValue()
protected void
initComponents()
This is where you can add your own components to the "panel" field.void
setValue(java.lang.Object o)
-
Methods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupport
createDynamicOptsButton, init, isBindableEnabled, setBindableEnabled
-
Methods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupport
getBean, getContext, getCustomEditor, getFPMIContext, getPropertyName, init, isCanceled, setAlignment, supportsCustomEditor
-
-
-
-
Method Detail
-
initComponents
protected void initComponents()
Description copied from class:ConfiguratorEditorSupport
This 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:
initComponents
in classConfiguratorEditorSupport
-
setValue
public void setValue(java.lang.Object o)
- Specified by:
setValue
in interfacejava.beans.PropertyEditor
- Overrides:
setValue
in classjava.beans.PropertyEditorSupport
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfacejava.beans.PropertyEditor
- Overrides:
getValue
in classjava.beans.PropertyEditorSupport
-
chooseFile
protected void chooseFile()
This function shows an interactive image choose, and if an image is chosen, calls setValue() with the path of the image
-
-