|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ucar.unidata.data.GeoSelectionPanel
public class GeoSelectionPanel
Holds geo-location information - lat/lon bounding box, image size, etc. This is used to pass information from a chooser into a datasource.
| Nested Class Summary | |
|---|---|
static class |
GeoSelectionPanel.MyNavigatedMapPanel
Class MyNavigatedMapPanel shows the subset panel |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
GeoSelectionPanel(GeoSelection geoSelection,
boolean fullVersion,
boolean enabled,
boolean doStride,
boolean doBoundingBox,
ucar.unidata.geoloc.ProjectionImpl sampleProjection,
JComponent extraComponent)
ctor |
|
| Method Summary | |
|---|---|
boolean |
applyProperties(GeoSelection geoSelection)
Apply the properties |
JComponent |
getAreaComponent()
Get the component that shows the area map. |
boolean |
getEnabled()
Is enabled |
GeoSelection |
getGeoSelection()
Apply the gui settings to the geo selection and return it |
JComponent |
getStrideComponent()
Get the component that shows the stride. |
void |
initWith(GeoSelectionPanel p)
Initialize this object with the given object |
protected void |
selectedRegionChanged(ucar.unidata.geoloc.LatLonRect llr)
Region changed. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeoSelectionPanel(GeoSelection geoSelection,
boolean fullVersion,
boolean enabled,
boolean doStride,
boolean doBoundingBox,
ucar.unidata.geoloc.ProjectionImpl sampleProjection,
JComponent extraComponent)
geoSelection - The geo selectionfullVersion - If true we show the decimation along with the area subset in one componentenabled - Initially enableddoStride - Show decimationdoBoundingBox - Show area subsetsampleProjection - Sample projection for the area map. May be null.extraComponent - Extra stuff for gui. example: the grid size label. May be null.| Method Detail |
|---|
public void initWith(GeoSelectionPanel p)
p - object to init withpublic JComponent getStrideComponent()
public JComponent getAreaComponent()
public boolean getEnabled()
public GeoSelection getGeoSelection()
public boolean applyProperties(GeoSelection geoSelection)
geoSelection - The geo selection to apply to
protected void selectedRegionChanged(ucar.unidata.geoloc.LatLonRect llr)
llr - new region
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||