Class FormBindingImpl

java.lang.Object
org.zkoss.bind.impl.BindingImpl
org.zkoss.bind.impl.FormBindingImpl
All Implemented Interfaces:
Serializable, Binding, FormBinding
Direct Known Subclasses:
InitFormBindingImpl, LoadFormBindingImpl, SaveFormBindingImpl

public class FormBindingImpl extends BindingImpl implements FormBinding
Base implementation of FormBinding.
Since:
6.0.0
Author:
henrichen
See Also:
  • Field Details

    • _formId

      protected final String _formId
    • _accessInfo

      protected final AccessInfo _accessInfo
  • Constructor Details

  • Method Details

    • ignoreTracker

      protected boolean ignoreTracker()
    • getFormBean

      public Form getFormBean()
      Description copied from interface: FormBinding
      Returns the implicit form associated with this form binding.
      Specified by:
      getFormBean in interface FormBinding
      Returns:
      the implicit form associated with this form binding.
    • initFormBean

      public <T> Form initFormBean(Object bean, Class<Object> class1, BindContext bindContext)
    • getFormId

      public String getFormId()
      Description copied from interface: FormBinding
      Returns the associated form id of this Binding.
      Specified by:
      getFormId in interface FormBinding
      Returns:
      the associated attribute name of this component.
    • getPropertyString

      public String getPropertyString()
      Description copied from interface: FormBinding
      Returns the property expression script of this binding.
      Specified by:
      getPropertyString in interface FormBinding
      Returns:
      the property expression script of this binding.
    • getConditionType

      public ConditionType getConditionType()
      Description copied from interface: FormBinding
      Returns the condition type of this binding
      Specified by:
      getConditionType in interface FormBinding
    • getCommandName

      public String getCommandName()
      Description copied from interface: FormBinding
      Returns the associated command name of this binding; null if not specified.
      Specified by:
      getCommandName in interface FormBinding
      Returns:
      the associated command name of this binding; null if not specified.
    • getFieldExpression

      public org.zkoss.xel.ExpressionX getFieldExpression(BindEvaluatorX eval, String field)
      Description copied from interface: FormBinding
      Returns the field expression from the given field.
      Specified by:
      getFieldExpression in interface FormBinding
    • getFormExpression

      public org.zkoss.xel.ExpressionX getFormExpression(BindEvaluatorX eval, String field)
      Description copied from interface: FormBinding
      Returns the form expression from the given field.
      Specified by:
      getFormExpression in interface FormBinding
    • getBaseExpression

      public org.zkoss.xel.ExpressionX getBaseExpression(BindEvaluatorX eval)
    • toString

      public String toString()
      Overrides:
      toString in class Object