|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.Displayable
ucar.visad.display.DisplayableData
ucar.visad.display.StationModelDisplayable
public class StationModelDisplayable
Class for displaying a station model plot
| Field Summary | |
|---|---|
static float |
OFFSET_SCALE
Scale for offset |
| Fields inherited from class ucar.visad.display.DisplayableData |
|---|
LINE_WIDTH, MANIPULABLE, VISIBLE |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
|
StationModelDisplayable()
Default constructor; |
|
StationModelDisplayable(StationModel model)
Construct a StationModelDisplayable using the specified model. |
protected |
StationModelDisplayable(StationModelDisplayable that)
Clone constructor to create another instance. |
|
StationModelDisplayable(StationModel model,
JythonManager jythonManager)
Construct a StationModelDisplayable using the specified model. |
|
StationModelDisplayable(String name)
Construct a StationModelDisplayable with the specified name |
|
StationModelDisplayable(String name,
JythonManager jythonManager)
Construct a StationModelDisplayable with the specified name |
|
StationModelDisplayable(String name,
StationModel stationModel)
Construct a StationModelDisplayable using the specified model and name. |
|
StationModelDisplayable(String name,
StationModel stationModel,
JythonManager jythonManager)
Construct a StationModelDisplayable using the specified model and name. |
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
protected void |
destroy()
Called when the displayable is removed from a display master |
float |
getScale()
Get the scale of the ShapeControl. |
boolean |
getShouldUseAltitude()
Get the ShouldUseAltitude property. |
StationModel |
getStationModel()
Get the station model used by this displayable. |
boolean |
hasSelectedRange()
Returns whether this Displayable has a valid range (i.e., lowSelectedRange and highSelectedRange are both not NaN's |
void |
setRangeForSelect(double low,
double hi)
Set the upper and lower limit of the range values associated with a color table. |
void |
setScale(float newScale)
Set the scale of the ShapeControl. |
void |
setSelectedRange(double low,
double hi)
Set selected range with the range for select |
void |
setShouldUseAltitude(boolean value)
Set the ShouldUseAltitude property. |
void |
setStationData(FieldImpl stationData)
Set the station data to display using the StationModel. |
void |
setStationModel(StationModel model)
Set the station ob model for this object |
void |
setStationModel(StationModel model,
boolean update)
Set the station ob model for this object |
| Methods inherited from class ucar.visad.display.DisplayableData |
|---|
addAction, dataChange, getActive, getAnimationSet, getData, getDataRenderer, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final float OFFSET_SCALE
| Constructor Detail |
|---|
public StationModelDisplayable()
throws VisADException,
RemoteException
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public StationModelDisplayable(String name)
throws VisADException,
RemoteException
name - name of displayable and StationModel
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public StationModelDisplayable(String name,
JythonManager jythonManager)
throws VisADException,
RemoteException
name - name of displayable and StationModeljythonManager - The JythonManager for evaluating embedded expressions
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public StationModelDisplayable(StationModel model)
throws VisADException,
RemoteException
model - StationModel to use for data depiction
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public StationModelDisplayable(StationModel model,
JythonManager jythonManager)
throws VisADException,
RemoteException
model - StationModel to use for data depictionjythonManager - The JythonManager for evaluating embedded expressions
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public StationModelDisplayable(String name,
StationModel stationModel)
throws VisADException,
RemoteException
name - name of for this displayable data referencestationModel - StationModel to use for data depiction
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public StationModelDisplayable(String name,
StationModel stationModel,
JythonManager jythonManager)
throws VisADException,
RemoteException
name - name of for this displayable data referencestationModel - StationModel to use for data depictionjythonManager - The JythonManager for evaluating embedded expressions
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
protected StationModelDisplayable(StationModelDisplayable that)
throws VisADException,
RemoteException
that - object to clone from.
RemoteException - a remote error
VisADException - a VisAD error| Method Detail |
|---|
public void setStationData(FieldImpl stationData)
throws VisADException,
RemoteException
stationData - Field of station observations.
VisADException - unable to create specified VisAD objects
RemoteException - unable to create specified remote objects
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
cloneForDisplay in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setStationModel(StationModel model)
throws VisADException,
RemoteException
model - StationModel to use
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setStationModel(StationModel model,
boolean update)
throws VisADException,
RemoteException
model - StationModel to useupdate - update data using new model
VisADException - VisAD failure.
RemoteException - Java RMI failure.public StationModel getStationModel()
protected void destroy()
throws RemoteException,
VisADException
destroy in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setScale(float newScale)
throws VisADException,
RemoteException
newScale - scale to use.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public float getScale()
public void setShouldUseAltitude(boolean value)
throws VisADException,
RemoteException
value - The new value for ShouldUseAltitude
RemoteException - On badness
VisADException - On badnesspublic boolean getShouldUseAltitude()
public void setSelectedRange(double low,
double hi)
throws VisADException,
RemoteException
setSelectedRange in class Displayablelow - low select valuehi - hi select value
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setRangeForSelect(double low,
double hi)
throws VisADException,
RemoteException
low - the minimun valuehi - the maximum value
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic boolean hasSelectedRange()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||