|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.enterprise.control.AbstractListener org.deegree.portal.common.control.AbstractSimplePrintListener org.deegree.portal.standard.wms.control.SimplePrintListener
public class SimplePrintListener
This class prints the View context. It inherits from AbstractSimplePrintListner and implement the abstract method getViewContext TODO The methods changeBBox(), changeLayerList(), extractBBox() are already implemented in AbstractContextListner. The question now is wether to inherit from AbstractContextListner instead of AbstractListner?
Constructor Summary | |
---|---|
SimplePrintListener()
|
Method Summary | |
---|---|
static void |
changeBBox(ViewContext vc,
Envelope bbox)
changes the bounding box of a given view context |
protected void |
changeLayerList(ViewContext vc,
RPCMember[] rpcLayerList)
changes the layer list of the ViewContext vc according to the information contained in the rpcLayerList |
protected Envelope |
extractBBox(RPCStruct bboxStruct,
CoordinateSystem crs)
Convenience method to extract the boundig box from an rpc fragment. |
protected ViewContext |
getViewContext(RPCWebEvent rpc)
reads the view context to print from the users session |
Methods inherited from class org.deegree.portal.common.control.AbstractSimplePrintListener |
---|
actionPerformed, calcScale, getUser, getVendorspecificParameters, validate |
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 |
Constructor Detail |
---|
public SimplePrintListener()
Method Detail |
---|
protected ViewContext getViewContext(RPCWebEvent rpc)
AbstractSimplePrintListener
getViewContext
in class AbstractSimplePrintListener
protected Envelope extractBBox(RPCStruct bboxStruct, CoordinateSystem crs)
bboxStruct
- the RPCStruct
containing the bounding box. For example,
<member><name>boundingBox</name>etc...
.crs
- a coordinate system value, may be null.
protected void changeLayerList(ViewContext vc, RPCMember[] rpcLayerList) throws PortalException
vc
- The original ViewContext where the changes will be applied torpcLayerList
- the current layerlist
PortalException
public static final void changeBBox(ViewContext vc, Envelope bbox) throws PortalException
vc
- the view context to be changedbbox
- the new bounding box
PortalException
|
deegree 2.3 (2010/04/09 10:10 build-4-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://www.deegree.org