public class PixelPosStatusLineElementProvider extends Object implements org.openide.awt.StatusLineElementProvider, org.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,ProductSceneView>, PixelPositionListener, PreferenceChangeListener
| Constructor and Description |
|---|
PixelPosStatusLineElementProvider() |
| Modifier and Type | Method and Description |
|---|---|
Component |
getStatusLineElement() |
void |
pixelPosChanged(com.bc.ceres.glayer.support.ImageLayer imageLayer,
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.
|
void |
preferenceChange(PreferenceChangeEvent evt) |
void |
windowClosed(org.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object,ProductSceneView> e)
Invoked when a document window has been closed.
|
void |
windowOpened(org.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object,ProductSceneView> e)
Invoked when a document window has been opened.
|
public Component getStatusLineElement()
getStatusLineElement in interface org.openide.awt.StatusLineElementProviderpublic void pixelPosChanged(com.bc.ceres.glayer.support.ImageLayer imageLayer,
int pixelX,
int pixelY,
int currentLevel,
boolean pixelPosValid,
MouseEvent e)
PixelPositionListenerpixelPosChanged in interface PixelPositionListenerimageLayer - 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 - if true, pixel position is validpublic void pixelPosNotAvailable()
PixelPositionListenerpixelPosNotAvailable in interface PixelPositionListenerpublic void preferenceChange(PreferenceChangeEvent evt)
preferenceChange in interface PreferenceChangeListenerpublic void windowOpened(org.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object,ProductSceneView> e)
windowOpened in interface org.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,ProductSceneView>e - The event object.public void windowClosed(org.esa.snap.netbeans.docwin.DocumentWindowManager.Event<Object,ProductSceneView> e)
windowClosed in interface org.esa.snap.netbeans.docwin.DocumentWindowManager.Listener<Object,ProductSceneView>e - The event object.Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.