Class BasicConfigurationProperty<T>
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicProperty<T>
com.inductiveautomation.ignition.common.config.BasicDescriptiveProperty<T>
com.inductiveautomation.ignition.common.config.BasicConfigurationProperty<T>
- All Implemented Interfaces:
ConfigurationProperty<T>,DescriptiveProperty<T>,Property<T>,Serializable
- Direct Known Subclasses:
BasicNotificationProfileProperty
public class BasicConfigurationProperty<T>
extends BasicDescriptiveProperty<T>
implements ConfigurationProperty<T>, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.common.config.ConfigurationProperty
ConfigurationProperty.CustomEditorDescriptor, ConfigurationProperty.Option<T> -
Constructor Summary
ConstructorsConstructorDescriptionBean compatibility...BasicConfigurationProperty(Property<T> copy) BasicConfigurationProperty(String name, String displayNameKey, String categoryKey, Class<T> cls, T defaultValue) BasicConfigurationProperty(String name, String displayNameKey, String categoryKey, String descriptionKey, Class<T> cls, T defaultValue) BasicConfigurationProperty(String name, String displayNameKey, String categoryKey, String descriptionKey, Class<T> cls, T defaultValue, String editorClass) BasicConfigurationProperty(String name, String displayNameKey, String categoryKey, String descriptionKey, String baseKey, Class<T> cls, T defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionReturns a descriptor for the custom editor used for this property.If this returns a non-null value then a drop-down menu ofConfigurationProperty.Options will be displayed to the user.If base key is present, then the system will try to display baseKey+str(value) for each allowed option.voidvoidsetOptions(List<ConfigurationProperty.Option<T>> options) Methods inherited from class com.inductiveautomation.ignition.common.config.BasicDescriptiveProperty
getCategory, getCategoryKey, getDescription, getDescriptionKey, getDisplayName, getDisplayNameKey, setCategory, setDescription, setDisplayNameMethods inherited from class com.inductiveautomation.ignition.common.config.BasicProperty
equals, getClazz, getDefaultValue, getName, getType, hashCode, of, setClazz, setClazz_, setDefaultValue, setDefaultValue_, setName, setName_, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.config.DescriptiveProperty
getCategory, getDescription, getDisplayNameMethods inherited from interface com.inductiveautomation.ignition.common.config.Property
getDefaultValue, getName, getType
-
Constructor Details
-
BasicConfigurationProperty
public BasicConfigurationProperty()Bean compatibility... -
BasicConfigurationProperty
-
BasicConfigurationProperty
-
BasicConfigurationProperty
-
BasicConfigurationProperty
-
BasicConfigurationProperty
-
BasicConfigurationProperty
-
-
Method Details
-
getOptions
Description copied from interface:ConfigurationPropertyIf this returns a non-null value then a drop-down menu ofConfigurationProperty.Options will be displayed to the user.- Specified by:
getOptionsin interfaceConfigurationProperty<T>- Returns:
- A list of
ConfigurationProperty.Options to display, or Optional.empty() if this property doesn't need a drop-down.
-
setOptions
-
getCustomEditor
Description copied from interface:ConfigurationPropertyReturns a descriptor for the custom editor used for this property. If not defined, the standard editor will be used.- Specified by:
getCustomEditorin interfaceConfigurationProperty<T>
-
setCustomEditor
-
getValueDisplayBaseKey
If base key is present, then the system will try to display baseKey+str(value) for each allowed option.- Specified by:
getValueDisplayBaseKeyin interfaceConfigurationProperty<T>
-