|
||||||||||
| 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.PolarLineDrawing
ucar.visad.display.RingSet
public class RingSet
Provides support for a set of evenly-spaced, concentric rings (ie: a "bullseye").
| 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 |
RingSet(RingSet that)
Constructs from another instance. |
|
RingSet(String name,
RealTupleType polarType)
Constructs from a name and a vector space. |
|
RingSet(String name,
RealTupleType polarType,
Color color)
Constructs from a name and a vector space and Color. |
| Method Summary | |
|---|---|
void |
addScalarMaps(LocalDisplay display)
Adds this instance's ScalarMaps to a given
LocalDisplay. |
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
static SampledSet |
newUnionSet(RealTupleType polarType,
Gridded1DSet values)
Creates a set of rings from a vector space and a set of distances. |
void |
setRingValues(Linear1DSet ringValues)
Sets the distances of the rings from a set of evenly-spaced values. |
void |
setRingValues(Real rangeInc,
Real rangeMax)
Sets the distances of the rings from an interval and a maximum distance. |
void |
setRingValues(RingSet that)
Sets the ring distances of this instance from another instance. |
| Methods inherited from class ucar.visad.display.PolarLineDrawing |
|---|
equals, getBearingIndex, getBearingIndex, getBearingType, getPolarType, getRangeIndex, getRangeType, hashCode |
| 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, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RingSet(String name,
RealTupleType polarType)
throws RemoteException,
VisADException
name - The name for this instance.polarType - The vector space for this instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public RingSet(String name,
RealTupleType polarType,
Color color)
throws RemoteException,
VisADException
name - The name for this instance.polarType - The vector space for this instance.color - ring color
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected RingSet(RingSet that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void setRingValues(Linear1DSet ringValues)
throws VisADException,
RemoteException
ringValues - The distances for the rings.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setRingValues(Real rangeInc,
Real rangeMax)
throws VisADException,
RemoteException
rangeInc - The ring interval.rangeMax - The maximum distance to be displayed.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public static SampledSet newUnionSet(RealTupleType polarType,
Gridded1DSet values)
throws VisADException,
RemoteException
polarType - The polar vector-space.values - The set of distances.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setRingValues(RingSet that)
throws TypeException,
VisADException,
RemoteException
that - The other instance.
TypeException - if a necessary VisAD RealType
couldn't be created.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public void addScalarMaps(LocalDisplay display)
ScalarMaps to a given
LocalDisplay. This implementation does nothing.
display - The LocalDisplay to which to
add this instance's ScalarMaps.
public Displayable cloneForDisplay()
throws RemoteException,
VisADException
cloneForDisplay in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||