KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > faces > core > component > InformationProvider


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.faces.core.component;
6
7 import java.util.List JavaDoc;
8 import javax.faces.application.FacesMessage ;
9 /**
10
11  * Jun 9, 2004
12
13  * @author: Tuan Nguyen
14
15  * @email: tuan08@users.sourceforge.net
16
17  * @version: $Id: InformationProvider.java,v 1.7 2004/08/17 12:59:53 tuan08 Exp $
18
19  */

20 public interface InformationProvider {
21   final static public int FOOTER_MESSAGE_TYPE = 0 ;
22   final static public int POPUP_MESSAGE_TYPE = 1 ;
23   final static public int BODY_MESSAGE_TYPE = 2 ;
24
25   public int getDisplayMessageType() ;
26     public void setDisplayMessageType(int type) ;
27     public void addMessage(FacesMessage message) ;
28     public void clearMessages() ;
29   public List JavaDoc getMessages() ;
30     public boolean hasMessage() ;
31 }
32
33
Popular Tags