|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.bind.impl.BindingImpl
org.zkoss.bind.impl.FormBindingImpl
public class FormBindingImpl
Base implementation of FormBinding.
| Field Summary | |
|---|---|
protected AccessInfo |
_accessInfo
|
protected java.lang.String |
_formId
|
| Constructor Summary | |
|---|---|
protected |
FormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
java.lang.String accessExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
|
| Method Summary | ||
|---|---|---|
ExpressionX |
getBaseExpression(BindEvaluatorX eval)
|
|
java.lang.String |
getCommandName()
Returns the associated command name of this binding; null if not specified. |
|
ConditionType |
getConditionType()
Returns the condition type of this binding |
|
ExpressionX |
getFieldExpression(BindEvaluatorX eval,
java.lang.String field)
Returns the field expression from the given field. |
|
Form |
getFormBean()
Returns the implicit form associated with this form binding. |
|
ExpressionX |
getFormExpression(BindEvaluatorX eval,
java.lang.String field)
Returns the form expression from the given field. |
|
java.lang.String |
getFormId()
Returns the associated form id of this Binding. |
|
java.lang.String |
getPropertyString()
Returns the property expression script of this binding. |
|
protected boolean |
ignoreTracker()
|
|
|
initFormBean(java.lang.Object bean,
java.lang.Class<java.lang.Object> class1)
|
|
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 java.lang.String _formId
protected final AccessInfo _accessInfo
| Constructor Detail |
|---|
protected FormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
java.lang.String accessExpr,
ConditionType conditionType,
java.lang.String command,
java.util.Map<java.lang.String,java.lang.Object> bindingArgs)
| Method Detail |
|---|
protected boolean ignoreTracker()
public Form getFormBean()
FormBinding
getFormBean in interface FormBinding
public <T> Form initFormBean(java.lang.Object bean,
java.lang.Class<java.lang.Object> class1)
public java.lang.String getFormId()
FormBinding
getFormId in interface FormBindingpublic java.lang.String getPropertyString()
FormBinding
getPropertyString in interface FormBindingpublic ConditionType getConditionType()
FormBinding
getConditionType in interface FormBindingpublic java.lang.String getCommandName()
FormBinding
getCommandName in interface FormBinding
public ExpressionX getFieldExpression(BindEvaluatorX eval,
java.lang.String field)
FormBinding
getFieldExpression in interface FormBinding
public ExpressionX getFormExpression(BindEvaluatorX eval,
java.lang.String field)
FormBinding
getFormExpression in interface FormBindingpublic ExpressionX getBaseExpression(BindEvaluatorX eval)
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 | |||||||||