Package org.esa.snap.ui
Class WorldMapPaneDataModel
- java.lang.Object
-
- org.esa.snap.ui.WorldMapPaneDataModel
-
public class WorldMapPaneDataModel extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_ADDITIONAL_GEO_BOUNDARIES
static String
PROPERTY_AUTO_ZOOM_ENABLED
static String
PROPERTY_LAYER
static String
PROPERTY_PRODUCTS
static String
PROPERTY_SELECTED_PRODUCT
-
Constructor Summary
Constructors Constructor Description WorldMapPaneDataModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModelChangeListener(PropertyChangeListener listener)
void
addProduct(Product product)
GeoPos[][]
getAdditionalGeoBoundaries()
Product[]
getProducts()
Product
getSelectedProduct()
Layer
getWorldMapLayer(LayerContext context)
boolean
isAutoZoomEnabled()
void
removeModelChangeListener(PropertyChangeListener listener)
void
removeProduct(Product product)
void
setAdditionalGeoBoundaries(GeoPos[][] geoBoundarys)
void
setAutoZoomEnabled(boolean autoZoomEnabled)
void
setProducts(Product[] products)
void
setSelectedProduct(Product product)
-
-
-
Field Detail
-
PROPERTY_LAYER
public static final String PROPERTY_LAYER
- See Also:
- Constant Field Values
-
PROPERTY_SELECTED_PRODUCT
public static final String PROPERTY_SELECTED_PRODUCT
- See Also:
- Constant Field Values
-
PROPERTY_PRODUCTS
public static final String PROPERTY_PRODUCTS
- See Also:
- Constant Field Values
-
PROPERTY_ADDITIONAL_GEO_BOUNDARIES
public static final String PROPERTY_ADDITIONAL_GEO_BOUNDARIES
- See Also:
- Constant Field Values
-
PROPERTY_AUTO_ZOOM_ENABLED
public static final String PROPERTY_AUTO_ZOOM_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWorldMapLayer
public Layer getWorldMapLayer(LayerContext context)
-
getSelectedProduct
public Product getSelectedProduct()
-
setSelectedProduct
public void setSelectedProduct(Product product)
-
getProducts
public Product[] getProducts()
-
setProducts
public void setProducts(Product[] products)
-
getAdditionalGeoBoundaries
public GeoPos[][] getAdditionalGeoBoundaries()
-
setAdditionalGeoBoundaries
public void setAdditionalGeoBoundaries(GeoPos[][] geoBoundarys)
-
addModelChangeListener
public void addModelChangeListener(PropertyChangeListener listener)
-
removeModelChangeListener
public void removeModelChangeListener(PropertyChangeListener listener)
-
addProduct
public void addProduct(Product product)
-
removeProduct
public void removeProduct(Product product)
-
isAutoZoomEnabled
public boolean isAutoZoomEnabled()
-
setAutoZoomEnabled
public void setAutoZoomEnabled(boolean autoZoomEnabled)
-
-