public class LatLonLines extends LineDrawing
DisplayableData.DragAdapter
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Modifier | Constructor and Description |
---|---|
protected |
LatLonLines(LatLonLines that)
Constructs from another instance.
|
|
LatLonLines(visad.RealType type)
Construct a LatLonLine object with default min, max and spacing
values.
|
|
LatLonLines(visad.RealType type,
float minValue,
float maxValue,
float spacing)
Construct a LatLonLine object of the given type.
|
|
LatLonLines(visad.RealType type,
float minValue,
float maxValue,
float spacing,
boolean setData)
Construct a LatLonLine object of the given type.
|
|
LatLonLines(visad.RealType type,
float minValue,
float maxValue,
float spacing,
float base,
boolean setData)
Construct a LatLonLine object of the given type.
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
float |
getBase()
Get the current line base.
|
float |
getSpacing()
Get the current line spacing.
|
void |
setBase(float base)
Change the line base
|
void |
setLimits(float minValue,
float maxValue,
float spacing)
Set the limits and spacing of the lines.
|
void |
setLimits(float minValue,
float maxValue,
float spacing,
float base)
Set the limits and spacing of the lines.
|
void |
setMaxMin(float minValue,
float maxValue)
Change the starting and ending lines
|
void |
setSpacing(float spacing)
Change the line spacing
|
void |
setVisible(boolean visible)
Sets the "visible" property.
|
java.lang.String |
toString()
Provide a readable description of this LatLonLines
|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, showme
addConstantMap, 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, setSelectedRange, setUseTimesInAnimation, toFront
public LatLonLines(visad.RealType type) throws visad.VisADException, java.rmi.RemoteException
type
- lat lines when type = RealType.Latitude, lon lines
when type = RealType.Longitudevisad.VisADException
- invalid type or can't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic LatLonLines(visad.RealType type, float minValue, float maxValue, float spacing) throws visad.VisADException, java.rmi.RemoteException
type
- lat lines when type = RealType.Latitude, lon lines
when type = RealType.LongitudeminValue
- starting line (degrees)maxValue
- ending line (degrees)spacing
- spacing between lines (degrees)visad.VisADException
- invalid type or can't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic LatLonLines(visad.RealType type, float minValue, float maxValue, float spacing, boolean setData) throws visad.VisADException, java.rmi.RemoteException
type
- lat lines when type = RealType.Latitude, lon lines
when type = RealType.LongitudeminValue
- starting line (degrees)maxValue
- ending line (degrees)spacing
- spacing between lines (degrees)setData
- if true, the data will be set on constructionvisad.VisADException
- invalid type or can't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic LatLonLines(visad.RealType type, float minValue, float maxValue, float spacing, float base, boolean setData) throws visad.VisADException, java.rmi.RemoteException
type
- lat lines when type = RealType.Latitude, lon lines
when type = RealType.LongitudeminValue
- starting line (degrees)maxValue
- ending line (degrees)spacing
- spacing between lines (degrees)base
- base for lines spacingsetData
- if true, the data will be set on constructionvisad.VisADException
- invalid type or can't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectprotected LatLonLines(LatLonLines that) throws java.rmi.RemoteException, visad.VisADException
that
- The other instance.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setSpacing(float spacing) throws visad.VisADException, java.rmi.RemoteException
spacing
- spacing between lines (degrees)visad.VisADException
- couldn't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic float getSpacing()
public void setBase(float base) throws visad.VisADException, java.rmi.RemoteException
base
- base for lines (degrees)visad.VisADException
- couldn't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic float getBase()
public void setMaxMin(float minValue, float maxValue) throws visad.VisADException, java.rmi.RemoteException
minValue
- starting line (degrees)maxValue
- ending line (degrees)visad.VisADException
- couldn't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic void setLimits(float minValue, float maxValue, float spacing) throws visad.VisADException, java.rmi.RemoteException
minValue
- starting line (degrees)maxValue
- ending line (degrees)spacing
- spacing between lines (degrees)visad.VisADException
- couldn't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic void setLimits(float minValue, float maxValue, float spacing, float base) throws visad.VisADException, java.rmi.RemoteException
minValue
- starting line (degrees)maxValue
- ending line (degrees)spacing
- spacing between lines (degrees)base
- base for lines (degrees)visad.VisADException
- couldn't create local VisAD objectjava.rmi.RemoteException
- couldn't create remote VisAD objectpublic Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public void setVisible(boolean visible) throws java.rmi.RemoteException, visad.VisADException
setVisible
in class DisplayableData
visible
- Whether or not this instance should be visible.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public java.lang.String toString()
toString
in class DisplayableData