org.esa.beam.framework.ui
Interface PixelPositionListener


public interface PixelPositionListener

A listener interrested in pixel position changes within a source image. You can add PixelPositionListeners to instances of the ImageDisplay UI component.

Version:
$Revision$ $Date$
Author:
Norman Fomferra

Method Summary
 void pixelPosChanged(com.bc.ceres.glayer.support.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(com.bc.ceres.glayer.support.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 layer
pixelX - the x position within the image in pixel co-ordinates on the given level
pixelY - the y position within the image in pixel co-ordinates on the given level
currentLevel - the current level at which the image is displayed
pixelPosValid - if true, pixel position is valid

pixelPosNotAvailable

void pixelPosNotAvailable()
Informs a client that the pixel positions are no longer available.



Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.