|
||||||||||
| 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.ProfileControl
public class ProfileControl
Given a VisAD Field, make a 2D plot of the range data against one of the 3 domain coordinates.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
static String |
SHARE_PROFILE
profile sharing property |
| 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 | |
|---|---|
ProfileControl()
Default constructor; set attribute flags |
|
| Method Summary | |
|---|---|
protected void |
displayUnitChanged(Unit oldUnit,
Unit newUnit)
Called if the display unit changes. |
protected Container |
doMakeContents()
Make the UI contents for this control. |
void |
getControlWidgets(List controlWidgets)
Get the specialized control widgets for this control |
boolean |
init(DataChoice dataChoice)
Construct the vertical profile display and control buttons |
void |
initDone()
Called after init(). |
void |
loadProfile(RealTuple position)
Given the location of the profile SelectorPoint, and a FieldImpl for one or more times for animation, create a data set for a profile at the profile's SP location. |
protected void |
probePositionChanged(RealTuple position)
This gets called by the base class LineProbeControl class when the probe positon has changed (either through user interaction or through the sharing framework. |
protected boolean |
setData(DataChoice dataChoice)
Set the data for this control based on the data choice. |
| 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 ProfileControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - data description
VisADException - couldn't create a VisAD object needed
RemoteException - couldn't create a remote object neededpublic void initDone()
initDone in class DisplayControlImpl
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - list of widgets to add to and return
RemoteException - Java RMI error
VisADException - VisAD Error
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Error
protected boolean setData(DataChoice dataChoice)
throws RemoteException,
VisADException
setData in class DisplayControlImpldataChoice - choice describing the data to load.
RemoteException - Java RMI error
VisADException - VisAD Error
protected void displayUnitChanged(Unit oldUnit,
Unit newUnit)
displayUnitChanged in class DisplayControlImploldUnit - old display unitnewUnit - new display unitprotected void probePositionChanged(RealTuple position)
probePositionChanged in class LineProbeControlposition - new position
public void loadProfile(RealTuple position)
throws VisADException,
RemoteException
position - new position for profile
VisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||