org.zkoss.bind
Interface FormExt

All Known Implementing Classes:
FormImpl, SimpleForm

public interface FormExt

An addition interface of Form to provide more control.

Since:
6.0.0
Author:
dennis

Method Summary
 void addLoadFieldName(java.lang.String fieldName)
          Add a field name for loading from this Form.
 void addSaveFieldName(java.lang.String fieldName)
          Add a field name for saving into this Form.
 java.util.Set<java.lang.String> getLoadFieldNames()
          Returns all field names that this Form bean is care about for loading value from the real bean.
 java.util.Set<java.lang.String> getSaveFieldNames()
          Returns all those field name that this Form bean is care about for saving value into the real bean.
 FormStatus getStatus()
           
 void resetDirty()
          Reset the dirty data, reload initValue value from field
 

Method Detail

getStatus

FormStatus getStatus()
Returns:
the status object of this form

addLoadFieldName

void addLoadFieldName(java.lang.String fieldName)
Add a field name for loading from this Form.

Parameters:
fieldName - field name to be loaded from.

addSaveFieldName

void addSaveFieldName(java.lang.String fieldName)
Add a field name for saving into this Form.

Parameters:
fieldName - field name to be saved into.

getLoadFieldNames

java.util.Set<java.lang.String> getLoadFieldNames()
Returns all field names that this Form bean is care about for loading value from the real bean.

Returns:
all field names that this Form bean is care about for loading value from the real bean.

getSaveFieldNames

java.util.Set<java.lang.String> getSaveFieldNames()
Returns all those field name that this Form bean is care about for saving value into the real bean.

Returns:
all those field name that this Form bean is care about for saving value into the real bean.

resetDirty

void resetDirty()
Reset the dirty data, reload initValue value from field



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo