Class NumberFormatEditor
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.NumberFormatEditor
- All Implemented Interfaces:
BindablePropertyEditor
,FormatSetter
,PropertyEditor
A property editor for editing strings.
-
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 -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
protected void
This is where you can add your own components to the "panel" field.void
setFormatString
(String format) Callback from date format popupvoid
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
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
-
Constructor Details
-
NumberFormatEditor
public NumberFormatEditor()
-
-
Method Details
-
setValue
- Specified by:
setValue
in interfacePropertyEditor
- Overrides:
setValue
in classPropertyEditorSupport
-
getValue
- Specified by:
getValue
in interfacePropertyEditor
- Overrides:
getValue
in classPropertyEditorSupport
-
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
-
setFormatString
Callback from date format popup- Specified by:
setFormatString
in interfaceFormatSetter
-