|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.ProbeRowInfo
public class ProbeRowInfo
Class ProbeRowInfo holds the state for each row in the probe control.
| Constructor Summary | |
|---|---|
ProbeRowInfo()
ctor |
|
ProbeRowInfo(ProbeControl control)
ctor |
|
ProbeRowInfo(ProbeControl control,
DataInstance dataInstance)
ctor |
|
ProbeRowInfo(Real level,
Real alt,
int mode,
Unit unit,
MidiProperties midiProperties)
ctor used for creating a ProbeRowInfo from legacy bundles values |
|
| Method Summary | |
|---|---|
protected void |
clearCachedSamples()
Clear any cached samples |
Real |
getAltitude()
Get the Altitude property. |
DataInstance |
getDataInstance()
Get the data instance |
protected Object |
getDisplayValue()
Get the DisplayValue property. |
protected String |
getExtra()
extra stuff for table |
GridDataInstance |
getGridDataInstance()
Get the data instance |
Real |
getLevel()
Get the Level property. |
LineState |
getLineState()
Get the LineState property. |
MidiProperties |
getMidiProperties()
Get the MidiProperties property. |
int |
getPointIndex()
_more_ |
String |
getPointParameter()
Get the PointParameter property. |
String |
getPointParameterName()
_more_ |
FieldImpl |
getPointSample()
Get the last point sample |
FieldImpl |
getPointSample(EarthLocation elt)
Get the sample we last used. |
protected Real |
getRealValue()
Get the value as a Real. |
protected Real |
getRealValue(Data timeSample)
|
int |
getSamplingMode()
Get the SamplingMode property. |
String |
getStationName()
_more_ |
protected Data |
getTimeSample()
_more_ |
protected Set |
getTimeSet()
time set |
TupleType |
getTupleType()
_more_ |
Unit |
getUnit()
Get the Unit property. |
FieldImpl |
getWorkingGrid()
Get the sample we last used |
protected void |
initWith(ProbeRowInfo that)
Sort of a copy ctor |
boolean |
isGrid()
Are we probing on grids |
boolean |
isPoint()
_more_ |
protected void |
playSound(double value)
Play a sound for the particular row and value |
void |
setAltitude(Real value)
Set the Altitude property. |
protected void |
setDataInstance(DataInstance di)
Set the data instance |
protected void |
setDisplayValue(Object value)
Set the DisplayValue property. |
protected void |
setExtra(String s)
extra stuff for table |
void |
setLevel(Real value)
Set the Level property. |
void |
setLineState(LineState value)
Set the LineState property. |
void |
setMidiProperties(MidiProperties value)
Set the MidiProperties property. |
void |
setPointParameter(String value)
Set the PointParameter property. |
protected void |
setPointSample(FieldImpl sample,
EarthLocation elt)
Set the sample we last used |
void |
setSamplingMode(int value)
Set the SamplingMode property. |
void |
setStationName(PointOb ob)
_more_ |
protected void |
setTimeSample(Data rt)
Set the raw value from the Data. |
void |
setUnit(Unit value)
Set the Unit property. |
protected void |
setWorkingGrid(FieldImpl grid)
Set the working grid for this row |
protected void |
showSoundDialog(ProbeControl control)
Show the sound dialog |
String |
toString()
to string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProbeRowInfo()
public ProbeRowInfo(ProbeControl control)
control - The control we're in. Just use it for getting the sampling mode
public ProbeRowInfo(Real level,
Real alt,
int mode,
Unit unit,
MidiProperties midiProperties)
level - levelalt - altitudemode - sampling modeunit - display unitmidiProperties - sound configuartion
public ProbeRowInfo(ProbeControl control,
DataInstance dataInstance)
control - the controldataInstance - data instance| Method Detail |
|---|
public boolean isGrid()
public boolean isPoint()
protected void setExtra(String s)
s - extraprotected String getExtra()
protected void clearCachedSamples()
protected void setTimeSample(Data rt)
throws VisADException,
RemoteException
rt - The data
RemoteException - On badness
VisADException - On badnessprotected Data getTimeSample()
protected void initWith(ProbeRowInfo that)
that - that
protected void showSoundDialog(ProbeControl control)
throws VisADException,
RemoteException
control - control I'm in
RemoteException - On badness
VisADException - On badnesspublic String toString()
toString in class Objectprotected void playSound(double value)
value - value of dataprotected void setDisplayValue(Object value)
value - The new value for DisplayValueprotected Object getDisplayValue()
public GridDataInstance getGridDataInstance()
public DataInstance getDataInstance()
protected void setDataInstance(DataInstance di)
di - The data instance
public TupleType getTupleType()
throws VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_
protected Real getRealValue()
throws VisADException,
RemoteException
RemoteException - On badness
VisADException - On badness
protected Real getRealValue(Data timeSample)
throws VisADException,
RemoteException
VisADException
RemoteException
public String getPointParameterName()
throws VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_
public int getPointIndex()
throws VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_public void setUnit(Unit value)
value - The new value for Unitprotected void setWorkingGrid(FieldImpl grid)
grid - public FieldImpl getWorkingGrid()
protected void setPointSample(FieldImpl sample,
EarthLocation elt)
throws VisADException,
RemoteException
sample - sampleelt - The point we sampled on
RemoteException - _more_
VisADException - _more_
public void setStationName(PointOb ob)
throws VisADException,
RemoteException
ob - _more_
RemoteException - _more_
VisADException - _more_
protected Set getTimeSet()
throws VisADException,
RemoteException
RemoteException - _more_
VisADException - _more_public FieldImpl getPointSample()
public FieldImpl getPointSample(EarthLocation elt)
elt - The point we want to sample on
public Unit getUnit()
public void setLevel(Real value)
value - The new value for Levelpublic Real getLevel()
public void setAltitude(Real value)
value - The new value for Altitudepublic Real getAltitude()
public void setSamplingMode(int value)
value - The new value for SamplingModepublic int getSamplingMode()
public void setMidiProperties(MidiProperties value)
value - The new value for MidiPropertiespublic MidiProperties getMidiProperties()
public void setLineState(LineState value)
value - The new value for LineStatepublic LineState getLineState()
public String getStationName()
public void setPointParameter(String value)
value - The new value for PointParameterpublic String getPointParameter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||