|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.enterprise.control.AbstractListener
org.deegree.portal.standard.context.control.AbstractContextListener
org.deegree.portal.standard.context.control.NormalScreenListner
public class NormalScreenListner
This class converts the fullScreen to normalScreen view. It loads the old view from the httpSession and applies to it the manipulations the user did in fullScreen view
Field Summary | |
---|---|
protected static String |
DEFAULT_CTXT2HTML
|
Constructor Summary | |
---|---|
NormalScreenListner()
|
Method Summary | |
---|---|
void |
actionPerformed(FormEvent event)
|
protected ViewContext |
createNormalScreenContext(ViewContext vc,
Envelope newbBox)
This Method adapt the normal size screen context with the new changes applied in the full screen view, ex. |
protected ViewContext |
getViewContextFromSession()
Extracts the Xml of NORMALSCREEN_MAPCONTEXT from the session and transforms it to a ViewContext |
protected void |
initialize()
Initializes the global variables of the class |
protected void |
setCurrentContext(ViewContext vc)
Takes in viewContext converts it to a html of the viewcontext and display it |
protected ViewContext |
setToNormalScreen(RPCWebEvent rpc)
|
protected void |
validate(RPCWebEvent rpc)
ValidateRPC looks in the RPCStruct for all needed elements and gotoErrorPage in case an element is found or wronglz formated, this is useful so that we won't need to check later for anz variables, simply get them and start Working |
protected void |
validateBBox(RPCMember bboxRPCMember)
Validates the data in the struct to make sure it contains a valid bbox |
protected void |
validateLayerList(RPCMember layerListRPCMember)
Validates the data in the struct to make sure it contains a valid layerList |
Methods inherited from class org.deegree.portal.standard.context.control.AbstractContextListener |
---|
changeBBox, changeLayerList, extractBBox, extractBBox, extractRPCParameters, extractRPCStruct, getUserName, readSessionID, transformToHtmlMapContext |
Methods inherited from class org.deegree.enterprise.control.AbstractListener |
---|
getAlternativeNextPage, getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest, getReturnValue, gotoErrorPage, handle, setAlternativeNextPage, setDefaultAlternativeNextPage, setDefaultNextPage, setNextPage, setReturnValue, toModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String DEFAULT_CTXT2HTML
Constructor Detail |
---|
public NormalScreenListner()
Method Detail |
---|
public void actionPerformed(FormEvent event)
actionPerformed
in interface WebListener
actionPerformed
in class AbstractListener
protected void validate(RPCWebEvent rpc) throws PortalException
RPCStruct
- The rpcStruct restored from the session
PortalException
protected void initialize() throws PortalException
PortalException
protected ViewContext setToNormalScreen(RPCWebEvent rpc) throws PortalException
rpc
- The RPCWebEvent that contains a struct with the necessary information about the current context
PortalException
protected void setCurrentContext(ViewContext vc) throws ParserConfigurationException, PortalException
vc
- the ViewContext after convert
ParserConfigurationException
PortalException
protected void validateLayerList(RPCMember layerListRPCMember) throws PortalException
layerListRPC
-
PortalException
protected void validateBBox(RPCMember bboxRPCMember) throws PortalException
bboxRPCMember
-
PortalException
protected ViewContext getViewContextFromSession() throws PortalException
PortalException
protected ViewContext createNormalScreenContext(ViewContext vc, Envelope newbBox) throws PortalException
vc
- newbBox
-
PortalException
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net