| java.lang.Object org.itsnat.core.event.ParamTransport org.itsnat.core.event.SingleParamTransport org.itsnat.core.event.NodePropertyTransport
Constructor Summary | |
public | NodePropertyTransport(String name) Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute, the attribute name used is the same
as the property name.
Parameters: name - the property name. | public | NodePropertyTransport(String name, boolean sync) Creates a new instance ready to transport the node property with the specified name
and optionally synchronize it at the server side as an attribute, the attribute name used is the same
as the property name. | public | NodePropertyTransport(String name, String attName) Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute with the specified name.
Use this constructor when the property name differs from the attribute name.
Parameters: name - the property name. | public | NodePropertyTransport(String name, Class type) Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute. | public | NodePropertyTransport(String name, Class type, String javaSetMethodName) Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute. |
NodePropertyTransport | public NodePropertyTransport(String name)(Code) | | Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute, the attribute name used is the same
as the property name.
Parameters: name - the property name. |
NodePropertyTransport | public NodePropertyTransport(String name, boolean sync)(Code) | | Creates a new instance ready to transport the node property with the specified name
and optionally synchronize it at the server side as an attribute, the attribute name used is the same
as the property name.
Parameters: name - the property name. Parameters: sync - if true the server is updated. |
NodePropertyTransport | public NodePropertyTransport(String name, String attName)(Code) | | Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute with the specified name.
Use this constructor when the property name differs from the attribute name.
Parameters: name - the property name. Parameters: attName - the attribute name. |
NodePropertyTransport | public NodePropertyTransport(String name, Class type)(Code) | | Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute. The synchronization is
done using reflection calling the method setName(Class type)
of the target DOM element.
For instance: if specified name is "value" and specified type is String,
the method called will be setValue(String)
Parameters: name - the property name. Parameters: type - the class type of the property. |
NodePropertyTransport | public NodePropertyTransport(String name, Class type, String javaSetMethodName)(Code) | | Creates a new instance ready to transport the node property with the specified name
and synchronize it at the server side as an attribute. The synchronization is
done using reflection calling the set method with the specified name
of the target DOM element.
For instance: if specified method name is "setValue" and specified type is String,
the method called will be setValue(String)
Parameters: name - the property name. Parameters: type - the class type of the property. |
getAttrName | public String getAttrName()(Code) | | Returns the attribute name.
the attribute name or null if reflection is used to synchronize. |
getJavaSetMethodName | public String getJavaSetMethodName()(Code) | | Returns the method name used to synchronize using reflection.
the method name or null if reflection is not used to synchronize. |
getType | public Class getType()(Code) | | Returns the class type of the property value when using reflection to synchronize.
the class type or null if reflection is not used to synchronize. |
Methods inherited from org.itsnat.core.event.ParamTransport | public boolean isSync()(Code)(Java Doc)
|
|
|