All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zkoss.bind.FormStatus Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* FormStatus.java

	Purpose:
		
	Description:
		
	History:
		2011/12/1 Created by Dennis Chen

Copyright (C) 2011 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.bind;

/**
 * Represents the runtime information of the {@link Form} 
 * @author dennis
 * @since 6.0.0
 */
public interface FormStatus {

	/**
	 * Returns whether the form has been modified 
	 * @return whether the form has been modified.
	 */
	public boolean isDirty();

	/**
	 * Resets the modified data.  
	 * @since 8.0.0
	 */
	public void reset();

	/**
	 * Submits the modified date to the origin object.
	 * @since 8.0.0
	 */
	public void submit(BindContext ctx);

	/**
	 * Returns the origin object of the form object
	 * @since 8.0.0
	 */
	public Object getOrigin();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy