org.zkoss.zul.impl
Interface LoadStatus

All Known Implementing Classes:
Listitem.ExtraCtrl, Row.ExtraCtrl

public interface LoadStatus

Denote the status whether a on-demand-loading item is loaded. It is used because ListboxDataLoader/GridDataLoader is located in a different package.

Since:
5.0
Author:
henrichen

Method Summary
 boolean isLoaded()
          Returns whether the on-demand-loading item is loaded.
 void setIndex(int index)
          Sets the index of the loaded item (so client known row's index).
 void setLoaded(boolean loaded)
          Sets whether the on-demand-loading item is loaded.
 

Method Detail

setLoaded

void setLoaded(boolean loaded)
Sets whether the on-demand-loading item is loaded.

Parameters:
loaded - true to set the item as loaded.

isLoaded

boolean isLoaded()
Returns whether the on-demand-loading item is loaded.

Returns:
loaded true to set the item as loaded.

setIndex

void setIndex(int index)
Sets the index of the loaded item (so client known row's index).

Parameters:
index - the loaded item


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