Class SwingBooleanEditor
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.bb.SwingBooleanEditor
- All Implemented Interfaces:
BindablePropertyEditor, PropertyEditor
An editor which represents a boolean value. This editor is implemented as a checkbox with the
text of the check box reflecting the state of the checkbox.
-
Field Summary
Fields inherited from class ConfiguratorEditorSupport
addGlueFields inherited from class 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 TypeMethodDescriptionvoidapplyAutomationName(String prop) getValue()protected voidThis is where you can add your own components to the "panel" field.voidMethods inherited from class ConfiguratorEditorSupport
createDynamicOptsButton, init, isBindableEnabled, setBindableEnabledMethods inherited from class SwingEditorSupport
getBean, getContext, getCustomEditor, getFPMIContext, getPropertyName, init, isCanceled, setAlignment, supportsCustomEditorMethods inherited from class PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, setSource
-
Constructor Details
-
SwingBooleanEditor
public SwingBooleanEditor()
-
-
Method Details
-
setValue
- Specified by:
setValuein interfacePropertyEditor- Overrides:
setValuein classPropertyEditorSupport
-
getValue
- Specified by:
getValuein interfacePropertyEditor- Overrides:
getValuein classPropertyEditorSupport
-
initComponents
protected 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 classConfiguratorEditorSupport
-
applyAutomationName
- Overrides:
applyAutomationNamein classConfiguratorEditorSupport
-