|
||||||||||
| 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
edu.wisc.ssec.mcidasv.control.ProfileAlongTrackControl
public class ProfileAlongTrackControl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
DisplayControlImpl.SideLegendLabel |
| Field Summary | |
|---|---|
private DataChoice |
dataChoice
|
private MultiDimensionDataSource |
dataSource
|
private XYDisplay |
display2D
|
private GeoSelection |
geoSelection
|
private GeoSelectionPanel |
geoSelectionPanel
|
private DisplayableData |
imageDisplay
|
private RealType |
imageRangeType
|
private SelectorPoint |
locOnTrack
|
private DisplayMaster |
mainViewMaster
|
private DisplayableData |
meshDisplay
|
private DecimalFormat |
numFmt
|
MultiDimensionSubset |
subset
|
private DisplayableData |
textDisplay
|
private FlatField |
track
|
private DisplayableData |
trackDisplay
|
| Fields inherited from class ucar.unidata.idv.control.DisplayControlImpl |
|---|
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, noteTextArea, noteWrapper, paramName, requestProperties, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, version, viewManagers, ZFUDGE |
| 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, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND |
| Constructor Summary | |
|---|---|
ProfileAlongTrackControl()
|
|
| Method Summary | |
|---|---|
private DisplayableData |
create3DDisplay(FlatField data)
|
private void |
create3DMesh(FlatField track)
|
private FlatField |
createTrackDisplay(DataChoice dataChoice)
|
void |
dataChanged()
Implementation of DataChangeListener. |
Container |
doMakeContents()
Make Gui contents |
protected JComponent |
doMakeWidgetComponent()
A helper method for constructing the ui. |
void |
doRemove()
Remove this DisplayControl. |
private JComponent |
getDisplayTab()
|
protected ColorTable |
getInitialColorTable()
A hook so derived classes can return a colortable. |
protected Range |
getInitialRange()
Hook method to allow derived classes to return a different initial Range |
boolean |
init(DataChoice dataChoice)
Initialize this instance according to a data choice. |
private XYDisplay |
makeDisplay2D(FlatField data)
|
void |
setDisplayVisibility(boolean on)
Set the visibility of the display and set the state of any visibility buttons we may have. |
| Methods inherited from class ucar.unidata.idv.control.DisplayControlBase |
|---|
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, 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.idv.DisplayControl |
|---|
getTmpProperty, putTmpProperty, removeTmpProperty |
| Methods inherited from interface ucar.unidata.collab.Sharable |
|---|
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime |
| Field Detail |
|---|
private DataChoice dataChoice
private DisplayableData imageDisplay
private DisplayableData trackDisplay
private DisplayableData meshDisplay
private DisplayableData textDisplay
private DisplayMaster mainViewMaster
private RealType imageRangeType
public MultiDimensionSubset subset
private MultiDimensionDataSource dataSource
private FlatField track
private GeoSelection geoSelection
private GeoSelectionPanel geoSelectionPanel
private XYDisplay display2D
private SelectorPoint locOnTrack
private DecimalFormat numFmt
| Constructor Detail |
|---|
public ProfileAlongTrackControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
ucar.unidata.idv.control.DisplayControlImplInitialize this instance according to a data choice. Subclasses should
override this method. Overridding methods should probably invoke DisplayControlImpl.setData(DataChoice) as part of their initialization procedure --
although it is unclear when this is actually necessary.
This implementation simply returns true.
init in class DisplayControlImpldataChoice - A data choice or null.
true if and only if this instance
was correctly initialized by the data choice.
VisADException - if a VisAD Failure occurs.
RemoteException - if a Java RMI failure occurs.public void dataChanged()
ucar.unidata.idv.control.DisplayControlImplDataChangeListener.
dataChanged in interface DataChangeListenerdataChanged in class DisplayControlImpl
private FlatField createTrackDisplay(DataChoice dataChoice)
throws VisADException,
RemoteException
VisADException
RemoteException
private DisplayableData create3DDisplay(FlatField data)
throws VisADException,
RemoteException
VisADException
RemoteException
private void create3DMesh(FlatField track)
throws VisADException,
RemoteException
VisADException
RemoteException
private XYDisplay makeDisplay2D(FlatField data)
throws VisADException,
RemoteException
VisADException
RemoteExceptionprotected ColorTable getInitialColorTable()
ucar.unidata.idv.control.DisplayControlImplDisplayConventions
to get the color table based on the paramName
getInitialColorTable in class DisplayControlImpl
protected Range getInitialRange()
throws RemoteException,
VisADException
ucar.unidata.idv.control.DisplayControlImplRange
getInitialRange in class DisplayControlImplRemoteException - Java RMI problem
VisADException - VisAD problem
public void doRemove()
throws RemoteException,
VisADException
ucar.unidata.idv.control.DisplayControlImplControlContext
to removeDisplayControl.
Removes all Displayable-s from
their ViewManager-s, remove this object from its Sharable
group, and sets the visibility of the dialog window to false.
doRemove in interface DisplayControldoRemove in class DisplayControlImplRemoteException
VisADExceptionpublic void setDisplayVisibility(boolean on)
ucar.unidata.idv.control.DisplayControlImpl
setDisplayVisibility in interface DisplayControlsetDisplayVisibility in class DisplayControlImplon - true to set visibility onpublic Container doMakeContents()
ucar.unidata.idv.control.DisplayControlImpl
doMakeContents in class DisplayControlImplprotected JComponent doMakeWidgetComponent()
ucar.unidata.idv.control.DisplayControlImplControlWidget
(e.g., ColorTableWidget) and creates a gridded
ui with them.
doMakeWidgetComponent in class DisplayControlImplprivate JComponent getDisplayTab()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||