org.esa.beam.framework.ui.crs
Class CrsForm

java.lang.Object
  extended by org.esa.beam.framework.ui.crs.CrsForm
Direct Known Subclasses:
CustomCrsForm, PredefinedCrsForm, ProductCrsForm

public abstract class CrsForm
extends Object

Since:
BEAM 4.7
Version:
$ Revision $ Date $
Author:
Marco Peters

Constructor Summary
protected CrsForm(AppContext appContext)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.