public interface GeoreferencingView
Modifier and Type | Method and Description |
---|---|
void |
disableAllTools()
Disables all tools in all views
|
void |
disableTool(int tool)
Disables a tool
|
BufferedImage |
getBufferedImage()
Get the buffer of the canvas
|
GeorefCanvas |
getCanvas()
Gets the canvas associated to this view
|
Graphics2D |
getCanvasGraphic()
Gets the Graphics object
|
int |
getCanvasHeight()
Gets the height of the canvas
|
int |
getCanvasWidth()
Gets the width of the canvas
|
JPanel |
getComponent() |
Rectangle2D |
getCursorAdjustedWorldCoordinates(int wWindow,
int hWindow)
Obtiene las coordenadas de la ventana de zoom.
|
boolean |
getMinxMaxyUL() |
int |
getToolSelected()
Gets the selected tool
|
void |
setCursorPosition(int x,
int y)
Sets the cursor position on the canvas
|
void |
setCursorSize(int w,
int h)
Sets the cursor size
|
void |
setDrawParams(BufferedImage img,
Rectangle2D ext,
double pixelSize,
Point2D center)
Asigna los parámetros de dibujado para el raster
|
void |
setListenerToTool(int tool,
ToolListener listener) |
void |
setMinxMaxyUL(boolean v)
Asigna el valor para el flag minxMaxyUL.
|
void |
setMoveButtonSelected(boolean select) |
void |
setRequestListener(IViewRequestManager listener) |
void |
setSelectZoomAreaButtonSelected(boolean select) |
void |
setViewListener(ViewListener listener) |
JPanel getComponent()
void setViewListener(ViewListener listener)
void setRequestListener(IViewRequestManager listener)
void setListenerToTool(int tool, ToolListener listener)
BufferedImage getBufferedImage()
GeorefCanvas getCanvas()
Graphics2D getCanvasGraphic()
int getCanvasWidth()
int getCanvasHeight()
void setCursorPosition(int x, int y)
x
- y
- void setCursorSize(int w, int h)
w
- h
- void setDrawParams(BufferedImage img, Rectangle2D ext, double pixelSize, Point2D center)
img
- Buffer con un área de datosext
- Rectangle2D del área de datos dadapixelSize
- Tamaño de pixelcenter
- Punto del área de datos donde se quiere centrar el dibujado del bufferRectangle2D getCursorAdjustedWorldCoordinates(int wWindow, int hWindow)
int getToolSelected()
void disableAllTools()
enable
- void disableTool(int tool)
tool
- Constant defined in GeoreferencingSwingLibrary
void setSelectZoomAreaButtonSelected(boolean select)
void setMoveButtonSelected(boolean select)
void setMinxMaxyUL(boolean v)
v
- boolean getMinxMaxyUL()