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

org.zkoss.zul.impl.LoadStatus Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* LoadStatus.java
{{IS_NOTE
	Purpose:
		
	Description:
		
	History:
		Nov 11, 2009 10:53:01 AM, Created by henrichen
}}IS_NOTE

Copyright (C) 2009 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
	This program is distributed under LGPL Version 2.1 in the hope that
	it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zul.impl;

/**
 * Denote the status whether a on-demand-loading item is loaded. 
 * It is used because ListboxDataLoader/GridDataLoader is located in
 * a different package.
 * @author henrichen
 * @since 5.0
 */
public interface LoadStatus {
	/**
	 * Sets whether the on-demand-loading item is loaded.
	 * @param loaded true to set the item as loaded.
	 */
	public void setLoaded(boolean loaded);

	/**
	 * Returns whether the on-demand-loading item is loaded.
	 * @return loaded true to set the item as loaded.
	 */
	public boolean isLoaded();

	/**
	 * Sets the index of the loaded item (so client known row's index).
	 * @param index the loaded item
	 */
	public void setIndex(int index);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy