001: //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/trunk/src/org/deegree/portal/context/Frontend.java $
002: /*---------------- FILE HEADER ------------------------------------------
003:
004: This file is part of deegree.
005: Copyright (C) 2001-2008 by:
006: EXSE, Department of Geography, University of Bonn
007: http://www.giub.uni-bonn.de/deegree/
008: lat/lon GmbH
009: http://www.lat-lon.de
010:
011: This library is free software; you can redistribute it and/or
012: modify it under the terms of the GNU Lesser General Public
013: License as published by the Free Software Foundation; either
014: version 2.1 of the License, or (at your option) any later version.
015:
016: This library is distributed in the hope that it will be useful,
017: but WITHOUT ANY WARRANTY; without even the implied warranty of
018: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
019: Lesser General Public License for more details.
020:
021: You should have received a copy of the GNU Lesser General Public
022: License along with this library; if not, write to the Free Software
023: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
024:
025: Contact:
026:
027: Andreas Poth
028: lat/lon GmbH
029: Aennchenstr. 19
030: 53115 Bonn
031: Germany
032: E-Mail: poth@lat-lon.de
033:
034: Prof. Dr. Klaus Greve
035: Department of Geography
036: University of Bonn
037: Meckenheimer Allee 166
038: 53115 Bonn
039: Germany
040: E-Mail: greve@giub.uni-bonn.de
041:
042:
043: ---------------------------------------------------------------------------*/
044: package org.deegree.portal.context;
045:
046: /**
047: * this interface the description the access to the front end elements of a GUI
048: * setting up on a web map context. this is a deegree specific form of description.
049: * beside the name of the central controlling element an implementing class enables
050: * access to fife areas the GUI is splitted in.
051: *
052: * @version $Revision: 9346 $
053: * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a>
054: */
055: public interface Frontend {
056:
057: /**
058: * returns the name of the central controller of the front end. depending
059: * on the implementation this may be the name of a HTML/JSP-page a java class
060: * or something else.
061: *
062: * @return
063: */
064: public String getController();
065:
066: /**
067: * returns the description of the west GUI area
068: *
069: * @return
070: */
071: public GUIArea getWest();
072:
073: /**
074: * returns the description of the east GUI area
075: *
076: * @return
077: */
078: public GUIArea getEast();
079:
080: /**
081: * returns the description of the south GUI area
082: *
083: * @return
084: */
085: public GUIArea getSouth();
086:
087: /**
088: * returns the description of the north GUI area
089: *
090: * @return
091: */
092: public GUIArea getNorth();
093:
094: /**
095: * returns the description of the central GUI area
096: *
097: * @return
098: */
099: public GUIArea getCenter();
100:
101: /**
102: * sets the name of the central controller of the front end. depending
103: * on the implementation this may be the name of a HTML/JSP-page a java class
104: * or something else.
105: *
106: * @param controller
107: */
108: public void setController(String controller);
109:
110: /**
111: * sets the description of the west GUI area
112: *
113: * @param west
114: */
115: public void setWest(GUIArea west);
116:
117: /**
118: * sets the description of the east GUI area
119: *
120: * @param east
121: */
122: public void setEast(GUIArea east);
123:
124: /**
125: * sets the description of the south GUI area
126: *
127: * @param south
128: */
129: public void setSouth(GUIArea south);
130:
131: /**
132: * sets the description of the north GUI area
133: *
134: * @param north
135: */
136: public void setNorth(GUIArea north);
137:
138: /**
139: * sets the description of the central GUI area
140: *
141: * @param center
142: */
143: public void setCenter(GUIArea center);
144: }
|