public abstract class PropertyBindingImpl extends BindingImpl implements PropertyBinding
PropertyBinding.| Modifier and Type | Field and Description |
|---|---|
protected AccessInfo |
_accessInfo |
protected org.zkoss.xel.ExpressionX |
_fieldExpr |
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyBindingImpl(Binder binder,
org.zkoss.zk.ui.Component comp,
String fieldName,
String fieldExpr,
String accessExpr,
ConditionType conditionType,
String command,
Map<String,Object> bindingArgs,
String converterExpr,
Map<String,Object> converterArgs) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandName()
Returns the associated command name of this binding; null if not speicified.
|
ConditionType |
getConditionType()
Returns the condition type of this binding
|
Converter |
getConverter()
Returns the associated _converter with this binding.
|
Map<String,Object> |
getConverterArgs()
Returns an argument
|
String |
getFieldName()
Returns the field name of the source object.
|
org.zkoss.xel.ExpressionX |
getProperty() |
String |
getPropertyString()
Returns the property expression script of this binding.
|
protected boolean |
ignoreTracker() |
String |
toString() |
containsAttribute, getArgs, getAttribute, getBinder, getComponent, setAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArgs, getBinder, getComponentprotected final org.zkoss.xel.ExpressionX _fieldExpr
protected final AccessInfo _accessInfo
protected PropertyBindingImpl(Binder binder, org.zkoss.zk.ui.Component comp, String fieldName, String fieldExpr, String accessExpr, ConditionType conditionType, String command, Map<String,Object> bindingArgs, String converterExpr, Map<String,Object> converterArgs)
binder - comp - fieldName - the name of component field (ex, style, value)fieldExpr - the EL expression to access component field (ex, self.style, self.value)accessExpr - the binding expression , to access the beanconditionType - the condition typecommand - the command, if the conditionType is not prompt, then command must not nullbindingArgs - converterExpr - converterArgs - public Map<String,Object> getConverterArgs()
PropertyBindinggetConverterArgs in interface PropertyBindingprotected boolean ignoreTracker()
public Converter getConverter()
PropertyBindinggetConverter in interface PropertyBindingpublic String getFieldName()
PropertyBindinggetFieldName in interface PropertyBindingpublic String getCommandName()
PropertyBindinggetCommandName in interface PropertyBindingpublic String getPropertyString()
PropertyBindinggetPropertyString in interface PropertyBindingpublic ConditionType getConditionType()
PropertyBindinggetConditionType in interface PropertyBindingpublic org.zkoss.xel.ExpressionX getProperty()
getProperty in interface PropertyBindingCopyright © 2020. All rights reserved.