|
||||||||||
| 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.GridDisplayControl
ucar.unidata.idv.control.LineProbeControl
ucar.unidata.idv.control.TimeSeriesControl
public class TimeSeriesControl
Given a 2D VisAD FieldImpl for one parameter, make a single plot of the range data of one parm, against time, for one location in the 2D field given by a probe the user can move.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static String |
SHARE_PROFILE
ID for sharing profile location |
| Fields inherited from class ucar.unidata.idv.control.LineProbeControl |
|---|
positionText |
| Fields inherited from class ucar.unidata.idv.control.GridDisplayControl |
|---|
CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevel |
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, controlContext, ctw, cw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, settingVisibility, sharables, showNoteText, skipSlider, srw, version, viewManagers |
| 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, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
TimeSeriesControl()
Default constructor; set attribute flags. |
|
| Method Summary | |
|---|---|
protected void |
applyDisplayUnit()
Apply the display unit to the data depictions. |
protected void |
applyRange()
Apply the data range to the data depictions |
protected Container |
doMakeContents()
Make the UI contents for the control window. |
boolean |
init(DataChoice dataChoice)
Construct a time series display of data values at one map location versus time, and its control buttons, in a window. |
void |
initDone()
Called after init(). |
void |
loadTimeSeries(RealTuple position)
Given a location where the data is to be extracted, using the local grid with 2D data for >1 times, get the time series at the location. |
protected void |
probePositionChanged(RealTuple position)
This gets called when either the user moves the probe point or when we get a sharable event to move the probe point. |
protected boolean |
setData(DataChoice dataChoice)
Set the data from the given dataChoice. |
protected boolean |
shouldAddAnimationListener()
A hook to allow derived classes to tell us to add this as an animation listener |
protected void |
timeChanged(Real time)
Respond to a timeChange event |
| Methods inherited from class ucar.unidata.idv.control.LineProbeControl |
|---|
addLabelMacros, decreaseProbeSize, doMakeProbe, doMakeProbe, doMakeProbe, doMakeProbe, doMakeProbeMenu, doMoveProbe, getEditMenuItems, getGridCenterPosition, getInitialLinePosition, getInitialPosition, getLegendLabels, getMacroNames, getMarker, getPointSize, getPosition, increaseProbeSize, projectionChanged, propertyChange, receiveShareData, resetProbePosition, setMarker, setPointSize, setPosition, setProbePosition, setProbePosition, updateLegendLabel |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getScreenCenter, getSelectedStation, isLeftButtonDown, logException, logException, makeEarthLocation, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, 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.collab.Sharable |
|---|
getShareGroup, getSharing, getUniqueId |
| Field Detail |
|---|
public static final String SHARE_PROFILE
| Constructor Detail |
|---|
public TimeSeriesControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the DataChoice
VisADException - couldn't create a VisAD object needed
RemoteException - couldn't create a remote object neededprotected boolean shouldAddAnimationListener()
shouldAddAnimationListener in class DisplayControlImplprotected void timeChanged(Real time)
timeChanged in class DisplayControlImpltime - new timepublic void initDone()
initDone in class DisplayControlImpl
protected boolean setData(DataChoice dataChoice)
throws RemoteException,
VisADException
setData in class DisplayControlImpldataChoice - new data
RemoteException - Java RMI error
VisADException - VisAD Error
protected void applyDisplayUnit()
throws VisADException,
RemoteException
applyDisplayUnit in class DisplayControlImplVisADException - error applying unit
RemoteException - error applying unit
protected void applyRange()
throws VisADException,
RemoteException
applyRange in class DisplayControlImplVisADException - error applying range
RemoteException - error applying range
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Errorprotected void probePositionChanged(RealTuple position)
probePositionChanged in class LineProbeControlposition - probe position (NOT USED)
public void loadTimeSeries(RealTuple position)
throws VisADException,
RemoteException
position - where data is to be extracted
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||