KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ofbiz > widget > screen > ScreenStringRenderer


1 /*
2  * $Id: ScreenStringRenderer.java 6519 2006-01-17 08:17:22Z jonesde $
3  *
4  * Copyright (c) 2004 The Open For Business Project - www.ofbiz.org
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a
7  * copy of this software and associated documentation files (the "Software"),
8  * to deal in the Software without restriction, including without limitation
9  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10  * and/or sell copies of the Software, and to permit persons to whom the
11  * Software is furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included
14  * in all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
21  * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
22  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23  */

24 package org.ofbiz.widget.screen;
25
26 import java.io.IOException JavaDoc;
27 import java.io.Writer JavaDoc;
28 import java.util.Map JavaDoc;
29
30
31 /**
32  * Widget Library - Screen String Renderer interface
33  *
34  * @author <a HREF="mailto:jonesde@ofbiz.org">David E. Jones</a>
35  * @version $Rev: 6519 $
36  * @since 3.1
37  */

38 public interface ScreenStringRenderer {
39     public void renderSectionBegin(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Section section) throws IOException JavaDoc;
40     public void renderSectionEnd(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Section section) throws IOException JavaDoc;
41     public void renderContainerBegin(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Container container) throws IOException JavaDoc;
42     public void renderContainerEnd(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Container container) throws IOException JavaDoc;
43     public void renderContentBegin(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Content content) throws IOException JavaDoc;
44     public void renderContentBody(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Content content) throws IOException JavaDoc;
45     public void renderContentEnd(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Content content) throws IOException JavaDoc;
46     public void renderSubContentBegin(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.SubContent content) throws IOException JavaDoc;
47     public void renderSubContentBody(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.SubContent content) throws IOException JavaDoc;
48     public void renderSubContentEnd(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.SubContent content) throws IOException JavaDoc;
49
50     public void renderLabel(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Label label) throws IOException JavaDoc;
51     public void renderLink(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Link link) throws IOException JavaDoc;
52     public void renderImage(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Image image) throws IOException JavaDoc;
53
54     public void renderContentFrame(Writer JavaDoc writer, Map JavaDoc context, ModelScreenWidget.Content content) throws IOException JavaDoc;
55 }
56
57
Popular Tags