| java.lang.Object com.vividsolutions.jump.workbench.plugin.AbstractPlugIn org.openjump.core.ui.plugin.view.InstallKeyPanPlugIn
InstallKeyPanPlugIn | public class InstallKeyPanPlugIn extends AbstractPlugIn (Code) | | Plug in for navigation with keyboards keys.
Navigation is as follows:
Arrows keys move the viewport.
Page down and up are zoom in and zoom out, respectively
Home key zooms in or out to full extent
Pan and zoom percentage is, by default, 20%
author: Ugo Taddei |
Constructor Summary | |
public | InstallKeyPanPlugIn() | public | InstallKeyPanPlugIn(double panPercentag) Creates a new plug-in with pan_percentage as pan percentage value
pan_percentage The value in percent of screen size to pan/zoom. |
InstallKeyPanPlugIn | public InstallKeyPanPlugIn()(Code) | | Default constructor
|
InstallKeyPanPlugIn | public InstallKeyPanPlugIn(double panPercentag)(Code) | | Creates a new plug-in with pan_percentage as pan percentage value
pan_percentage The value in percent of screen size to pan/zoom. Accepted
values are in the range 0 < percentage <= 1
|
getPanPercentage | public static double getPanPercentage()(Code) | | Get the pan/zoom percentage, a value between 0 and 1. Deafult is 0.25 (=25%)
|
setPanPercentage | public static void setPanPercentage(double panPercent)(Code) | | Set the pan percentage. Legal values are between greater than 0 and less than
or equal to 1.0
Parameters: panPercentage - The value in percent of screen size to pan/zoom. Accepted values are in the range 0 < percentage <= 1 |
|
|