|
||||||||||
| 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.TrackControl
public class TrackControl
A MetApps Display Control with Displayable and controls for displaying a track (balloon sounding or aircraft track)
| 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.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 | |
|---|---|
TrackControl()
Create a new Track Control; set the attribute flags |
|
| Method Summary | |
|---|---|
protected void |
addDisplaySettings(DisplaySettingsDialog dsd)
Add display settings paricular to this control |
void |
applyTimeRange()
Handle some sort of time change. |
protected Container |
doMakeContents()
Make the gui |
void |
editLayoutModel()
Popup the station model editor |
boolean |
getAskedUserToDeclutterTime()
Get the AskedUserToDeclutterTime property. |
protected int |
getColorRangeIndex()
Returns the index to use in the GridDataInstance array of ranges for color ranges. |
String |
getColorWidgetLabel()
Return the label that is to be used for the color widget This allows derived classes to override this and provide their own name, |
void |
getControlWidgets(List controlWidgets)
Add control widgets specific to this control to the list |
protected Set |
getDataTimeSet()
Collect the time animation set from the displayables. |
LatLonPoint |
getDisplayCenter()
Get the display center |
int |
getLineWidth()
Get the line width property. |
StationModel |
getMarkerLayout()
Get the current layout model view. |
float |
getMarkerScale()
Get the scale the user can enter |
boolean |
getMarkerVisible()
Get whether the marker is visible |
protected Hashtable |
getRequestProperties()
Override the base class method that creates request properties and add in the appropriate 2d/3d request parameter. |
boolean |
getTimeDeclutterEnabled()
Get the TimeDeclutterEnabled property. |
double |
getTimeDeclutterMinutes()
Get the TimeDeclutterMinutes property. |
String |
getTrackType()
Get the track type for this control. |
protected int |
getTrackWidth()
Get the track width property. |
boolean |
getUseTrackTimes()
Deprecated. |
protected boolean |
haveMultipleFields()
Return whether the Data held by this display control contains multiple fields (e.g., for the isosurface colored by another parameter |
boolean |
init(DataChoice dataChoice)
Call to help make this kind of Display Control; also calls code to made the Displayable (empty of data thus far). |
void |
initAfterUnPersistence(ControlContext vc,
Hashtable properties,
List preSelectedDataChoices)
Called by the IntegratedDataViewer to
initialize after this control has been unpersisted |
protected JPanel |
makeLayoutModelWidget()
Make the gui widget for setting the layout model |
void |
receiveShareData(Sharable from,
Object dataId,
Object[] data)
Method called by other classes that share the selector. |
void |
setAskedUserToDeclutterTime(boolean value)
Set the AskedUserToDeclutterTime property. |
protected boolean |
setData(DataChoice choice)
Set the data in this control |
protected void |
setDataInstance(DataInstance dataInstance)
Set the dataInstance and its paramName in the superclass member data. |
void |
setDataTimeRange(DataTimeRange range)
Set the DataTimeRange |
void |
setLineWidth(int width)
Deprecated. use #setLineWidth(int) |
void |
setMarkerLayout(StationModel model)
Set the current station model view. |
void |
setMarkerScale(float f)
Set the scale the user can enter |
void |
setMarkerSymbol(String value)
Deprecated. now use #setMarkerLayout(StationModel) |
void |
setMarkerText(String value)
Deprecated. now use #setMarkerLayout(StationModel) |
void |
setMarkerVisible(boolean value)
Set the marker visible |
void |
setTimeDeclutterEnabled(boolean value)
Set the TimeDeclutterEnabled property. |
void |
setTimeDeclutterMinutes(double value)
Set the TimeDeclutterMinutes property. |
void |
setTimeSubsetEnabled(boolean value)
Deprecated. |
void |
setTimeSubsetMinutes(double value)
Deprecated. |
void |
setTrackType(String type)
Set the track type for this control. |
void |
setTrackWidth(int width)
Deprecated. use #setLineWidth(int) |
void |
setUseTrackTime(boolean value)
Deprecated. |
void |
setUseTrackTimes(boolean value)
Deprecated. |
protected void |
timeChanged(Real time)
Respond to a timeChange event |
protected void |
timeDeclutterChanged()
Handle when the time declutering state has changed |
| 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 TrackControl()
| Method Detail |
|---|
public boolean init(DataChoice dataChoice)
throws VisADException,
RemoteException
init in class DisplayControlImpldataChoice - the DataChoice of the moment.
RemoteException - Java RMI error
VisADException - VisAD Errorpublic String getColorWidgetLabel()
getColorWidgetLabel in class DisplayControlImplprotected void setDataInstance(DataInstance dataInstance)
setDataInstance in class DisplayControlImpldataInstance - the data instance to use
public LatLonPoint getDisplayCenter()
throws RemoteException,
VisADException
getDisplayCenter in class DisplayControlImplRemoteException - Java RMI error
VisADException - VisAD Errorprotected void timeChanged(Real time)
timeChanged in class DisplayControlImpltime - new time
protected boolean setData(DataChoice choice)
throws VisADException,
RemoteException
setData in class DisplayControlImplchoice - data choice
RemoteException - Java RMI error
VisADException - VisAD Error
protected Container doMakeContents()
throws VisADException,
RemoteException
doMakeContents in class DisplayControlImplRemoteException - On Badness
VisADException - On Badnessprotected void timeDeclutterChanged()
public void getControlWidgets(List controlWidgets)
throws VisADException,
RemoteException
getControlWidgets in class DisplayControlImplcontrolWidgets - list of control widgets
RemoteException - Java RMI error
VisADException - VisAD Error
public void initAfterUnPersistence(ControlContext vc,
Hashtable properties,
List preSelectedDataChoices)
IntegratedDataViewer to
initialize after this control has been unpersisted
initAfterUnPersistence in interface DisplayControlinitAfterUnPersistence in class DisplayControlImplvc - The context in which this control existsproperties - Properties that may hold thingspreSelectedDataChoices - set of preselected data choicesprotected void addDisplaySettings(DisplaySettingsDialog dsd)
addDisplaySettings in class DisplayControlImpldsd - the DisplaySettingsDialogpublic void setDataTimeRange(DataTimeRange range)
setDataTimeRange in class DisplayControlImplrange - the DataTimeRangepublic void applyTimeRange()
applyTimeRange in class DisplayControlImplprotected Hashtable getRequestProperties()
getRequestProperties in class DisplayControlImplprotected boolean haveMultipleFields()
haveMultipleFields in class GridDisplayControlprotected int getColorRangeIndex()
getColorRangeIndex in class GridDisplayControl
public void receiveShareData(Sharable from,
Object dataId,
Object[] data)
receiveShareData in interface SharablereceiveShareData in class