org.deegree_impl.clients.wmsclient.control
Class ZoomOutListener
java.lang.Object
org.deegree_impl.enterprise.control.AbstractListener
org.deegree_impl.clients.wmsclient.control.AbstractMapListener
org.deegree_impl.clients.wmsclient.control.ZoomOutListener
- All Implemented Interfaces:
- java.util.EventListener, WebListener
- public class ZoomOutListener
- extends AbstractMapListener
will be called if the client forces a zoomin action. the new map will
be centered onto the point the user had mouse-clicked to. the point
is defined within the submitting settings.
-------------------------------------------------------
- Version:
- $Revision: 1.5 $ $Date: 2004/02/23 07:47:47 $
- Author:
- Andreas Poth
| Fields inherited from class org.deegree_impl.enterprise.control.AbstractListener |
|
| Methods inherited from class org.deegree_impl.enterprise.control.AbstractListener |
getAlternativeNextPage, 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 |
ZoomOutListener
public ZoomOutListener()
actionPerformed
public void actionPerformed(FormEvent event)
- the method will be called if a zoomout action/event occurs.
- Specified by:
actionPerformed in interface WebListener- Overrides:
actionPerformed in class AbstractMapListener
- Parameters:
event -
modifyModel
private WMSGetMapRequest modifyModel(WMSClientConfiguration config,
java.util.HashMap model)
throws InconsistentRequestException,
XMLParsingException,
java.net.MalformedURLException
- Throws:
InconsistentRequestException
XMLParsingException
java.net.MalformedURLException
toMap
protected java.util.HashMap toMap(java.lang.String request)
- maps a string representation of a request to a HashMap
getScale
protected double getScale(WMSGetMapRequest mrm)
- the method returns the scale of the map defined as diagonal size
of a pixel at the center of the map.