Class FormImpl

java.lang.Object
org.zkoss.bind.impl.FormImpl
All Implemented Interfaces:
Serializable, Form, FormLegacy, FormLegacyExt
Direct Known Subclasses:
SimpleForm

@Deprecated public class FormImpl extends Object implements FormLegacy, FormLegacyExt, Serializable
Deprecated.
As of release 9.5.0, please use Form
For compatibility only.
Since:
9.5.0
Author:
Leon
See Also:
  • Constructor Details

    • FormImpl

      public FormImpl()
      Deprecated.
  • Method Details

    • getFormStatus

      public FormStatus getFormStatus()
      Deprecated.
      Description copied from interface: Form
      Returns the status object of this form
      Specified by:
      getFormStatus in interface Form
    • setField

      public void setField(String field, Object value)
      Deprecated.
      Description copied from interface: FormLegacy
      Sets the associated value of the specified field name.
      Specified by:
      setField in interface FormLegacy
      Parameters:
      field - field name
      value - the associated value
    • resetDirty

      public void resetDirty()
      Deprecated.
      Description copied from interface: FormLegacyExt
      Reset the dirty data, reload initValue value from field
      Specified by:
      resetDirty in interface FormLegacyExt
    • getField

      public Object getField(String field)
      Deprecated.
      Description copied from interface: FormLegacy
      Returns the associated value of the specified field name.
      Specified by:
      getField in interface FormLegacy
      Parameters:
      field - field name
      Returns:
      the associated value
    • getLoadFieldNames

      public Set<String> getLoadFieldNames()
      Deprecated.
      Description copied from interface: FormLegacyExt
      Returns all field names that this Form bean is care about for loading value from the real bean.
      Specified by:
      getLoadFieldNames in interface FormLegacyExt
      Returns:
      all field names that this Form bean is care about for loading value from the real bean.
    • getSaveFieldNames

      public Set<String> getSaveFieldNames()
      Deprecated.
      Description copied from interface: FormLegacyExt
      Returns all those field name that this Form bean is care about for saving value into the real bean.
      Specified by:
      getSaveFieldNames in interface FormLegacyExt
      Returns:
      all those field name that this Form bean is care about for saving value into the real bean.
    • getFieldNames

      public Set<String> getFieldNames()
      Deprecated.
      Description copied from interface: FormLegacy
      Returns all field names that this FormLegacy bean is care about for both read and load.
      Specified by:
      getFieldNames in interface FormLegacy
      Returns:
      all field names that this FormLegacy bean is care about.
    • isDirty

      public boolean isDirty()
      Deprecated.
      Description copied from interface: FormLegacy
      Returns whether the form has been modified (Any field is different from those of loadBean)
      Specified by:
      isDirty in interface FormLegacy
      Returns:
      whether the form has been modified.
    • getStatus

      public FormStatus getStatus()
      Deprecated.
      Specified by:
      getStatus in interface FormLegacyExt
      Returns:
      the status object of this form
    • addLoadFieldName

      public void addLoadFieldName(String fieldName)
      Deprecated.
      Description copied from interface: FormLegacyExt
      Add a field name for loading from this Form.
      Specified by:
      addLoadFieldName in interface FormLegacyExt
      Parameters:
      fieldName - field name to be loaded from.
    • addSaveFieldName

      public void addSaveFieldName(String fieldName)
      Deprecated.
      Description copied from interface: FormLegacyExt
      Add a field name for saving into this Form.
      Specified by:
      addSaveFieldName in interface FormLegacyExt
      Parameters:
      fieldName - field name to be saved into.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object