|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.bind.impl.BindingImpl org.zkoss.bind.impl.PropertyBindingImpl
public abstract class PropertyBindingImpl
A base implementation of PropertyBinding
.
Field Summary | |
---|---|
protected AccessInfo |
_accessInfo
|
protected ExpressionX |
_fieldExpr
|
Constructor Summary | |
---|---|
protected |
PropertyBindingImpl(Binder binder,
Component comp,
java.lang.String fieldName,
java.lang.String fieldExpr,
java.lang.String accessExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs,
java.lang.String converterExpr,
java.util.Map<java.lang.String,java.lang.Object> converterArgs)
|
Method Summary | |
---|---|
java.lang.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. |
java.util.Map<java.lang.String,java.lang.Object> |
getConverterArgs()
Returns an argument |
java.lang.String |
getFieldName()
Returns the field name of the source object. |
ExpressionX |
getProperty()
|
java.lang.String |
getPropertyString()
Returns the property expression script of this binding. |
protected boolean |
ignoreTracker()
|
java.lang.String |
toString()
|
Methods inherited from class org.zkoss.bind.impl.BindingImpl |
---|
containsAttribute, getArgs, getAttribute, getBinder, getComponent, setAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.zkoss.bind.sys.Binding |
---|
getArgs, getBinder, getComponent |
Field Detail |
---|
protected final ExpressionX _fieldExpr
protected final AccessInfo _accessInfo
Constructor Detail |
---|
protected PropertyBindingImpl(Binder binder, Component comp, java.lang.String fieldName, java.lang.String fieldExpr, java.lang.String accessExpr, ConditionType conditionType, java.lang.String command, java.util.Map<java.lang.String,java.lang.Object> bindingArgs, java.lang.String converterExpr, java.util.Map<java.lang.String,java.lang.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
- Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.Object> getConverterArgs()
PropertyBinding
getConverterArgs
in interface PropertyBinding
protected boolean ignoreTracker()
public Converter getConverter()
PropertyBinding
getConverter
in interface PropertyBinding
public java.lang.String getFieldName()
PropertyBinding
getFieldName
in interface PropertyBinding
public java.lang.String getCommandName()
PropertyBinding
getCommandName
in interface PropertyBinding
public java.lang.String getPropertyString()
PropertyBinding
getPropertyString
in interface PropertyBinding
public ConditionType getConditionType()
PropertyBinding
getConditionType
in interface PropertyBinding
public ExpressionX getProperty()
getProperty
in interface PropertyBinding
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |