|
||||||||||
| 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.TimeHeightControl
ucar.unidata.idv.control.FlowTimeHeightControl
public class FlowTimeHeightControl
A plan view control for flow data (vector or wind barbs)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
protected float |
scaleFactor
a scale factor |
| Fields inherited from class ucar.unidata.idv.control.TimeHeightControl |
|---|
SHARE_PROFILE, timeHeightView |
| 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.control.FlowDisplayControl |
|---|
SHARE_FLOWRANGE, SHARE_FLOWSCALE |
| 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 | |
|---|---|
FlowTimeHeightControl()
Create a new FlowTimeHeightControl; set attribute flags |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Handle actions as an ActionListener |
protected DisplayableData |
createDataDisplay()
Create the Displayable for the data depiction. |
protected void |
displayTHForCoord(FieldImpl fi,
int NN)
Make a 2D display of the range values against domain coordinate # NN. |
String |
getColorWidgetLabel()
Get the color table widget label text. |
void |
getControlWidgets(List controlWidgets)
Get control widgets special to this control. |
float |
getFlowScale()
Get the flow scale. |
boolean |
getIsThreeComponents()
Get the use 3 components property. |
boolean |
getStreamlines()
Get the streamline property. |
boolean |
getWindbarbs()
Get the wind barb property. |
void |
initDone()
Method to call after init(). |
void |
loadProfile(RealTuple position)
Given the location of the profile SelectorPoint, create a data set for a profile at that location, and load it in display. |
void |
setFlowScale(float f)
Set the flow scale. |
void |
setIsThreeComponents(boolean v)
Set the use 3 components property. |
void |
setScaleFactor(float s)
Set the scale factor. |
void |
setStreamlines(boolean v)
Set the streamline property. |
void |
setWindbarbs(boolean v)
Set the wind barb property. |
| Methods inherited from class ucar.unidata.idv.control.TimeHeightControl |
|---|
addPropertiesComponents, applyPreferences, doApplyProperties, doMakeColorScales, doMakeContents, getBackground, getDataDisplay, getForeground, getLatestOnLeft, getPositionLL, getShowAsContours, getTimeHeightViewManager, getViewMenuItems, init, probePositionChanged, setBackground, setData, setForeground, setLatestOnLeft, setShowAsContours, setShowAsImage |
| 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 |
|---|
protected final float scaleFactor
| Constructor Detail |
|---|
public FlowTimeHeightControl()
| Method Detail |
|---|
public String getColorWidgetLabel()
getColorWidgetLabel in class DisplayControlImpl
protected DisplayableData createDataDisplay()
throws VisADException,
RemoteException
Displayable for the data depiction.
createDataDisplay in class TimeHeightControlRemoteException - Java RMI error
VisADException - VisAD errorpublic void initDone()
initDone in class TimeHeightControlTimeHeightControl.init(ucar.unidata.data.DataChoice)
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class TimeHeightControlcontrolWidgets - list of control widget from the superclass
RemoteException - Java RMI error
VisADException - VisAD errorpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class GridDisplayControle - action event to processpublic void setStreamlines(boolean v)
v - true to use streamlinespublic boolean getStreamlines()
public void setWindbarbs(boolean v)
v - true if you want to use wind barbspublic boolean getWindbarbs()
public void setIsThreeComponents(boolean v)
v - true if using u, v and wpublic boolean getIsThreeComponents()
public void setScaleFactor(float s)
s - the new factorpublic float getFlowScale()
public void setFlowScale(float f)
f - new flow scale
public void loadProfile(RealTuple position)
throws VisADException,
RemoteException
loadProfile in class TimeHeightControlposition - the location
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void displayTHForCoord(FieldImpl fi,
int NN)
throws VisADException,
RemoteException
displayTHForCoord in class TimeHeightControlfi - a VisAD FlatField or seqence of FlatFields with 3 or more
domain coordinates, manifold dimension 1.NN - an integer, the index number of the coordinate to use
as profile or y axis of plot (0,1,2,...)
RemoteException - Java RMI error
VisADException - VisAD Error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||