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.void
setCategory
(LocalizedString category) void
setDescription
(LocalizedString description) void
setDisplayName
(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_, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:DescriptiveProperty
A friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.- Specified by:
getDisplayName
in interfaceDescriptiveProperty<T>
-
getCategory
Description copied from interface:DescriptiveProperty
The category under which this property will be placed when editing.- Specified by:
getCategory
in interfaceDescriptiveProperty<T>
-
getDescription
Description copied from interface:DescriptiveProperty
Optional description/documentation for the property. May return null if no information is available.- Specified by:
getDescription
in interfaceDescriptiveProperty<T>
-
setDisplayName
-
setCategory
-
getDisplayNameKey
-
getCategoryKey
-
getDescriptionKey
-
setDescription
-