Class BoundsInputPanel

java.lang.Object
org.esa.snap.ui.BoundsInputPanel

public class BoundsInputPanel extends Object
Component which provides a panel where lat/lon bounds may be entered and bound to a given BindingContext.
  • Field Details

  • Constructor Details

    • BoundsInputPanel

      public BoundsInputPanel(com.bc.ceres.swing.binding.BindingContext bindingContext, String enablePropertyKey)
      Default constructor.
      Parameters:
      bindingContext - The binding context, in which the properties given by the constants PROPERTY_WEST_BOUND, PROPERTY_NORTH_BOUND, PROPERTY_EAST_BOUND, and PROPERTY_SOUTH_BOUND are bound accordingly.
      enablePropertyKey - The key for the property which specifies whether the sub-components of this component are enabled.
  • Method Details

    • createBoundsInputPanel

      public JPanel createBoundsInputPanel(boolean disableUIProperty)
      Creates the UI component. The enable state of the UI is controlled via the parameter disableUIProperty. If it matches the value of the property provided in the constructor, the UI will be disabled.
      Parameters:
      disableUIProperty - Controls the enable state of the UI.
      Returns:
      The UI component.
    • updatePixelUnit

      public void updatePixelUnit(org.opengis.referencing.crs.CoordinateReferenceSystem crs)