|
deegree 2.5 (2011/06/29 09:44 build-8-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.standard.wms.control.RecenterToLayerListener
public class RecenterToLayerListener
This class sets the bounding box of the portal to the bounding box of one selected layer as it is specified in the WMSCapabilities document of that layer. If the ScaleHint of the layer reduces the visible part of the layer's LatLonBoundingBox, then a new bounding box for this scale hint is calculated. Ohterwise the LatLonBoundingBox is used. The chosen bounding box is transformed to the portals crs and the portals aspect ratio of width and height.
Constructor Summary | |
---|---|
RecenterToLayerListener()
|
Method Summary | |
---|---|
void |
actionPerformed(FormEvent event)
|
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 RecenterToLayerListener()
Method Detail |
---|
public void actionPerformed(FormEvent event)
actionPerformed
in interface WebListener
actionPerformed
in class AbstractListener
|
deegree 2.5 (2011/06/29 09:44 build-8-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