KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > za > org > coefficient > interfaces > ThemeLocalIf


1 /*
2  * Coefficient - facilitates project based collaboration
3  * Copyright (C) 2003, Dylan Etkin, CSIR icomtek
4  * PO Box 395
5  * Pretoria 0001, RSA
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  */

19
20 package za.org.coefficient.interfaces;
21
22 import za.org.coefficient.html.Page;
23
24 /**
25  * This interface defines methods that must be implemented by a theme of the
26  * system.
27  */

28 public interface ThemeLocalIf {
29     //~ Methods ================================================================
30
public String JavaDoc getBackGround(Page page);
31
32     public String JavaDoc getCenter(Page page);
33
34     public String JavaDoc getCenterBackGround(Page page);
35
36     public String JavaDoc getCenterPercentage(Page page);
37
38     public String JavaDoc getEast(Page page);
39
40     public String JavaDoc getEastBackGround(Page page);
41
42     public String JavaDoc getEastPercentage(Page page);
43
44     public String JavaDoc getFooter(Page page);
45
46     public String JavaDoc getHeader(Page page);
47
48     public String JavaDoc getName(Page page);
49
50     public String JavaDoc getNorth(Page page);
51
52     public String JavaDoc getNorthBackGround(Page page);
53
54     public String JavaDoc getPosition(String JavaDoc moduleName);
55
56     public String JavaDoc getSouth(Page page);
57
58     public String JavaDoc getSouthBackGround(Page page);
59
60     public String JavaDoc getWelcomePageContent();
61
62     public String JavaDoc getWest(Page page);
63
64     public String JavaDoc getWestBackGround(Page page);
65
66     public String JavaDoc getWestPercentage(Page page);
67
68     public void format(Page page, String JavaDoc moduleName, String JavaDoc html);
69 }
70
Popular Tags