|
||||||||||
| 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.CrossSectionControl
ucar.unidata.idv.control.DataTransectControl
public class DataTransectControl
Class for displaying transects of data along a cross section line.
| 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.CrossSectionControl |
|---|
coordTrans, crossSectionView, csSelector, dataIs3D, displayIs3D, endCoord, endLocation, SHARE_XSLINE, sizeX, sizeY, startCoord, startLocation, vcsDisplay, xsDisplay |
| 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 | |
|---|---|
DataTransectControl()
Default Constructor |
|
| Method Summary | |
|---|---|
void |
addToRangeMenu(RangeWidget rw,
List items)
Add an entry into the range menu |
protected void |
applyDisplayUnit()
Apply the display unit to the data depictions. |
protected void |
applyRange()
Apply the data range to the data depictions. |
protected void |
createCrossSectionSelector()
Make a Selector line which shows and controls where cross section is |
protected DisplayableData |
createVCSDisplay()
Create the DisplayableData that will be used
to depict the data in the cross section view display. |
protected DisplayableData |
createXSDisplay()
Create the DisplayableData that will be used
to depict the data in the main display. |
void |
getControlWidgets(List controlWidgets)
Add control widgets specific to this control to the list |
protected String |
getCrossSectionViewLabel()
Get the label for the CrossSectionView |
int |
getLineWidth()
Get the track width property. |
protected int |
getSelectorAttributeFlags()
Return the attribute flags to apply to the cross section selector. |
boolean |
init(DataChoice dataChoice)
Initialize the class. |
protected void |
load2DData(FieldImpl twoDData)
Load the 2D data into the appropriate display(s) |
protected FieldImpl |
make2DData(FieldImpl xsectSequence)
Make a FieldImpl suitable for the plain 2D vert cross section display; of form (time -> ((x) -> parm)); new x axis positions are in distance along cross section from one end. |
void |
setLineWidth(int width)
Set the line width property. |
protected void |
setYAxisRange(XSDisplay display,
Range range)
Methods to do the things that need to be done when the data range changes. |
protected void |
updateViewParameters()
Set the parameters for the view. |
| 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 |
| Constructor Detail |
|---|
public DataTransectControl()
| Method Detail |
|---|
protected void createCrossSectionSelector()
throws VisADException,
RemoteException
createCrossSectionSelector in class CrossSectionControlRemoteException - Java RMI error
VisADException - VisAD errorprotected int getSelectorAttributeFlags()
getSelectorAttributeFlags in class CrossSectionControl
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class CrossSectionControlcontrolWidgets - list of control widgets
RemoteException - Java RMI error
VisADException - VisAD Error
protected DisplayableData createVCSDisplay()
throws VisADException,
RemoteException
DisplayableData that will be used
to depict the data in the cross section view display.
createVCSDisplay in class CrossSectionControlVisADException - unable to create depictor
RemoteException - unable to create depictor (shouldn't happen)
protected DisplayableData createXSDisplay()
throws VisADException,
RemoteException
DisplayableData that will be used
to depict the data in the main display.
createXSDisplay in class CrossSectionControlVisADException - unable to create depictor
RemoteException - unable to create depictor (shouldn't happen)
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class CrossSectionControldataChoice - data description
RemoteException - Java RMI error
VisADException - VisAD error
protected void load2DData(FieldImpl twoDData)
throws VisADException,
RemoteException
load2DData in class CrossSectionControltwoDData - cross section slice converted to 2D
RemoteException - Java RMI error
VisADException - VisAD error
public void addToRangeMenu(RangeWidget rw,
List items)
addToRangeMenu in class DisplayControlImplrw - The widget that manages the range dialogitems - List of menu items
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 unit
RemoteException - error applying unitprotected String getCrossSectionViewLabel()
getCrossSectionViewLabel in class CrossSectionControl
protected void updateViewParameters()
throws VisADException,
RemoteException
updateViewParameters in class CrossSectionControlRemoteException - Java RMI error
VisADException - VisAD error
protected void setYAxisRange(XSDisplay display,
Range range)
throws VisADException,
RemoteException
setYAxisRange in class CrossSectionControldisplay - the display to modifyrange - Range of values in units of Y Axis
RemoteException - Java RMI error
VisADException - VisAD error
protected FieldImpl make2DData(FieldImpl xsectSequence)
throws VisADException,
RemoteException
make2DData in class CrossSectionControlxsectSequence - the time sequence of cross section data
RemoteException - Java RMI error
VisADException - VisAD errorpublic void setLineWidth(int width)
setLineWidth in class DisplayControlImplwidth - width for line (pixels)public int getLineWidth()
getLineWidth in class DisplayControlImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||