| net.refractions.udig.project.ui.internal.commands.draw.AbstractDrawCommand net.refractions.udig.project.ui.internal.commands.draw.ZoomDrawCommand
Constructor Summary | |
public | ZoomDrawCommand(int centerx, int centery, double zoom) Construct TranslateCommand . |
Method Summary | |
public Rectangle | getValidArea() | public void | run(IProgressMonitor monitor) | public void | setZoom(int centerx, int centery, double amount) Sets the amount of zoom and where the center of the zoom will be when this command is called. | public void | setZoom(double amount) |
ZoomDrawCommand | public ZoomDrawCommand(int centerx, int centery, double zoom)(Code) | | Construct TranslateCommand .
Parameters: centerx - the x-coord of the point the zoom centers around Parameters: centery - the y-coord of the point the zoom centers around Parameters: zoom - The amount of zoom |
run | public void run(IProgressMonitor monitor) throws Exception(Code) | | See Also: net.refractions.udig.project.internal.command.MapCommand.open |
setZoom | public void setZoom(int centerx, int centery, double amount)(Code) | | Sets the amount of zoom and where the center of the zoom will be when this command is called.
Parameters: centerx - Parameters: centery - Parameters: amount - |
setZoom | public void setZoom(double amount)(Code) | | Sets the amount the command will translate during the next paint phase
- Sets the amount of zoom
- repaints the display if the display is an instance of viewportPane
Parameters: amount - the amount of zoom |
|
|