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 |
zoom(int amount,
java.awt.Point zoomPoint) |
void |
zoomToSelection() |
public ViewPort(CoordinateSystem cs)
public void addViewPortChangedListener(ViewPort.ViewPortChangedListener listener)
public void zoom(int amount, java.awt.Point zoomPoint)
public void resetZoom()
public void zoomToSelection()
public void drag(float xAmount, float yAmount)