|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.idv.control.DisplayControlBase
ucar.unidata.idv.control.DisplayControlImpl
ucar.unidata.idv.control.ProfilerControl
ucar.unidata.idv.control.WindTimeHeightControl
public class WindTimeHeightControl
For wind time/height profiles. Uses FieldImpl with VisAD function (Time -> ((Z) -> (DIR, SPD)) where time values are VisAD Datetime objects, Z has RealType RealType.Altitude, DIR and SPD have RealType Display.Flow1Azimuth and Display.Flow1Radial, The data display is in its own window, not the main IDV view manager.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
protected CompositeDataChoice |
compositeDataChoice
data choice |
protected DataChoice |
currentDataChoice
selected data choice |
protected Real |
currentVerticalInt
vertical spacing |
protected FieldImpl |
fieldImpl
data |
protected boolean |
haveNewStation
flag for new station |
protected boolean |
isLatestOnLeft
flag for X axis ordering |
protected boolean |
isSequence
flag for sequence |
protected String |
labelName
station name label |
protected float |
latitude
position |
protected float |
longitude
position |
protected JLabel |
plotLabel
label for the plot |
protected XYDisplay |
profileDisplay
profile display |
protected String |
stationName
station name |
protected TimeHeightViewManager |
timeHeightView
_more_ |
protected WindBarbDisplayable |
wbDisplayable
displayable for data |
protected AxisScale |
xScale
scale for X axis |
protected AxisScale |
yScale
_more_ |
| Fields inherited from class ucar.unidata.idv.control.ProfilerControl |
|---|
flowScaleValue, scaleFactor, verticalIntervalValue |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, version, viewManagers, ZFUDGE |
| Fields inherited from interface ucar.unidata.idv.DisplayControl |
|---|
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
WindTimeHeightControl()
Cstr; does nothing. |
|
| Method Summary | |
|---|---|
boolean |
doApplyProperties()
Apply the properties |
protected Container |
doMakeContents()
Make the UI contents |
protected JComponent |
doMakeExtraComponent()
Make any extra components for the UI |
DataChoice |
getCurrentDataChoice()
Get the CurrentDataChoice property. |
protected Range |
getInitialRange()
Get the initial range for the color table |
boolean |
getLatestOnLeft()
Get whether latest data is displayed on the left or right side of the plot. |
protected RealTuple |
getRealTupleForPoint(float rlat,
float rlon)
Get the VisAD coordinates for the lat/lon point |
boolean |
init(DataChoice dataChoice)
Construct the DisplayMaster, Displayable, frame, and controls. |
protected void |
initDisplayables()
Initialize the displayables. |
protected boolean |
initStation(DataChoice dataChoice)
Initialize a station from the data choice |
protected void |
resetDataVerticalInterval(Real verticalInt)
Reset the vertical spacing interval |
void |
setCurrentDataChoice(DataChoice value)
Set the CurrentDataChoice property. |
void |
setFlowScale(float value)
set the length of the wind barb |
protected void |
setLabel()
Fill the label. |
void |
setLatestOnLeft(boolean yesorno)
Set whether latest data is displayed on the left or right side of the plot. |
void |
setVerticalInterval(float value)
set the vertical separation of wind barbs |
protected void |
setXAxisValues()
Set the XAxis values |
protected void |
setXAxisValues(Set timeSet)
Set the XAxis values based on the timeSet |
protected void |
setYAxisValues()
Set the YAxis values |
protected void |
setYAxisValues(FieldImpl data)
_more_ |
| Methods inherited from class ucar.unidata.idv.control.ProfilerControl |
|---|
actionPerformed, doMakeVerticalIntervalComponent, getControlWidgets, getFlowScale, getVerticalInterval, initDone |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ucar.unidata.idv.DisplayControl |
|---|
getTmpProperty, putTmpProperty, removeTmpProperty |
| Methods inherited from interface ucar.unidata.collab.Sharable |
|---|
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime |
| Field Detail |
|---|
protected Real currentVerticalInt
protected XYDisplay profileDisplay
protected TimeHeightViewManager timeHeightView
protected FieldImpl fieldImpl
protected WindBarbDisplayable wbDisplayable
protected JLabel plotLabel
protected boolean isSequence
protected String stationName
protected String labelName
protected float latitude
protected float longitude
protected boolean isLatestOnLeft
protected boolean haveNewStation
protected AxisScale xScale
protected AxisScale yScale
protected CompositeDataChoice compositeDataChoice
protected DataChoice currentDataChoice
| Constructor Detail |
|---|
public WindTimeHeightControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the DataChoice to use
RemoteException
VisADExceptionpublic boolean doApplyProperties()
doApplyProperties in class DisplayControlImpl
protected boolean initStation(DataChoice dataChoice)
throws VisADException,
RemoteException
dataChoice - choice describing data
RemoteException - Java RMI error
VisADException - VisAD Error
protected void initDisplayables()
throws VisADException,
RemoteException
RemoteException - Java RMI error
VisADException - VisAD Error
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Errorprotected JComponent doMakeExtraComponent()
doMakeExtraComponent in class ProfilerControl
protected void resetDataVerticalInterval(Real verticalInt)
throws VisADException,
RemoteException
verticalInt - new interval
RemoteException - Java RMI error
VisADException - VisAD Errorpublic void setFlowScale(float value)
setFlowScale in class ProfilerControlvalue - the length of the wind barbpublic void setVerticalInterval(float value)
setVerticalInterval in class ProfilerControlvalue - the vertical separation of wind barbs
protected Range getInitialRange()
throws RemoteException,
VisADException
getInitialRange in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Error
protected RealTuple getRealTupleForPoint(float rlat,
float rlon)
throws VisADException,
RemoteException
rlat - latitude (degrees)rlon - longitude (degrees)
RemoteException
VisADException
protected void setXAxisValues()
throws VisADException
VisADException - couldn't set the values
protected void setYAxisValues()
throws VisADException
VisADException - couldn't set the values
protected void setYAxisValues(FieldImpl data)
throws VisADException
data - _more_
VisADException - _more_
protected void setXAxisValues(Set timeSet)
throws VisADException,
RemoteException
timeSet - set of times to use
RemoteException - Java RMI error
VisADException - VisAD Errorpublic void setLatestOnLeft(boolean yesorno)
yesorno - true if want latest is on left.protected void setLabel()
public boolean getLatestOnLeft()
true if latest is on left.public void setCurrentDataChoice(DataChoice value)
value - The new value for CurrentDataChoicepublic DataChoice getCurrentDataChoice()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||