com.iver.cit.gvsig.gui.toc
Class WCSZoomToPixelTocMenuEntry
java.lang.Object
TocMenuEntry
com.iver.cit.gvsig.gui.toc.WCSZoomToPixelTocMenuEntry
- public class WCSZoomToPixelTocMenuEntry
- extends TocMenuEntry
This class implements the TOC meny entry to do a zoom to pixel.
Zooming to a pixel causes to change the view's zoom to fit in the coverage's native
resolution.
Entrada de menú para la activación de la funcionalidad de zoom a un
pixel.
- Author:
- Jaume - jaume.dominguez@iver.es
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Calculates the zoom that fits the coverage native resolution.
|
void |
initialize(FPopupMenu m)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZOOM_TO_VIEW_CENTER
public static final int ZOOM_TO_VIEW_CENTER
- See Also:
- Constant Field Values
zoomType
public int zoomType
WCSZoomToPixelTocMenuEntry
public WCSZoomToPixelTocMenuEntry()
initialize
public void initialize(FPopupMenu m)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Calculates the zoom that fits the coverage native resolution.
TODO fix the little loss of accuracy caused by a floating point issue