Class ConfiguratorEditorSupport
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupport
-
- com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupport
-
- All Implemented Interfaces:
BindablePropertyEditor
,java.beans.PropertyEditor
- Direct Known Subclasses:
AbstractNumberEditor
,ByteArrayEditor
,DataSetEditor
,DateEditor
,DateFormatEditor
,FormattedMaskPatternEditor
,ImagePathEditor
,NumberFormatEditor
,PaintPropertyEditor
,RegExPatternEditor
,ReportPathEditor
,RotationEditor
,StringPropertyEditor
,StrokePropertyEditor
,SwingBooleanEditor
,SwingBorderEditor
,SwingColorEditor
,SwingFontEditor
,SwingStringEditor
,TemplatePathEditor
,TimeZoneEditor
,UDTPropertyEditor
public abstract class ConfiguratorEditorSupport extends SwingEditorSupport implements BindablePropertyEditor
An abstract property editor that automatically adds the dynamic property binding button. Implementors of this class should implement the abstract initComonents() function, in which they should add their components to thepanel
property.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
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 ConfiguratorEditorSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected javax.swing.JButton
createDynamicOptsButton()
protected void
init(java.beans.FeatureDescriptor descriptor)
protected abstract void
initComponents()
This is where you can add your own components to the "panel" field.boolean
isBindableEnabled()
void
setBindableEnabled(boolean b)
-
Methods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupport
getBean, getContext, getCustomEditor, getFPMIContext, getPropertyName, init, isCanceled, setAlignment, supportsCustomEditor
-
-
-
-
Method Detail
-
setBindableEnabled
public void setBindableEnabled(boolean b)
- Specified by:
setBindableEnabled
in interfaceBindablePropertyEditor
-
isBindableEnabled
public boolean isBindableEnabled()
- Specified by:
isBindableEnabled
in interfaceBindablePropertyEditor
-
createDynamicOptsButton
protected javax.swing.JButton createDynamicOptsButton()
-
init
protected void init(java.beans.FeatureDescriptor descriptor)
- Overrides:
init
in classSwingEditorSupport
-
initComponents
protected abstract void initComponents()
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.
-
-