KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > improve > struts > taglib > layout > util > CollectionInterface


1 package fr.improve.struts.taglib.layout.util;
2
3 import javax.servlet.jsp.JspException JavaDoc;
4
5 /**
6  * Definition of the collection interface
7  * @author: Jean-NoŽl Ribette
8  */

9 public interface CollectionInterface extends PanelInterface {
10     /**
11      * Prepare to render the headers.
12      */

13     public void doStartHeaders(StringBuffer JavaDoc out_buffer);
14     /**
15      * Render a header.
16      */

17     public void doPrintHeader(StringBuffer JavaDoc out_buffer, String JavaDoc in_header, String JavaDoc in_width, String JavaDoc in_sortUrl);
18     /**
19      * Finish to render the headers.
20      */

21     public void doEndHeaders(StringBuffer JavaDoc out_buffer);
22     /**
23      * Prepare to render a line.
24      */

25     public void doStartItems(StringBuffer JavaDoc out_buffer) throws JspException JavaDoc;
26     /**
27      * Render an element in the line.
28      */

29     public void doPrintItem(StringBuffer JavaDoc out_buffer, String JavaDoc in_item, String JavaDoc[] in_styleClass, String JavaDoc in_id);
30     /**
31      * Finish to render a line.
32      */

33     public void doEndItems(StringBuffer JavaDoc out_buffer);
34     /**
35      * Render an empty collection
36      */

37     public void doPrintEmptyCollection(StringBuffer JavaDoc out_buffer, String JavaDoc in_message);
38 }
Popular Tags