Package org.esa.snap.ui
Class BoundsInputPanel
java.lang.Object
org.esa.snap.ui.BoundsInputPanel
Component which provides a panel where lat/lon bounds may be entered and bound to a given
BindingContext
.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBoundsInputPanel
(com.bc.ceres.swing.binding.BindingContext bindingContext, String enablePropertyKey) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateBoundsInputPanel
(boolean disableUIProperty) Creates the UI component.void
updatePixelUnit
(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
-
Field Details
-
PROPERTY_WEST_BOUND
- See Also:
-
PROPERTY_NORTH_BOUND
- See Also:
-
PROPERTY_EAST_BOUND
- See Also:
-
PROPERTY_SOUTH_BOUND
- See Also:
-
PROPERTY_PIXEL_SIZE_X
- See Also:
-
PROPERTY_PIXEL_SIZE_Y
- See Also:
-
-
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 constantsPROPERTY_WEST_BOUND
,PROPERTY_NORTH_BOUND
,PROPERTY_EAST_BOUND
, andPROPERTY_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
Creates the UI component. The enable state of the UI is controlled via the parameterdisableUIProperty
. 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)
-