Class IntegerEditor
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.AbstractNumberEditor
com.inductiveautomation.factorypmi.designer.property.editors.IntegerEditor
- All Implemented Interfaces:
- BindablePropertyEditor,- PropertyEditor
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.factorypmi.designer.property.editors.AbstractNumberEditorAbstractNumberEditor.NullAcceptableNumberFormatter
- 
Field SummaryFields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.AbstractNumberEditorformattedTextFieldFields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupportaddGlueFields inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupportbean, BUTTON_MARGIN, canceled, fpmi, LARGE_DIMENSION, MEDIUM_DIMENSION, modelColumn, modelRow, panel, propertyName, SMALL_DIMENSION, tableModel, TINY_DIMENSION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMust overload the PropertyChangeListener registration because this class is the only interface to the SwingEnumEditor.protected ObjectextractSubtype(Number number) Return the right kind of number here.Return the custom editor for the enumeration or the integer.getValue()protected voidinit(FeatureDescriptor descriptor) Initializes this property editor with the enumerated items.protected NumberFormatOverride to provide the correct number format for your typevoidvoidsetBindableEnabled(boolean b) voidMethods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.AbstractNumberEditorinitComponentsMethods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupportcreateDynamicOptsButton, isBindableEnabledMethods inherited from class com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupportgetBean, getContext, getFPMIContext, getPropertyName, init, isCanceled, setAlignment, supportsCustomEditorMethods inherited from class java.beans.PropertyEditorSupportfirePropertyChange, getAsText, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setAsText, setSource
- 
Constructor Details- 
IntegerEditorpublic IntegerEditor()
 
- 
- 
Method Details- 
initInitializes this property editor with the enumerated items.- Overrides:
- initin class- ConfiguratorEditorSupport
 
- 
setBindableEnabledpublic void setBindableEnabled(boolean b) - Specified by:
- setBindableEnabledin interface- BindablePropertyEditor
- Overrides:
- setBindableEnabledin class- ConfiguratorEditorSupport
 
- 
getCustomEditorReturn the custom editor for the enumeration or the integer.- Specified by:
- getCustomEditorin interface- PropertyEditor
- Overrides:
- getCustomEditorin class- SwingEditorSupport
 
- 
addPropertyChangeListenerMust overload the PropertyChangeListener registration because this class is the only interface to the SwingEnumEditor.- Specified by:
- addPropertyChangeListenerin interface- PropertyEditor
- Overrides:
- addPropertyChangeListenerin class- PropertyEditorSupport
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- PropertyEditor
- Overrides:
- removePropertyChangeListenerin class- PropertyEditorSupport
 
- 
setValue- Specified by:
- setValuein interface- PropertyEditor
- Overrides:
- setValuein class- AbstractNumberEditor
 
- 
getValue- Specified by:
- getValuein interface- PropertyEditor
- Overrides:
- getValuein class- AbstractNumberEditor
 
- 
newNumberFormatDescription copied from class:AbstractNumberEditorOverride to provide the correct number format for your type- Specified by:
- newNumberFormatin class- AbstractNumberEditor
 
- 
extractSubtypeDescription copied from class:AbstractNumberEditorReturn the right kind of number here.- Specified by:
- extractSubtypein class- AbstractNumberEditor
- Parameters:
- number- Will never be null.
- Returns:
- The correct kind of number, for example, a Double
 
 
-