Class UDTProperty
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.binding.UDTProperty
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class UDTProperty extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUDTProperty.SetupDirectBinding
 - 
Constructor SummaryConstructors Constructor Description UDTProperty()For XML serializationUDTProperty(TagPath qualifiedType)Creates a UDT property that represents a given type.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidcreateMap()Initializes the properties map.UdtDefinitionInfogetDefinition()TagPathgetDrivingTagPath()Returns the path of the instance this UDTProperty is currently representing, if any.TagPathgetQualifiedType()The tag path of the type of this UDTjava.util.Collection<TagPath>getSubProperties()java.lang.Class<?>getType(TagPath subProperty)QualifiedValuegetValue(TagPath path)voidinitialize(javax.swing.JComponent parent, java.lang.String propertyName, ClientContext context)UDT properties must be initialized to learn the current structure of the UDT they represent.voidsetDrivingTagPath(TagPath tagPath)voidsetQualifiedType(TagPath qualifiedType)Deprecated.voidsetQualifiedType(TagPath qualifiedType)voidsetTag(UdtDefinitionInfo tag, TagPath tagPath)voidsetupDirectBinding(javax.swing.JComponent comp, java.lang.String name)voidsetValue(TagPath path, QualifiedValue value)protected voidsetValueInternal(TagPath path, QualifiedValue value, boolean checkExisting, boolean fireGlobal)java.lang.StringtoString()voidupdateDefinition(UdtDefinitionInfo tag, boolean fireEvents)voidupdateFromToString(java.lang.String toStringValue)
 
- 
- 
- 
Constructor Detail- 
UDTPropertypublic UDTProperty() For XML serialization
 - 
UDTPropertypublic UDTProperty(TagPath qualifiedType) Creates a UDT property that represents a given type.
 
- 
 - 
Method Detail- 
setupDirectBindingpublic void setupDirectBinding(javax.swing.JComponent comp, java.lang.String name) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 - 
updateFromToStringpublic void updateFromToString(java.lang.String toStringValue) 
 - 
createMapprotected void createMap() Initializes the properties map. Only here so that our subclass in TemplateHolder can avoid this initialization
 - 
initializepublic void initialize(javax.swing.JComponent parent, java.lang.String propertyName, ClientContext context)UDT properties must be initialized to learn the current structure of the UDT they represent.
 - 
getSubPropertiespublic java.util.Collection<TagPath> getSubProperties() 
 - 
getQualifiedTypepublic TagPath getQualifiedType() The tag path of the type of this UDT
 - 
setQualifiedType@Deprecated public void setQualifiedType(TagPath qualifiedType) Deprecated.For deserialization backwards compatibility only
 - 
setQualifiedTypepublic void setQualifiedType(TagPath qualifiedType) 
 - 
getTypepublic java.lang.Class<?> getType(TagPath subProperty) 
 - 
updateDefinitionpublic void updateDefinition(UdtDefinitionInfo tag, boolean fireEvents) 
 - 
setTagpublic void setTag(UdtDefinitionInfo tag, TagPath tagPath) 
 - 
setDrivingTagPathpublic void setDrivingTagPath(TagPath tagPath) 
 - 
getDrivingTagPathpublic TagPath getDrivingTagPath() Returns the path of the instance this UDTProperty is currently representing, if any. Otherwise, null.
 - 
getDefinitionpublic UdtDefinitionInfo getDefinition() 
 - 
setValuepublic void setValue(TagPath path, QualifiedValue value) 
 - 
setValueInternalprotected void setValueInternal(TagPath path, QualifiedValue value, boolean checkExisting, boolean fireGlobal) 
 - 
getValuepublic QualifiedValue getValue(TagPath path) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-