public class StationModelDisplayable extends DisplayableData
DisplayableData.DragAdapter| Modifier and Type | Field and Description |
|---|---|
static float |
OFFSET_SCALE
Scale for offset
|
LINE_WIDTH, MANIPULABLE, renderer, VISIBLEDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
|
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(java.lang.String name)
Construct a StationModelDisplayable with the specified name
|
|
StationModelDisplayable(java.lang.String name,
JythonManager jythonManager)
Construct a StationModelDisplayable with the specified name
|
|
StationModelDisplayable(java.lang.String name,
StationModel stationModel)
Construct a StationModelDisplayable using the specified model and
name.
|
|
StationModelDisplayable(java.lang.String name,
StationModel stationModel,
JythonManager jythonManager)
Construct a StationModelDisplayable using the specified model and
name.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
java.awt.Color |
getColor()
Get the default color
|
boolean |
getRotateShapes()
Get the RotateShapes property.
|
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 |
setColor(java.awt.Color c)
Set the color
|
void |
setRangeForSelect(double low,
double hi)
Set the upper and lower limit of the range values associated
with a color table.
|
void |
setRotateShapes(boolean value)
Set the RotateShapes property.
|
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(visad.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
|
void |
toFront()
Implement toFront
|
boolean |
writeKmzFile(java.io.File f,
visad.FieldImpl data,
java.lang.String name,
int kmzIconWidth,
int kmzIconHeight,
java.awt.Color bgColor)
Write the station display into a kmz file
|
addAction, dataChange, getActive, getAnimationSet, getData, getDataRenderer, getLineWidth, getName, getPointSize, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setLineWidth, setManipulable, setPickable, setPointMode, setPointSize, setUseFastRendering, setVisible, showme, toStringaddConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setUseTimesInAnimationpublic static final float OFFSET_SCALE
public StationModelDisplayable()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic StationModelDisplayable(java.lang.String name)
throws visad.VisADException,
java.rmi.RemoteException
name - name of displayable and StationModelvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic StationModelDisplayable(java.lang.String name,
JythonManager jythonManager)
throws visad.VisADException,
java.rmi.RemoteException
name - name of displayable and StationModeljythonManager - The JythonManager for evaluating embedded expressionsvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic StationModelDisplayable(StationModel model) throws visad.VisADException, java.rmi.RemoteException
model - StationModel to use for data depictionvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic StationModelDisplayable(StationModel model, JythonManager jythonManager) throws visad.VisADException, java.rmi.RemoteException
model - StationModel to use for data depictionjythonManager - The JythonManager for evaluating embedded expressionsvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic StationModelDisplayable(java.lang.String name,
StationModel stationModel)
throws visad.VisADException,
java.rmi.RemoteException
name - name of for this displayable data referencestationModel - StationModel to use for data depictionvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic StationModelDisplayable(java.lang.String name,
StationModel stationModel,
JythonManager jythonManager)
throws visad.VisADException,
java.rmi.RemoteException
name - name of for this displayable data referencestationModel - StationModel to use for data depictionjythonManager - The JythonManager for evaluating embedded expressionsvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectsprotected StationModelDisplayable(StationModelDisplayable that) throws visad.VisADException, java.rmi.RemoteException
that - object to clone from.java.rmi.RemoteException - a remote errorvisad.VisADException - a VisAD errorpublic void setStationData(visad.FieldImpl stationData)
throws visad.VisADException,
java.rmi.RemoteException
stationData - Field of station observations.visad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic void setColor(java.awt.Color c)
throws visad.VisADException,
java.rmi.RemoteException
setColor in class Displayablec - the new colorvisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic java.awt.Color getColor()
public void toFront()
throws java.rmi.RemoteException,
visad.VisADException
toFront in class Displayablevisad.VisADException - unable to create specified VisAD objectsjava.rmi.RemoteException - unable to create specified remote objectspublic Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay in class DisplayableDatavisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setStationModel(StationModel model) throws visad.VisADException, java.rmi.RemoteException
model - StationModel to usevisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setStationModel(StationModel model, boolean update) throws visad.VisADException, java.rmi.RemoteException
model - StationModel to useupdate - update data using new modelvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public StationModel getStationModel()
public boolean writeKmzFile(java.io.File f,
visad.FieldImpl data,
java.lang.String name,
int kmzIconWidth,
int kmzIconHeight,
java.awt.Color bgColor)
throws java.lang.Exception
f - The filedata - The dataname - Name for kmlkmzIconWidth - icon widthkmzIconHeight - icon heightbgColor - background color of iconjava.lang.Exception - on badnessprotected void destroy()
throws java.rmi.RemoteException,
visad.VisADException
destroy in class DisplayableDatavisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setScale(float newScale)
throws visad.VisADException,
java.rmi.RemoteException
newScale - scale to use.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public float getScale()
public void setShouldUseAltitude(boolean value)
throws visad.VisADException,
java.rmi.RemoteException
value - The new value for ShouldUseAltitudejava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic boolean getShouldUseAltitude()
public void setSelectedRange(double low,
double hi)
throws visad.VisADException,
java.rmi.RemoteException
setSelectedRange in class Displayablelow - low select valuehi - hi select valuejava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setRangeForSelect(double low,
double hi)
throws visad.VisADException,
java.rmi.RemoteException
low - the minimun valuehi - the maximum valuejava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic boolean hasSelectedRange()
public void setRotateShapes(boolean value)
value - The new value for RotateShapespublic boolean getRotateShapes()