|
||||||||||
| 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.LineDrawing
ucar.visad.display.LatLonLines
public class LatLonLines
Displayable to support Latitude and Longitude lines.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.LineDrawing |
|---|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE |
| Fields inherited from class ucar.visad.display.DisplayableData |
|---|
MANIPULABLE, VISIBLE |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
protected |
LatLonLines(LatLonLines that)
Constructs from another instance. |
|
LatLonLines(RealType type)
Construct a LatLonLine object with default min, max and spacing values. |
|
LatLonLines(RealType type,
float minValue,
float maxValue,
float spacing)
Construct a LatLonLine object of the given type. |
|
LatLonLines(RealType type,
float minValue,
float maxValue,
float spacing,
boolean setData)
Construct a LatLonLine object of the given type. |
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
float |
getSpacing()
Get the current line spacing. |
void |
setLimits(float minValue,
float maxValue,
float spacing)
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. |
String |
toString()
Provide a readable description of this LatLonLines |
| Methods inherited from class ucar.visad.display.LineDrawing |
|---|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA |
| Methods inherited from class ucar.visad.display.DisplayableData |
|---|
addAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setManipulable, setPickable, setPointMode, setUseFastRendering |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LatLonLines(RealType type)
throws VisADException,
RemoteException
type - lat lines when type = RealType.Latitude, lon lines
when type = RealType.Longitude
VisADException - invalid type or can't create local VisAD object
RemoteException - couldn't create remote VisAD object
public LatLonLines(RealType type,
float minValue,
float maxValue,
float spacing)
throws VisADException,
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)
VisADException - invalid type or can't create local VisAD object
RemoteException - couldn't create remote VisAD object
public LatLonLines(RealType type,
float minValue,
float maxValue,
float spacing,
boolean setData)
throws VisADException,
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 construction
VisADException - invalid type or can't create local VisAD object
RemoteException - couldn't create remote VisAD object
protected LatLonLines(LatLonLines that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void setSpacing(float spacing)
throws VisADException,
RemoteException
spacing - spacing between lines (degrees)
VisADException - couldn't create local VisAD object
RemoteException - couldn't create remote VisAD objectpublic float getSpacing()
public void setMaxMin(float minValue,
float maxValue)
throws VisADException,
RemoteException
minValue - starting line (degrees)maxValue - ending line (degrees)
VisADException - couldn't create local VisAD object
RemoteException - couldn't create remote VisAD object
public void setLimits(float minValue,
float maxValue,
float spacing)
throws VisADException,
RemoteException
minValue - starting line (degrees)maxValue - ending line (degrees)spacing - spacing between lines (degrees)
VisADException - couldn't create local VisAD object
RemoteException - couldn't create remote VisAD object
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
cloneForDisplay in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setVisible(boolean visible)
throws RemoteException,
VisADException
setVisible in class DisplayableDatavisible - Whether or not this instance should be visible.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public String toString()
toString in class DisplayableData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||