|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.DataSelectionComponent
ucar.unidata.data.imagery.AddeImageSelection
public class AddeImageSelection
The Class SatImageSelection.
| Field Summary | |
|---|---|
protected JComboBox |
bandComboBox
Widget for selecting the band |
protected Hashtable |
bandTable
Mapping of area directory to list of BandInfos |
protected JTextField |
centerElementFld
Widget for the element center point in the advanced section. |
protected JTextField |
centerLineFld
Widget for the line center point in the advanced section. |
protected static String |
DEFAULT_DEBUG
Default value for the debug property |
protected static String |
DEFAULT_PORT
Default value for the port property |
protected static String |
DEFAULT_PROJ
Default value for the proj property |
protected static String |
DEFAULT_USER
Default value for the user property |
protected static String |
DEFAULT_VERSION
Default value for the version property |
protected JComboBox |
descriptorComboBox
A widget for the list of dataset descriptors |
protected Hashtable |
descriptorTable
Descriptor/name hashtable |
protected static String |
LABEL_SELECT
Selection label text |
protected LatLonWidget |
latLonWidget
Input for lat/lon center point. |
protected JComboBox |
navComboBox
Widget for selecting image nav type. |
static String |
PROP_ADDEPORT
property for the ADDE port |
protected static String |
PROP_COMPRESS
Property for image compress |
protected static String |
PROP_DEBUG
Property for image default value descriptor |
protected static String |
PROP_DESCR
Property for image default value descriptor |
protected static String |
PROP_KEY
Property for image default value key |
protected static String |
PROP_LATLON
Property for image default value lat/lon |
protected static String |
PROP_LINELE
Property for image default value lin/ele |
protected static String |
PROP_PORT
Property for the port |
protected static String |
PROP_PROJ
Property for the project |
protected static String |
PROP_SPAC
Property for image default value spac |
protected static String |
PROP_USER
Property for the user |
protected static String |
PROP_VERSION
Property for image default value version |
protected JComboBox |
unitComboBox
Widget for selecting image units |
| Fields inherited from class ucar.unidata.data.DataSelectionComponent |
|---|
dataSelection |
| Constructor Summary | |
|---|---|
AddeImageSelection(AddeImageDataSource addeImageDataSource)
Instantiates a new sat image selection. |
|
| Method Summary | |
|---|---|
protected JComponent |
addPropComp(String propId,
JComponent comp)
Associates the goven JComponent with the PROP_ property identified by the given propId. |
void |
applyToDataSelection(DataSelection dataSelection)
Apply settings to the data selection |
void |
changePlace(String newPlace)
Change the place. |
void |
cyclePlace()
Cycle the place. |
protected JComponent |
doMakeContents()
Hook method to make the contents |
protected String[] |
getAdvancedLabels()
Get the list of advanced property labels. |
protected String[] |
getAdvancedProps()
Get the list of advanced property names. |
protected void |
getBottomComponents(List bottomComps)
Add the bottom advanced gui panel to the list |
protected String |
getDefaultPropValue(String prop,
AreaDirectory ad,
boolean forDisplay)
Get the default property value for the adde request string |
protected String |
getDescriptor()
Get the selected descriptor. |
protected String |
getDescriptorFromSelection(String selection)
Get the descriptor relating to the selection. |
protected String |
getPort()
Get the port to use. |
protected String |
getPropertiesDescription()
Get a description of the properties |
String |
getSelectedBandName()
Get the name of the selected band |
String |
getSelectedDescriptor()
Get the selected descriptor. |
protected String |
getSelectedUnit()
Get the selected calibration unit. |
protected int[] |
getSize(AreaDirectory ad)
Get the size for the area directory |
protected String |
getUserPropValue(String prop,
AreaDirectory ad)
Get the user supplied property value for the adde request string |
JComponent |
padLabel(String s)
|
void |
setToFullResolution()
Set to full resolution. |
| Methods inherited from class ucar.unidata.data.DataSelectionComponent |
|---|
getContents, getContents, getName, getShowInControlProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String PROP_LATLON
protected static final String PROP_LINELE
protected static final String PROP_USER
protected static final String DEFAULT_USER
protected static final String PROP_PROJ
protected static final String DEFAULT_PROJ
protected static final String PROP_DESCR
protected static final String PROP_VERSION
protected static final String PROP_COMPRESS
protected static final String PROP_PORT
protected static final String DEFAULT_DEBUG
protected static final String PROP_DEBUG
protected static final String DEFAULT_VERSION
protected static final String PROP_SPAC
protected static final String LABEL_SELECT
public static final String PROP_ADDEPORT
protected static final String DEFAULT_PORT
protected static final String PROP_KEY
protected Hashtable descriptorTable
protected JComboBox bandComboBox
protected Hashtable bandTable
protected JTextField centerElementFld
protected JTextField centerLineFld
protected LatLonWidget latLonWidget
protected JComboBox navComboBox
protected JComboBox descriptorComboBox
protected JComboBox unitComboBox
| Constructor Detail |
|---|
public AddeImageSelection(AddeImageDataSource addeImageDataSource)
addeImageDataSource - the adde image data source| Method Detail |
|---|
protected JComponent doMakeContents()
DataSelectionComponent
doMakeContents in class DataSelectionComponentpublic void applyToDataSelection(DataSelection dataSelection)
DataSelectionComponent
applyToDataSelection in class DataSelectionComponentdataSelection - data selection to apply toprotected String[] getAdvancedProps()
protected String[] getAdvancedLabels()
public void changePlace(String newPlace)
newPlace - new place
protected JComponent addPropComp(String propId,
JComponent comp)
propId - The propertycomp - The gui component that allows the user to set the property
public void cyclePlace()
public void setToFullResolution()
public JComponent padLabel(String s)
protected int[] getSize(AreaDirectory ad)
ad - the area directory
public String getSelectedDescriptor()
protected String getDescriptor()
protected String getDescriptorFromSelection(String selection)
selection - String name from the widget
protected String getSelectedUnit()
protected String getPort()
protected String getDefaultPropValue(String prop,
AreaDirectory ad,
boolean forDisplay)
prop - The propertyad - The AreaDirectoryforDisplay - Is this to display to the user in the gui
public String getSelectedBandName()
protected String getPropertiesDescription()
protected String getUserPropValue(String prop,
AreaDirectory ad)
prop - The propertyad - The AreaDirectory
protected void getBottomComponents(List bottomComps)
bottomComps - the bottom components
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||