|
||||||||||
| 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.TextDisplayable
ucar.visad.display.RingLabels
public class RingLabels
Labels for RingSets
| 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 | |
|---|---|
RingLabels(String name,
RealTupleType polarType,
Color color)
Use a specific RingSet to define the labels. |
|
RingLabels(String name,
RealTupleType polarType,
Real bearing,
Color color)
Construct a set of RingLabels |
|
| Method Summary | |
|---|---|
Unit |
getLabelUnit()
Get the label unit. |
void |
setLabelPosition(Real bearing)
Set the position of the labels along the bearing (azimuth) |
void |
setLabelUnit(Unit unit)
Set the label units |
void |
setLabelValues(float[] values)
Set the label values from the array. |
void |
setLabelValues(float[] values,
Unit units)
Set the label values from the array. |
void |
setLabelValues(Gridded1DSet labelValues)
Set the label values |
void |
setLabelValues(Real rangeInc,
Real rangeMax)
Set the label values base on the increment and maximum value |
| Methods inherited from class ucar.visad.display.TextDisplayable |
|---|
cloneForDisplay, getDataRenderer, getFont, getHersheyFont, getJustification, getNumberFormat, getScreenLocked, getTextSize, getTextType, getverticalJustification, setCharacterRotation, setDisplayUnit, setFont, setJustification, setNumberFormat, setRotation, setScreenLocked, setTextSize, setTextType, setVerticalJustification |
| 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, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RingLabels(String name,
RealTupleType polarType,
Color color)
throws RemoteException,
VisADException
name - name of this objectpolarType - type for the polar transformcolor - Color for the ring set
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public RingLabels(String name,
RealTupleType polarType,
Real bearing,
Color color)
throws RemoteException,
VisADException
name - name of this objectpolarType - type for the polar transformbearing - bearing to put the labelscolor - Color for the ring set
RemoteException - Java RMI error
VisADException - problem creating VisAD object| Method Detail |
|---|
public void setLabelUnit(Unit unit)
throws VisADException,
RemoteException
unit - unit for the labels
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic Unit getLabelUnit()
public void setLabelValues(Gridded1DSet labelValues)
throws VisADException,
RemoteException
labelValues - values in a Gridded1DSet
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setLabelValues(float[] values)
throws VisADException,
RemoteException
values - array of label values
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setLabelValues(float[] values,
Unit units)
throws VisADException,
RemoteException
values - label valuesunits - unit for the labels.
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setLabelValues(Real rangeInc,
Real rangeMax)
throws VisADException,
RemoteException
rangeInc - increment between labelsrangeMax - maximum label value
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setLabelPosition(Real bearing)
throws VisADException,
RemoteException
bearing - azimuth value
RemoteException - Java RMI error
VisADException - problem creating VisAD object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||