|
||||||||||
| 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
ucar.unidata.idv.control.ProfilerTimeHeightControl
public class ProfilerTimeHeightControl
Given an earth-located VisAD Field of one or more NOAA Profiler Network staiton data, make a 2D plot of the wind data against height and time, and make related controls. Uses data as a VisAD 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 |
|---|
| Fields inherited from class ucar.unidata.idv.control.WindTimeHeightControl |
|---|
compositeDataChoice, currentDataChoice, currentVerticalInt, fieldImpl, haveNewStation, isLatestOnLeft, isSequence, labelName, latitude, longitude, plotLabel, profileDisplay, stationName, timeHeightView, wbDisplayable, xScale, yScale |
| 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 | |
|---|---|
ProfilerTimeHeightControl()
Default Constructor; does nothing. |
|
| Method Summary | |
|---|---|
void |
addPropertiesComponents(JTabbedPane jtp)
Add tabs to the properties dialog. |
void |
applyPreferences()
Apply the preferences. |
void |
dataChanged()
Implementation of DataChangeListener. |
protected void |
doMakeColorScales()
_more_ |
Color |
getBackground()
Get the background color |
void |
getControlWidgets(List controlWidgets)
make widgets for check box for latest data time on left of x axis, and make selector for one of the different stations. |
Color |
getForeground()
Get the foreground color |
boolean |
getLatestOnLeft()
Get whether latest data is displayed on the left or right side of the plot. |
protected void |
getViewMenuItems(List menus,
boolean forMenuBar)
_more_ |
boolean |
init(DataChoice dataChoice)
Construct the DisplayMaster, Displayable, frame, and controls. |
protected void |
initDisplayables()
Initialize the displayables. |
protected boolean |
initStation(DataChoice dataChoice)
get data field; load in displayable; make LineProbe in place |
void |
setBackground(Color color)
Set the background color |
void |
setForeground(Color color)
Set the foreground color |
protected void |
setLabel()
Set the label for this |
void |
setLatestOnLeft(boolean yesorno)
Set whether latest data is displayed on the left or right side of the plot. |
| Methods inherited from class ucar.unidata.idv.control.WindTimeHeightControl |
|---|
doApplyProperties, doMakeContents, doMakeExtraComponent, getCurrentDataChoice, getInitialRange, getRealTupleForPoint, resetDataVerticalInterval, setCurrentDataChoice, setFlowScale, setVerticalInterval, setXAxisValues, setXAxisValues, setYAxisValues, setYAxisValues |
| Methods inherited from class ucar.unidata.idv.control.ProfilerControl |
|---|
actionPerformed, doMakeVerticalIntervalComponent, 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 |
| Constructor Detail |
|---|
public ProfilerTimeHeightControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class WindTimeHeightControldataChoice - the DataChoice to use
RemoteException - Java RMI error
VisADException - VisAD Error
protected boolean initStation(DataChoice dataChoice)
throws VisADException,
RemoteException
initStation in class WindTimeHeightControldataChoice - choice for selecting data
RemoteException - Java RMI error
VisADException - VisAD Error
protected void initDisplayables()
throws VisADException,
RemoteException
initDisplayables in class WindTimeHeightControlRemoteException - Java RMI error
VisADException - VisAD Errorprotected void setLabel()
setLabel in class WindTimeHeightControl
protected void doMakeColorScales()
throws VisADException,
RemoteException
doMakeColorScales in class DisplayControlImplRemoteException - _more_
VisADException - _more_public void addPropertiesComponents(JTabbedPane jtp)
addPropertiesComponents in class DisplayControlImpljtp - the JTabbedPane to add to
protected void getViewMenuItems(List menus,
boolean forMenuBar)
getViewMenuItems in class DisplayControlImplmenus - _more_forMenuBar - _more_
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class ProfilerControlcontrolWidgets - to fill
RemoteException - Java RMI error
VisADException - VisAD Errorpublic void dataChanged()
DataChangeListener.
dataChanged in interface DataChangeListenerdataChanged in class DisplayControlImplpublic void applyPreferences()
applyPreferences in interface DisplayControlapplyPreferences in class DisplayControlImplpublic void setLatestOnLeft(boolean yesorno)
setLatestOnLeft in class WindTimeHeightControlyesorno - true if want latest is on left.public boolean getLatestOnLeft()
getLatestOnLeft in class WindTimeHeightControltrue if latest is on left.public Color getForeground()
public void setForeground(Color color)
color - new colorpublic Color getBackground()
public void setBackground(Color color)
color - new color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||