public class CrossHair extends PolarLineDrawing
DisplayableData.DragAdapterCOLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZEMANIPULABLE, renderer, VISIBLEDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
protected |
CrossHair(CrossHair that)
Constructs from another instance.
|
|
CrossHair(java.lang.String name,
visad.RealTupleType polarType)
Constructs from a Displayable name and the type of the polar
coordinate system.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addScalarMaps(visad.LocalDisplay display)
Adds this instance's
ScalarMaps to a display. |
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
boolean |
equals(java.lang.Object obj)
Indicates if this CrossHair is semantically identical to another object.
|
void |
setHairs(CrossHair crossHair)
Sets the cross-hairs according to another CrossHair.
|
void |
setHairs(visad.Real maximum)
Sets the cross-hairs according to the maximum distance from the center.
|
getBearingIndex, getBearingIndex, getBearingType, getPolarType, getRangeIndex, getRangeType, hashCodegetColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBAaddAction, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, 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, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFrontpublic CrossHair(java.lang.String name,
visad.RealTupleType polarType)
throws java.rmi.RemoteException,
visad.VisADException
name - The name for the Displayable.polarType - The type of the (rho, theta) polar coordinate
system.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected CrossHair(CrossHair that) throws java.rmi.RemoteException, visad.VisADException
that - The other instance.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setHairs(visad.Real maximum)
throws visad.VisADException,
java.rmi.RemoteException
maximum - The maximum distance from the center.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setHairs(CrossHair crossHair) throws visad.VisADException, java.rmi.RemoteException
crossHair - The other cross-hair.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public boolean equals(java.lang.Object obj)
equals in class PolarLineDrawingobj - The other object.true if and only if this CrossHair
is semantically identical to obj.public void addScalarMaps(visad.LocalDisplay display)
ScalarMaps to a display. This
implementation does nothing.display - The display to which to add the ScalarMap-s.public Displayable cloneForDisplay() throws java.rmi.RemoteException, visad.VisADException
cloneForDisplay in class DisplayableDatavisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.