org.deegree_impl.clients.context
Class AbstractFrontend

java.lang.Object
  extended byorg.deegree_impl.clients.context.AbstractFrontend
All Implemented Interfaces:
Frontend, Marshallable
Direct Known Subclasses:
JSPFrontend

public abstract class AbstractFrontend
extends java.lang.Object
implements Frontend, Marshallable

this class encapsulates the description of the front end of a GUI setting up on a web map context. this is a deegree specific form of description. beside some

Version:
$Revision: 1.2 $
Author:
Andreas Poth

Field Summary
private  GUIArea center
           
private  java.lang.String controller
           
private  GUIArea east
           
private  GUIArea north
           
private  GUIArea south
           
private  GUIArea west
           
 
Constructor Summary
AbstractFrontend(java.lang.String controller, GUIArea west, GUIArea east, GUIArea south, GUIArea north, GUIArea center)
          Creates a new Frontend object.
 
Method Summary
 GUIArea getCenter()
          returns the description of the central GUI area
 java.lang.String getController()
          returns the name of the central controller of the front end. depending on the implementation this may be the name of a HTML/JSP-page a java class or something else.
 GUIArea getEast()
          returns the description of the east GUI area
 GUIArea getNorth()
          returns the description of the north GUI area
 GUIArea getSouth()
          returns the description of the south GUI area
 GUIArea getWest()
          returns the description of the west GUI area
 void setCenter(GUIArea center)
          sets the description of the central GUI area
 void setController(java.lang.String controller)
          sets the name of the central controller of the front end. depending on the implementation this may be the name of a HTML/JSP-page a java class or something else.
 void setEast(GUIArea east)
          sets the description of the east GUI area
 void setNorth(GUIArea north)
          sets the description of the north GUI area
 void setSouth(GUIArea south)
          sets the description of the south GUI area
 void setWest(GUIArea west)
          sets the description of the west GUI area
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.xml.Marshallable
exportAsXML
 

Field Detail

center

private GUIArea center

east

private GUIArea east

north

private GUIArea north

south

private GUIArea south

west

private GUIArea west

controller

private java.lang.String controller
Constructor Detail

AbstractFrontend

public AbstractFrontend(java.lang.String controller,
                        GUIArea west,
                        GUIArea east,
                        GUIArea south,
                        GUIArea north,
                        GUIArea center)
Creates a new Frontend object.

Parameters:
controller -
west -
east -
south -
north -
center -
Method Detail

getController

public java.lang.String getController()
returns the name of the central controller of the front end. depending on the implementation this may be the name of a HTML/JSP-page a java class or something else.

Specified by:
getController in interface Frontend
Returns:

getWest

public GUIArea getWest()
returns the description of the west GUI area

Specified by:
getWest in interface Frontend
Returns:

getEast

public GUIArea getEast()
returns the description of the east GUI area

Specified by:
getEast in interface Frontend
Returns:

getSouth

public GUIArea getSouth()
returns the description of the south GUI area

Specified by:
getSouth in interface Frontend
Returns:

getNorth

public GUIArea getNorth()
returns the description of the north GUI area

Specified by:
getNorth in interface Frontend
Returns:

getCenter

public GUIArea getCenter()
returns the description of the central GUI area

Specified by:
getCenter in interface Frontend
Returns:

setController

public void setController(java.lang.String controller)
sets the name of the central controller of the front end. depending on the implementation this may be the name of a HTML/JSP-page a java class or something else.

Specified by:
setController in interface Frontend
Parameters:
controller -

setWest

public void setWest(GUIArea west)
sets the description of the west GUI area

Specified by:
setWest in interface Frontend
Parameters:
west -

setEast

public void setEast(GUIArea east)
sets the description of the east GUI area

Specified by:
setEast in interface Frontend
Parameters:
east -

setSouth

public void setSouth(GUIArea south)
sets the description of the south GUI area

Specified by:
setSouth in interface Frontend
Parameters:
south -

setNorth

public void setNorth(GUIArea north)
sets the description of the north GUI area

Specified by:
setNorth in interface Frontend
Parameters:
north -

setCenter

public void setCenter(GUIArea center)
sets the description of the central GUI area

Specified by:
setCenter in interface Frontend
Parameters:
center -