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.
|
ComplexTag |
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) |
TagValue |
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) |
void |
setTag(ComplexTag tag,
TagPath tagPath) |
void |
setupDirectBinding(javax.swing.JComponent comp,
java.lang.String name) |
void |
setValue(TagPath path,
TagValue value) |
protected void |
setValueInternal(TagPath path,
TagValue value,
boolean checkExisting,
boolean fireGlobal) |
java.lang.String |
toString() |
void |
updateDefinition(ComplexTag 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()
public void setQualifiedType(TagPath qualifiedType)
public java.lang.Class<?> getType(TagPath subProperty)
public void updateDefinition(ComplexTag tag, boolean fireEvents)
public void setTag(ComplexTag tag, TagPath tagPath)
public void setDrivingTagPath(TagPath tagPath)
public TagPath getDrivingTagPath()
public ComplexTag getDefinition()
protected void setValueInternal(TagPath path, TagValue value, boolean checkExisting, boolean fireGlobal)
public java.lang.String toString()
toString
in class java.lang.Object