org.zkoss.bind
Interface Form

All Known Implementing Classes:
FormImpl, SimpleForm

public interface Form

Virtual Bean that associated with a form.

Since:
6.0.0
Author:
henrichen

Method Summary
 java.lang.Object getField(java.lang.String field)
          Returns the associated value of the specified field name.
 java.util.Set<java.lang.String> getFieldNames()
          Returns all field names that this Form bean is care about for both read and load.
 boolean isDirty()
          Returns whether the form has been modified (Any field is different from those of loadBean)
 void setField(java.lang.String field, java.lang.Object value)
          Sets the associated value of the specified field name.
 

Method Detail

getFieldNames

java.util.Set<java.lang.String> getFieldNames()
Returns all field names that this Form bean is care about for both read and load.

Returns:
all field names that this Form bean is care about.

setField

void setField(java.lang.String field,
              java.lang.Object value)
Sets the associated value of the specified field name.

Parameters:
field - field name
value - the associated value

getField

java.lang.Object getField(java.lang.String field)
Returns the associated value of the specified field name.

Parameters:
field - field name
Returns:
the associated value

isDirty

boolean isDirty()
Returns whether the form has been modified (Any field is different from those of loadBean)

Returns:
whether the form has been modified.


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