Package org.esa.snap.rcp.status
Class PixelPosStatusLineElementProvider
java.lang.Object
org.esa.snap.rcp.status.PixelPosStatusLineElementProvider
- All Implemented Interfaces:
eu.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,,ProductSceneView> EventListener,PreferenceChangeListener,PixelPositionListener,org.openide.awt.StatusLineElementProvider
public class PixelPosStatusLineElementProvider
extends Object
implements org.openide.awt.StatusLineElementProvider, eu.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,ProductSceneView>, PixelPositionListener, PreferenceChangeListener
Displays current pixel position in the status bar.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpixelPosChanged(ImageLayer imageLayer, int pixelX, int pixelY, int currentLevel, boolean pixelPosValid, MouseEvent e) Informs a client that the pixel position within the image has changed.voidInforms a client that the pixel positions are no longer available.voidvoidwindowDeselected(eu.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object, ProductSceneView> e) voidwindowSelected(eu.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object, ProductSceneView> e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.esa.snap.netbeans.docwin.DocumentWindowManager.Listener
windowClosed, windowOpened
-
Constructor Details
-
PixelPosStatusLineElementProvider
public PixelPosStatusLineElementProvider()
-
-
Method Details
-
getStatusLineElement
- Specified by:
getStatusLineElementin interfaceorg.openide.awt.StatusLineElementProvider
-
pixelPosChanged
public void pixelPosChanged(ImageLayer imageLayer, int pixelX, int pixelY, int currentLevel, boolean pixelPosValid, MouseEvent e) Description copied from interface:PixelPositionListenerInforms a client that the pixel position within the image has changed.- Specified by:
pixelPosChangedin interfacePixelPositionListener- Parameters:
imageLayer- 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
public void pixelPosNotAvailable()Description copied from interface:PixelPositionListenerInforms a client that the pixel positions are no longer available.- Specified by:
pixelPosNotAvailablein interfacePixelPositionListener
-
preferenceChange
- Specified by:
preferenceChangein interfacePreferenceChangeListener
-
windowSelected
public void windowSelected(eu.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object, ProductSceneView> e) - Specified by:
windowSelectedin interfaceeu.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,ProductSceneView>
-
windowDeselected
public void windowDeselected(eu.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object, ProductSceneView> e) - Specified by:
windowDeselectedin interfaceeu.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,ProductSceneView>
-