public class UDTProperty
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UDTProperty.SetupDirectBinding |
Modifier and Type | Field and Description |
---|---|
static TagPath |
META_PATH
The path to the sub-property that holds the current tag's path.
|
Constructor and Description |
---|
UDTProperty()
For XML serialization
|
UDTProperty(TagPath qualifiedType)
Creates a UDT property that represents a given type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createMap()
Initializes the properties map.
|
UdtDefinitionInfo |
getDefinition() |
TagPath |
getDrivingTagPath()
Returns the path of the instance this UDTProperty is currently representing, if any.
|
TagPath |
getQualifiedType()
The tag path of the type of this UDT
|
java.util.Collection<TagPath> |
getSubProperties() |
java.lang.Class<?> |
getType(TagPath subProperty) |
QualifiedValue |
getValue(TagPath path) |
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.
|
void |
setDrivingTagPath(TagPath tagPath) |
void |
setQualifiedType(TagPath qualifiedType)
Deprecated.
|
void |
setQualifiedType(TagPath qualifiedType) |
void |
setTag(UdtDefinitionInfo tag,
TagPath tagPath) |
void |
setupDirectBinding(javax.swing.JComponent comp,
java.lang.String name) |
void |
setValue(TagPath path,
QualifiedValue value) |
protected void |
setValueInternal(TagPath path,
QualifiedValue value,
boolean checkExisting,
boolean fireGlobal) |
java.lang.String |
toString() |
void |
updateDefinition(UdtDefinitionInfo tag,
boolean fireEvents) |
public static TagPath META_PATH
public UDTProperty()
public UDTProperty(TagPath qualifiedType)
public void setupDirectBinding(javax.swing.JComponent comp, java.lang.String name) throws java.lang.Exception
java.lang.Exception
protected void createMap()
public void initialize(javax.swing.JComponent parent, java.lang.String propertyName, ClientContext context)
public java.util.Collection<TagPath> getSubProperties()
public TagPath getQualifiedType()
@Deprecated public void setQualifiedType(TagPath qualifiedType)
public void setQualifiedType(TagPath qualifiedType)
public java.lang.Class<?> getType(TagPath subProperty)
public void updateDefinition(UdtDefinitionInfo tag, boolean fireEvents)
public void setTag(UdtDefinitionInfo tag, TagPath tagPath)
public void setDrivingTagPath(TagPath tagPath)
public TagPath getDrivingTagPath()
public UdtDefinitionInfo getDefinition()
public void setValue(TagPath path, QualifiedValue value)
protected void setValueInternal(TagPath path, QualifiedValue value, boolean checkExisting, boolean fireGlobal)
public QualifiedValue getValue(TagPath path)
public java.lang.String toString()
toString
in class java.lang.Object