View Javadoc

1   /*
2    * $Id: IGridComponent.java,v 1.2 2007/04/30 08:28:58 oeuillot Exp $
3    */
4   package org.rcfaces.core.internal.capability;
5   
6   import javax.faces.model.DataModel;
7   
8   import org.rcfaces.core.component.iterator.IColumnIterator;
9   
10  /**
11   * 
12   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
13   * @version $Revision: 1.2 $ $Date: 2007/04/30 08:28:58 $
14   */
15  public interface IGridComponent {
16      IColumnIterator listColumns();
17  
18      /**
19       * Returns a DataModel if the value of the component is a DataModel
20       */
21      DataModel getDataModelValue();
22  
23      void setRowIndex(int index);
24  
25      Object getRowData();
26  
27      int getRowCount();
28  
29      int getRows();
30  
31      int getFirst();
32  
33      String getRowCountVar();
34  
35      String getRowIndexVar();
36  
37      void setFirst(int position);
38  
39      boolean isRowAvailable();
40  }