public class RegionBoundsInputUI extends Object
BindingContext, which can
be retrieved using getBindingContext().| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_EAST_BOUND |
static String |
PROPERTY_NORTH_BOUND |
static String |
PROPERTY_SOUTH_BOUND |
static String |
PROPERTY_WEST_BOUND |
| Constructor and Description |
|---|
RegionBoundsInputUI()
Initializes a RegionBoundsInputUI.
|
RegionBoundsInputUI(com.bc.ceres.swing.binding.BindingContext bindingContext)
Initializes a RegionBoundsInputUI with the given
bindingContext. |
RegionBoundsInputUI(double northBound,
double eastBound,
double southBound,
double westBound)
Initializes a RegionBoundsInputUI with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
com.bc.ceres.swing.binding.BindingContext |
getBindingContext()
Returns the binding context which contains property values
northBound ,
southBound, westBound, and
eastBound. |
JPanel |
getUI() |
void |
setEnabled(boolean enabled)
Enables or disables all child components.
|
public static final String PROPERTY_NORTH_BOUND
public static final String PROPERTY_EAST_BOUND
public static final String PROPERTY_SOUTH_BOUND
public static final String PROPERTY_WEST_BOUND
public RegionBoundsInputUI()
getBindingContext().public RegionBoundsInputUI(double northBound,
double eastBound,
double southBound,
double westBound)
getBindingContext().northBound - The northern bounding latitude valueeastBound - The eastern bound longitude valuesouthBound - The southern bound latitude valuewestBound - The western bound longitude valuepublic RegionBoundsInputUI(com.bc.ceres.swing.binding.BindingContext bindingContext)
bindingContext.
The bindingContext has to contain four parameters: northBound ,
southBound, westBound and
eastBound.
If the bindingContext contains geographic coordinates, these coordinates are used to initialize the user
interface.bindingContext - The binding context which is needed for initialisation.public void setEnabled(boolean enabled)
enabled - -public com.bc.ceres.swing.binding.BindingContext getBindingContext()
northBound ,
southBound, westBound, and
eastBound. This method should be used to get the bounds set by the UI components.
It is needed when no binding context has been passed to the RegionBoundsInputUI initially.Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.