|
||||||||||
| 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 Form |
_form
|
protected java.lang.String |
_formId
|
| Constructor Summary | |
|---|---|
protected |
FormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
Form form,
java.lang.String accessScript,
java.util.Map<java.lang.String,java.lang.Object> args)
|
| Method Summary | |
|---|---|
protected ExpressionX |
getBaseExpression(BindEvaluatorX eval)
|
java.lang.String |
getCommandName()
Returns the associated command name of this binding; null if not speicified. |
protected ExpressionX |
getFieldExpression(BindEvaluatorX eval,
java.lang.String field)
|
Form |
getFormBean()
Returns the implicit form associated with this form binding. |
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()
|
boolean |
isAfter()
Returns whether bind this binding after execute associated command(true); otherwise it shall bind before execute associated command(false). |
java.lang.String |
toString()
|
| Methods inherited from class org.zkoss.bind.impl.BindingImpl |
|---|
containsAttribute, getArgs, getAttribute, getBinder, getComponent, getPureExpressionString, 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 Form _form
protected final AccessInfo _accessInfo
| Constructor Detail |
|---|
protected FormBindingImpl(Binder binder,
Component comp,
java.lang.String formId,
Form form,
java.lang.String accessScript,
java.util.Map<java.lang.String,java.lang.Object> args)
| Method Detail |
|---|
protected boolean ignoreTracker()
public Form getFormBean()
FormBinding
getFormBean in interface FormBindingpublic java.lang.String getFormId()
FormBinding
getFormId in interface FormBindingpublic java.lang.String getPropertyString()
FormBinding
getPropertyString in interface FormBindingpublic boolean isAfter()
FormBinding
isAfter in interface FormBindingpublic java.lang.String getCommandName()
FormBinding
getCommandName in interface FormBinding
protected ExpressionX getFieldExpression(BindEvaluatorX eval,
java.lang.String field)
protected 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 | |||||||||