public class RingLabels extends TextDisplayable
DisplayableData.DragAdapterCOLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZEMANIPULABLE, renderer, VISIBLEDISPLAY, parent, SCALAR_MAP_SET| Constructor and Description |
|---|
RingLabels(java.lang.String name,
visad.RealTupleType polarType,
java.awt.Color color)
Use a specific RingSet to define the labels.
|
RingLabels(java.lang.String name,
visad.RealTupleType polarType,
visad.Real bearing,
java.awt.Color color)
Construct a set of RingLabels
|
| Modifier and Type | Method and Description |
|---|---|
visad.Unit |
getLabelUnit()
Get the label unit.
|
void |
setLabelPosition(visad.Real bearing)
Set the position of the labels along the bearing (azimuth)
|
void |
setLabelUnit(visad.Unit unit)
Set the label units
|
void |
setLabelValues(float[] values)
Set the label values from the array.
|
void |
setLabelValues(float[] values,
visad.Unit units)
Set the label values from the array.
|
void |
setLabelValues(visad.Gridded1DSet labelValues)
Set the label values
|
void |
setLabelValues(visad.Real rangeInc,
visad.Real rangeMax)
Set the label values base on the increment and maximum value
|
cloneForDisplay, getDataRenderer, getFont, getHersheyFont, getJustification, getNumberFormat, getScreenLocked, getSphere, getTextSize, getTextType, getverticalJustification, setCharacterRotation, setDisplayUnit, setFont, setJustification, setNumberFormat, setRotation, setScreenLocked, setSphere, setTextSize, setTextType, setVerticalJustification, setVisiblegetColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBAaddAction, dataChange, destroy, getActive, getAnimationSet, getData, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, 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, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFrontpublic RingLabels(java.lang.String name,
visad.RealTupleType polarType,
java.awt.Color color)
throws java.rmi.RemoteException,
visad.VisADException
name - name of this objectpolarType - type for the polar transformcolor - Color for the ring setjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic RingLabels(java.lang.String name,
visad.RealTupleType polarType,
visad.Real bearing,
java.awt.Color color)
throws java.rmi.RemoteException,
visad.VisADException
name - name of this objectpolarType - type for the polar transformbearing - bearing to put the labelscolor - Color for the ring setjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelUnit(visad.Unit unit)
throws visad.VisADException,
java.rmi.RemoteException
unit - unit for the labelsjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic visad.Unit getLabelUnit()
public void setLabelValues(visad.Gridded1DSet labelValues)
throws visad.VisADException,
java.rmi.RemoteException
labelValues - values in a Gridded1DSetjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelValues(float[] values)
throws visad.VisADException,
java.rmi.RemoteException
values - array of label valuesjava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelValues(float[] values,
visad.Unit units)
throws visad.VisADException,
java.rmi.RemoteException
values - label valuesunits - unit for the labels.java.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelValues(visad.Real rangeInc,
visad.Real rangeMax)
throws visad.VisADException,
java.rmi.RemoteException
rangeInc - increment between labelsrangeMax - maximum label valuejava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD objectpublic void setLabelPosition(visad.Real bearing)
throws visad.VisADException,
java.rmi.RemoteException
bearing - azimuth valuejava.rmi.RemoteException - Java RMI errorvisad.VisADException - problem creating VisAD object