Class CursorSpectrumPixelPositionListener

    • Constructor Detail

      • CursorSpectrumPixelPositionListener

        public CursorSpectrumPixelPositionListener​(SpectrumTopComponent topComponent)
    • Method Detail

      • pixelPosChanged

        public void pixelPosChanged​(ImageLayer imageLayer,
                                    int pixelX,
                                    int pixelY,
                                    int currentLevel,
                                    boolean pixelPosValid,
                                    MouseEvent e)
        Description copied from interface: PixelPositionListener
        Informs a client that the pixel position within the image has changed.
        Specified by:
        pixelPosChanged in interface PixelPositionListener
        Parameters:
        imageLayer - 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