Package org.esa.snap.ui.crs
Class CrsForm
- java.lang.Object
-
- org.esa.snap.ui.crs.CrsForm
-
- Direct Known Subclasses:
CustomCrsForm
,PredefinedCrsForm
,ProductCrsForm
public abstract class CrsForm extends Object
- Since:
- BEAM 4.7
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CrsForm(AppContext appContext)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
addCrsChangeListener(PropertyChangeListener listener)
protected abstract JComponent
createCrsComponent()
protected JRadioButton
createRadioButton()
protected void
fireCrsChanged()
protected AppContext
getAppContext()
abstract org.opengis.referencing.crs.CoordinateReferenceSystem
getCRS(GeoPos referencePos)
JComponent
getCrsUI()
protected abstract String
getLabelText()
JRadioButton
getRadioButton()
protected Product
getReferenceProduct()
abstract void
prepareHide()
abstract void
prepareShow()
protected boolean
removeCrsChangeListener(PropertyChangeListener listener)
void
setReferenceProduct(Product product)
-
-
-
Constructor Detail
-
CrsForm
protected CrsForm(AppContext appContext)
-
-
Method Detail
-
getLabelText
protected abstract String getLabelText()
-
getRadioButton
public final JRadioButton getRadioButton()
-
createRadioButton
protected JRadioButton createRadioButton()
-
getCRS
public abstract org.opengis.referencing.crs.CoordinateReferenceSystem getCRS(GeoPos referencePos) throws org.opengis.referencing.FactoryException
- Throws:
org.opengis.referencing.FactoryException
-
getCrsUI
public final JComponent getCrsUI()
-
createCrsComponent
protected abstract JComponent createCrsComponent()
-
setReferenceProduct
public void setReferenceProduct(Product product)
-
getReferenceProduct
protected Product getReferenceProduct()
-
getAppContext
protected AppContext getAppContext()
-
fireCrsChanged
protected void fireCrsChanged()
-
addCrsChangeListener
protected boolean addCrsChangeListener(PropertyChangeListener listener)
-
removeCrsChangeListener
protected boolean removeCrsChangeListener(PropertyChangeListener listener)
-
prepareShow
public abstract void prepareShow()
-
prepareHide
public abstract void prepareHide()
-
-