org.springframework.binding.form
Interface NewFormObjectAware

Show UML class diagram
All Known Implementing Classes:
ItemForm, SupplierForm, TabbedForm

public interface NewFormObjectAware

This interface is intended to mark Forms as having a specific method to set new form objects. This can contain different logic than the normal Form.setFormObject(Object). Note that the formObject doesn't need to be null and hence the AbstractForm.getNewFormObjectCommand() isn't always called.

Author:
Jan Hoskens

Method Summary
 void setNewFormObject(Object formObject)
          Specific method to use when setting a new formObject.
 

Method Detail

setNewFormObject

void setNewFormObject(Object formObject)
Specific method to use when setting a new formObject. This can be null, a base object with defaults or a copy of an existing object.

Parameters:
formObject - the new form object to set.


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.