Class PixelInfoView

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class PixelInfoView
    extends JPanel
    The pixel info view component is used to display the geophysical values for the pixel at a given pixel position (x,y). The pixel info view can simultaneously display band, tie point grid and flag values.
    Version:
    1.2
    See Also:
    Serialized Form
    • Field Detail

      • PREFERENCE_KEY_SHOW_ONLY_DISPLAYED_BAND_PIXEL_VALUES

        public static final String PREFERENCE_KEY_SHOW_ONLY_DISPLAYED_BAND_PIXEL_VALUES
        Preferences key for showing all band pixel values in pixel info view
        See Also:
        Constant Field Values
      • PREFERENCE_KEY_SHOW_GEO_POS_DECIMALS

        public static final String PREFERENCE_KEY_SHOW_GEO_POS_DECIMALS
        Preferences key for display style of geo-locations
        See Also:
        Constant Field Values
      • PREFERENCE_KEY_SHOW_PIXEL_POS_DECIMALS

        public static final String PREFERENCE_KEY_SHOW_PIXEL_POS_DECIMALS
        Preferences key for showing floating-point image coordinates
        See Also:
        Constant Field Values
      • PREFERENCE_KEY_SHOW_PIXEL_POS_OFFSET_ONE

        public static final String PREFERENCE_KEY_SHOW_PIXEL_POS_OFFSET_ONE
        Preferences key for coordinate system starting at (1,1)
        See Also:
        Constant Field Values
      • PREFERENCE_DEFAULT_SHOW_DISPLAYED_BAND_PIXEL_VALUES

        public static final boolean PREFERENCE_DEFAULT_SHOW_DISPLAYED_BAND_PIXEL_VALUES
        See Also:
        Constant Field Values
      • PREFERENCE_DEFAULT_SHOW_GEO_POS_DECIMALS

        public static final boolean PREFERENCE_DEFAULT_SHOW_GEO_POS_DECIMALS
        See Also:
        Constant Field Values
      • PREFERENCE_DEFAULT_SHOW_PIXEL_POS_DECIMALS

        public static final boolean PREFERENCE_DEFAULT_SHOW_PIXEL_POS_DECIMALS
        See Also:
        Constant Field Values
      • PREFERENCE_DEFAULT_SHOW_PIXEL_POS_OFFSET_1

        public static final boolean PREFERENCE_DEFAULT_SHOW_PIXEL_POS_OFFSET_1
        See Also:
        Constant Field Values
    • Constructor Detail

      • PixelInfoView

        public PixelInfoView()
        Constructs a new pixel info view.
    • Method Detail

      • reset

        public void reset()
      • getCurrentProduct

        public Product getCurrentProduct()
        Returns the current product
        Returns:
        the current Product
      • updatePixelValues

        public void updatePixelValues​(ProductSceneView view,
                                      int pixelX,
                                      int pixelY,
                                      int level,
                                      boolean pixelPosValid)
      • clearProductNodeRefs

        public void clearProductNodeRefs()