public class Binding extends java.lang.Object implements java.lang.Cloneable, Archivable
Constructor and Description |
---|
Binding()
Creates a new binding.
|
Binding(java.lang.String aPropName,
java.lang.String aKey)
Creates a new binding for property name and key.
|
Modifier and Type | Method and Description |
---|---|
Binding |
clone()
Standard clone implementation.
|
Binding |
fromXML(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
java.lang.String |
getConversionKey()
Returns the conversion key used to get conversion map to convert bound object value to UI node.
|
java.text.Format |
getFormat()
Returns the format object to be used to format values to strings.
|
UIHelper |
getHelper()
Returns the UI node's helper (convenience).
|
java.lang.String |
getKey()
Returns the key that is used to get the property value from the bound object.
|
java.lang.Object |
getNode()
Returns the UI node.
|
java.lang.String |
getPropertyName()
Returns the property name.
|
void |
setConversionKey(java.lang.String aKey)
Sets the conversion key used to get conversion map to convert bound object value to UI node.
|
void |
setFormat(java.text.Format aFormat)
Sets the format object to be used to convert values to strings.
|
void |
setHelper(UIHelper aHelper)
Sets the UI node's helper.
|
void |
setKey(java.lang.String aKey)
Sets the key that is used to get the property value from the bound object.
|
void |
setNode(java.lang.Object anObj)
Sets the UI node.
|
void |
setPropertyName(java.lang.String aPropertyName)
Sets the property name.
|
java.lang.String |
toString()
Returns a string representation.
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
public Binding()
public Binding(java.lang.String aPropName, java.lang.String aKey)
public java.lang.Object getNode()
public void setNode(java.lang.Object anObj)
public UIHelper getHelper()
public void setHelper(UIHelper aHelper)
public java.lang.String getPropertyName()
public void setPropertyName(java.lang.String aPropertyName)
public java.lang.String getKey()
public void setKey(java.lang.String aKey)
public java.lang.String getConversionKey()
public void setConversionKey(java.lang.String aKey)
public java.text.Format getFormat()
public void setFormat(java.text.Format aFormat)
public Binding clone()
clone
in class java.lang.Object
public RXElement toXML(RXArchiver anArchiver)
toXML
in interface Archivable
public Binding fromXML(RXArchiver anArchiver, RXElement anElement)
fromXML
in interface Archivable
public java.lang.String toString()
toString
in class java.lang.Object