Package org.zkoss.bind.impl
Class FormImpl
java.lang.Object
org.zkoss.bind.impl.FormImpl
- All Implemented Interfaces:
Serializable,Form,FormLegacy,FormLegacyExt
- Direct Known Subclasses:
SimpleForm
Deprecated.
For compatibility only.
- Since:
- 9.5.0
- Author:
- Leon
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLoadFieldName(String fieldName) Deprecated.Add a field name for loading from this Form.voidaddSaveFieldName(String fieldName) Deprecated.Add a field name for saving into this Form.Deprecated.Returns the associated value of the specified field name.Deprecated.Returns all field names that this FormLegacy bean is care about for both read and load.Deprecated.Returns the status object of this formDeprecated.Returns all field names that this Form bean is care about for loading value from the real bean.Deprecated.Returns all those field name that this Form bean is care about for saving value into the real bean.Deprecated.booleanisDirty()Deprecated.Returns whether the form has been modified (Any field is different from those of loadBean)voidDeprecated.Reset the dirty data, reload initValue value from fieldvoidDeprecated.Sets the associated value of the specified field name.toString()Deprecated.
-
Constructor Details
-
FormImpl
public FormImpl()Deprecated.
-
-
Method Details
-
getFormStatus
Deprecated.Description copied from interface:FormReturns the status object of this form- Specified by:
getFormStatusin interfaceForm
-
setField
Deprecated.Description copied from interface:FormLegacySets the associated value of the specified field name.- Specified by:
setFieldin interfaceFormLegacy- Parameters:
field- field namevalue- the associated value
-
resetDirty
public void resetDirty()Deprecated.Description copied from interface:FormLegacyExtReset the dirty data, reload initValue value from field- Specified by:
resetDirtyin interfaceFormLegacyExt
-
getField
Deprecated.Description copied from interface:FormLegacyReturns the associated value of the specified field name.- Specified by:
getFieldin interfaceFormLegacy- Parameters:
field- field name- Returns:
- the associated value
-
getLoadFieldNames
Deprecated.Description copied from interface:FormLegacyExtReturns all field names that this Form bean is care about for loading value from the real bean.- Specified by:
getLoadFieldNamesin interfaceFormLegacyExt- Returns:
- all field names that this Form bean is care about for loading value from the real bean.
-
getSaveFieldNames
Deprecated.Description copied from interface:FormLegacyExtReturns all those field name that this Form bean is care about for saving value into the real bean.- Specified by:
getSaveFieldNamesin interfaceFormLegacyExt- Returns:
- all those field name that this Form bean is care about for saving value into the real bean.
-
getFieldNames
Deprecated.Description copied from interface:FormLegacyReturns all field names that this FormLegacy bean is care about for both read and load.- Specified by:
getFieldNamesin interfaceFormLegacy- Returns:
- all field names that this FormLegacy bean is care about.
-
isDirty
public boolean isDirty()Deprecated.Description copied from interface:FormLegacyReturns whether the form has been modified (Any field is different from those of loadBean)- Specified by:
isDirtyin interfaceFormLegacy- Returns:
- whether the form has been modified.
-
getStatus
Deprecated.- Specified by:
getStatusin interfaceFormLegacyExt- Returns:
- the status object of this form
-
addLoadFieldName
Deprecated.Description copied from interface:FormLegacyExtAdd a field name for loading from this Form.- Specified by:
addLoadFieldNamein interfaceFormLegacyExt- Parameters:
fieldName- field name to be loaded from.
-
addSaveFieldName
Deprecated.Description copied from interface:FormLegacyExtAdd a field name for saving into this Form.- Specified by:
addSaveFieldNamein interfaceFormLegacyExt- Parameters:
fieldName- field name to be saved into.
-
toString
Deprecated.
-
Form