Class UDTProperty

  • All Implemented Interfaces:

    public class UDTProperty
    extends java.lang.Object
    See Also:
    Serialized Form
    • Field Detail

      • META_PATH

        public static TagPath META_PATH
        The path to the sub-property that holds the current tag's path.
    • Constructor Detail

      • UDTProperty

        public UDTProperty()
        For XML serialization
      • UDTProperty

        public UDTProperty​(TagPath qualifiedType)
        Creates a UDT property that represents a given type.
    • Method Detail

      • setupDirectBinding

        public void setupDirectBinding​(javax.swing.JComponent comp,
                                       java.lang.String name)
                                throws java.lang.Exception
      • updateFromToString

        public void updateFromToString​(java.lang.String toStringValue)
      • createMap

        protected void createMap()
        Initializes the properties map. Only here so that our subclass in TemplateHolder can avoid this initialization
      • initialize

        public 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.
      • getSubProperties

        public java.util.Collection<TagPath> getSubProperties()
      • getQualifiedType

        public TagPath getQualifiedType()
        The tag path of the type of this UDT
      • setQualifiedType

        public void setQualifiedType​(TagPath qualifiedType)
        For deserialization backwards compatibility only
      • setQualifiedType

        public void setQualifiedType​(TagPath qualifiedType)
      • getType

        public java.lang.Class<?> getType​(TagPath subProperty)
      • updateDefinition

        public void updateDefinition​(UdtDefinitionInfo tag,
                                     boolean fireEvents)
      • setDrivingTagPath

        public void setDrivingTagPath​(TagPath tagPath)
      • getDrivingTagPath

        public TagPath getDrivingTagPath()
        Returns the path of the instance this UDTProperty is currently representing, if any. Otherwise, null.
      • setValueInternal

        protected void setValueInternal​(TagPath path,
                                        QualifiedValue value,
                                        boolean checkExisting,
                                        boolean fireGlobal)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object