KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public interface PanelInterface {
11     public void doAfterBody(StringBuffer JavaDoc buffer) throws JspException JavaDoc;
12     public void doBeforeBody(StringBuffer JavaDoc buffer, String JavaDoc align) throws JspException JavaDoc ;
13     public void doEndPanel(StringBuffer JavaDoc buffer);
14     public void doPrintBlankLine(StringBuffer JavaDoc buffer, int cols) throws JspException JavaDoc;
15     /**
16      * This method prints the title of the panel.
17      * Be careful that this method can be called with title = null.
18      **/

19     public void doPrintTitle(StringBuffer JavaDoc buffer, String JavaDoc title);
20     public void doStartPanel(StringBuffer JavaDoc buffer, String JavaDoc align, String JavaDoc width);
21 /**
22  * This method is called once before each use of the panel
23  * Give the panel in argument to be able to get the styleClass, the key etc. if needed
24  */

25 public void init(PageContext JavaDoc pageContext, String JavaDoc in_styleClass, TagSupport JavaDoc in_tag) throws JspException JavaDoc;
26 }
27
Popular Tags