Class BasicDescriptiveProperty<T>
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicProperty<T>
com.inductiveautomation.ignition.common.config.BasicDescriptiveProperty<T>
- All Implemented Interfaces:
DescriptiveProperty<T>,Property<T>,Serializable
- Direct Known Subclasses:
BasicConfigurationProperty,ZoneTraitDescriptor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicDescriptiveProperty(Property<T> copy) BasicDescriptiveProperty(Property<T> copy, String categoryKey) BasicDescriptiveProperty(String name, LocalizedString displayName, LocalizedString category, LocalizedString description, Class<? extends T> cls, T defaultValue) BasicDescriptiveProperty(String name, Class<? extends T> cls) BasicDescriptiveProperty(String name, String displayNameKey, String categoryKey, Class<? extends T> cls) BasicDescriptiveProperty(String name, String displayNameKey, String categoryKey, Class<? extends T> cls, T defaultValue) BasicDescriptiveProperty(String name, String displayNameKey, String categoryKey, String descriptionKey, Class<? extends T> cls, T defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionThe category under which this property will be placed when editing.Optional description/documentation for the property.A friendly display name for the property.voidsetCategory(LocalizedString category) voidsetDescription(LocalizedString description) voidsetDisplayName(LocalizedString displayName) Methods 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.Property
getDefaultValue, getName, getType
-
Constructor Details
-
BasicDescriptiveProperty
public BasicDescriptiveProperty() -
BasicDescriptiveProperty
-
BasicDescriptiveProperty
-
BasicDescriptiveProperty
-
BasicDescriptiveProperty
-
BasicDescriptiveProperty
-
BasicDescriptiveProperty
public BasicDescriptiveProperty(String name, LocalizedString displayName, LocalizedString category, LocalizedString description, Class<? extends T> cls, T defaultValue) -
BasicDescriptiveProperty
-
-
Method Details
-
getDisplayName
Description copied from interface:DescriptivePropertyA friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.- Specified by:
getDisplayNamein interfaceDescriptiveProperty<T>
-
getCategory
Description copied from interface:DescriptivePropertyThe category under which this property will be placed when editing.- Specified by:
getCategoryin interfaceDescriptiveProperty<T>
-
getDescription
Description copied from interface:DescriptivePropertyOptional description/documentation for the property. May return null if no information is available.- Specified by:
getDescriptionin interfaceDescriptiveProperty<T>
-
setDisplayName
-
setCategory
-
getDisplayNameKey
-
getCategoryKey
-
getDescriptionKey
-
setDescription
-