|
||||||||||
| 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
public abstract class ProfilerControl
An abstract class that provides common services for Profiler display related controls.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
protected float |
flowScaleValue
flow scale |
protected float |
scaleFactor
scale factor for the wind barbs |
protected float |
verticalIntervalValue
vertical spacing interval |
| 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 | |
|---|---|
ProfilerControl()
Default constructor; does nothing. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Override the base class method to catch any events. |
protected JComponent |
doMakeExtraComponent()
Make any extra components for the UI. |
protected JComponent |
doMakeVerticalIntervalComponent()
Make a combo box to select vertical separation of wind barbs, in m |
void |
getControlWidgets(List controlWidgets)
Make the control widgets |
float |
getFlowScale()
Return the value of the barb size. |
float |
getVerticalInterval()
Get the vertical interval value |
void |
initDone()
Method called after initialization. |
void |
setFlowScale(float f)
Set the length of the wind barb |
void |
setVerticalInterval(float value)
Use the value of the factor in the vert interval box to set a different vertical interval. |
| 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
protected float flowScaleValue
protected float verticalIntervalValue
| Constructor Detail |
|---|
public ProfilerControl()
| Method Detail |
|---|
protected JComponent doMakeExtraComponent()
protected JComponent doMakeVerticalIntervalComponent()
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - list of control widgets
RemoteException - Java RMI error
VisADException - VisAD Errorpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class DisplayControlImple - The action event.public void initDone()
initDone in class DisplayControlImplpublic void setVerticalInterval(float value)
value - new vertical interval value (meters)public float getVerticalInterval()
public void setFlowScale(float f)
f - the length of the wind barbpublic float getFlowScale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||