public class ViewPort
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ViewPort.ViewPortChangedListener |
Constructor and Description |
---|
ViewPort(CoordinateSystem cs) |
Modifier and Type | Method and Description |
---|---|
void |
addViewPortChangedListener(ViewPort.ViewPortChangedListener listener) |
void |
drag(float xAmount,
float yAmount) |
void |
resetZoom() |
void |
setOnlyZoomXAxisWithMouseWheel(boolean onlyZoomX) |
void |
setPreferredZoomWindow(int xMin,
int xMax,
int yMin,
int yMax) |
void |
zoom(int amount,
java.awt.Point zoomPoint) |
void |
zoomToSelection() |
public ViewPort(CoordinateSystem cs)
public void addViewPortChangedListener(ViewPort.ViewPortChangedListener listener)
public void setPreferredZoomWindow(int xMin, int xMax, int yMin, int yMax)
public void setOnlyZoomXAxisWithMouseWheel(boolean onlyZoomX)
public void zoom(int amount, java.awt.Point zoomPoint)
public void resetZoom()
public void zoomToSelection()
public void drag(float xAmount, float yAmount)