public class BoundsInputPanel extends Object
BindingContext
.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_EAST_BOUND |
static String |
PROPERTY_NORTH_BOUND |
static String |
PROPERTY_PIXEL_SIZE_X |
static String |
PROPERTY_PIXEL_SIZE_Y |
static String |
PROPERTY_SOUTH_BOUND |
static String |
PROPERTY_WEST_BOUND |
Constructor and Description |
---|
BoundsInputPanel(BindingContext bindingContext,
String enablePropertyKey)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
JPanel |
createBoundsInputPanel(boolean disableUIProperty)
Creates the UI component.
|
void |
updatePixelUnit(org.opengis.referencing.crs.CoordinateReferenceSystem crs) |
public static final String PROPERTY_WEST_BOUND
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_PIXEL_SIZE_X
public static final String PROPERTY_PIXEL_SIZE_Y
public BoundsInputPanel(BindingContext bindingContext, String enablePropertyKey)
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 subcomponents of this component
are enabled.public JPanel createBoundsInputPanel(boolean disableUIProperty)
disableUIProperty
.
If it matches the value of the property provided in the constructor, the UI will be disabled.disableUIProperty
- Controls the enable state of the UI.public void updatePixelUnit(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.