Package org.esa.snap.ui
Interface PixelPositionListener
-
- All Known Implementing Classes:
CursorSpectrumPixelPositionListener
,PixelPosStatusLineElementProvider
public interface PixelPositionListener
A listener interrested in pixel position changes within a source image. You can addPixelPositionListener
s to instances of theImageDisplay
UI component.- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
pixelPosChanged(ImageLayer baseImageLayer, int pixelX, int pixelY, int currentLevel, boolean pixelPosValid, MouseEvent e)
Informs a client that the pixel position within the image has changed.void
pixelPosNotAvailable()
Informs a client that the pixel positions are no longer available.
-
-
-
Method Detail
-
pixelPosChanged
void pixelPosChanged(ImageLayer baseImageLayer, int pixelX, int pixelY, int currentLevel, boolean pixelPosValid, MouseEvent e)
Informs a client that the pixel position within the image has changed.- Parameters:
baseImageLayer
- the image layerpixelX
- the x position within the image in pixel co-ordinates on the given levelpixelY
- the y position within the image in pixel co-ordinates on the given levelcurrentLevel
- the current level at which the image is displayedpixelPosValid
- iftrue
, pixel position is valid
-
pixelPosNotAvailable
void pixelPosNotAvailable()
Informs a client that the pixel positions are no longer available.
-
-