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
,PropertyEditor
- Direct Known Subclasses:
AbstractNumberEditor
,ByteArrayEditor
,DataSetEditor
,DateEditor
,DateFormatEditor
,FormattedMaskPatternEditor
,ImagePathEditor
,KeyboardNameEditor
,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 the
panel
property.-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected JButton
protected void
init
(FeatureDescriptor descriptor) protected abstract void
This is where you can add your own components to the "panel" field.boolean
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
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource, setValue
-
Field Details
-
addGlue
protected boolean addGlue
-
-
Constructor Details
-
ConfiguratorEditorSupport
public ConfiguratorEditorSupport()
-
-
Method Details
-
setBindableEnabled
public void setBindableEnabled(boolean b) - Specified by:
setBindableEnabled
in interfaceBindablePropertyEditor
-
isBindableEnabled
public boolean isBindableEnabled()- Specified by:
isBindableEnabled
in interfaceBindablePropertyEditor
-
createDynamicOptsButton
-
init
- 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.
-