|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.command.NavigationCommandFactory
public class NavigationCommandFactory
API comment me TODO provide type description
Constructor Summary | |
---|---|
protected |
NavigationCommandFactory()
Deprecated. |
Method Summary | |
---|---|
NavCommand |
createCompositeCommand(NavCommand[] commands)
Deprecated. Creates a new NavComposite |
NavCommand |
createPanCommandUsingScreenCoords(int xpixels,
int ypixels)
Deprecated. Creates a new PanCommandPans the viewport in terms of pixels on the screen. |
NavCommand |
createPanCommandUsingWorldCoords(double x,
double y)
Deprecated. Creates a new PanCommand |
NavCommand |
createSetViewportBBoxCommand(Envelope newbbox)
Deprecated. Creates a new SetViewportBBoxCommand |
NavCommand |
createSetViewportBBoxCommand(Envelope bounds,
CoordinateReferenceSystem crs)
Deprecated. |
NavCommand |
createSetViewportCenterCommand(Coordinate center)
Deprecated. Creates a new SetViewportCenterCommand |
NavCommand |
createSetViewportHeight(double height)
Deprecated. Creates a new SetViewportHeight |
NavCommand |
createSetViewportWidth(double width)
Deprecated. Creates a new SetViewportWidth |
NavCommand |
createZoomCommand(double zoomfactor)
Deprecated. Creates a new ZoomCommand |
NavCommand |
createZoomExtentCommand()
Deprecated. Creates a new ZoomExtentCommand |
static NavigationCommandFactory |
getInstance()
Deprecated. Creates a new NavigationCommandFactory object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NavigationCommandFactory()
Method Detail |
---|
public static NavigationCommandFactory getInstance()
public NavCommand createCompositeCommand(NavCommand[] commands)
commands
- an array of commands to execute as a simgle command. The array will be
executed from position 0 to position length-1 in order.
NavCommand
public NavCommand createSetViewportBBoxCommand(Envelope newbbox)
newbbox
- the new bounding box to set in the viewport
NavCommand
,
Envelope
public NavCommand createZoomCommand(double zoomfactor)
zoomfactor
- the amount to zoom
NavCommand
public NavCommand createZoomExtentCommand()
NavCommand
public NavCommand createSetViewportCenterCommand(Coordinate center)
center
- Sets the center of the viewport. The Coordinate must be in world coordinates.
NavCommand
,
Coordinate
public NavCommand createSetViewportHeight(double height)
height
- The new viewport height
NavCommand
public NavCommand createSetViewportWidth(double width)
width
- the new viewport width
NavCommand
public NavCommand createPanCommandUsingScreenCoords(int xpixels, int ypixels)
xpixels
- The amount, in pixels, to pan in the x directionypixels
- The amount, in pixels, to pan in the y direction
NavCommand
public NavCommand createPanCommandUsingWorldCoords(double x, double y)
x
- The amount, in world coordinates, to pan in the x directiony
- The amount, in world coordinates, to pan in the y direction
NavCommand
public NavCommand createSetViewportBBoxCommand(Envelope bounds, CoordinateReferenceSystem crs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |