Class UDTProperty
java.lang.Object
com.inductiveautomation.factorypmi.application.binding.UDTProperty
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFor XML serializationUDTProperty
(TagPath qualifiedType) Creates a UDT property that represents a given type. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initializes the properties map.Returns the path of the instance this UDTProperty is currently representing, if any.The tag path of the type of this UDTClass<?>
void
initialize
(JComponent parent, String propertyName, ClientContext context) UDT properties must be initialized to learn the current structure of the UDT they represent.void
setDrivingTagPath
(TagPath tagPath) void
setQualifiedType
(TagPath qualifiedType) Deprecated.void
setQualifiedType
(TagPath qualifiedType) void
setTag
(UdtDefinitionInfo tag, TagPath tagPath) void
setupDirectBinding
(JComponent comp, String name) void
setValue
(TagPath path, QualifiedValue value) protected void
setValueInternal
(TagPath path, QualifiedValue value, boolean checkExisting, boolean fireGlobal) toString()
void
updateDefinition
(UdtDefinitionInfo tag, boolean fireEvents) void
updateFromToString
(String toStringValue)
-
Field Details
-
LOG
-
META_PATH
The path to the sub-property that holds the current tag's path.
-
-
Constructor Details
-
UDTProperty
public UDTProperty()For XML serialization -
UDTProperty
Creates a UDT property that represents a given type.
-
-
Method Details
-
setupDirectBinding
- Throws:
Exception
-
updateFromToString
-
createMap
protected void createMap()Initializes the properties map. Only here so that our subclass in TemplateHolder can avoid this initialization -
initialize
UDT properties must be initialized to learn the current structure of the UDT they represent. -
getSubProperties
-
getQualifiedType
The tag path of the type of this UDT -
setQualifiedType
Deprecated.For deserialization backwards compatibility only -
setQualifiedType
-
getType
-
updateDefinition
-
setTag
-
setDrivingTagPath
-
getDrivingTagPath
Returns the path of the instance this UDTProperty is currently representing, if any. Otherwise, null. -
getDefinition
-
setValue
-
setValueInternal
protected void setValueInternal(TagPath path, QualifiedValue value, boolean checkExisting, boolean fireGlobal) -
getValue
-
toString
-