01: /*
02: * Coefficient - facilitates project based collaboration
03: * Copyright (C) 2003, Dylan Etkin, CSIR icomtek
04: * PO Box 395
05: * Pretoria 0001, RSA
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * 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 getBackGround(Page page);
31:
32: public String getCenter(Page page);
33:
34: public String getCenterBackGround(Page page);
35:
36: public String getCenterPercentage(Page page);
37:
38: public String getEast(Page page);
39:
40: public String getEastBackGround(Page page);
41:
42: public String getEastPercentage(Page page);
43:
44: public String getFooter(Page page);
45:
46: public String getHeader(Page page);
47:
48: public String getName(Page page);
49:
50: public String getNorth(Page page);
51:
52: public String getNorthBackGround(Page page);
53:
54: public String getPosition(String moduleName);
55:
56: public String getSouth(Page page);
57:
58: public String getSouthBackGround(Page page);
59:
60: public String getWelcomePageContent();
61:
62: public String getWest(Page page);
63:
64: public String getWestBackGround(Page page);
65:
66: public String getWestPercentage(Page page);
67:
68: public void format(Page page, String moduleName, String html);
69: }
|