|
||||||||||
| 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.CrossHair
public class CrossHair
Provides support for a Displayable comprising a cross-hair.
| 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 |
CrossHair(CrossHair that)
Constructs from another instance. |
|
CrossHair(String name,
RealTupleType polarType)
Constructs from a Displayable name and the type of the polar coordinate system. |
| Method Summary | |
|---|---|
void |
addScalarMaps(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(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(Real maximum)
Sets the cross-hairs according to the maximum distance from the center. |
| Methods inherited from class ucar.visad.display.PolarLineDrawing |
|---|
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 CrossHair(String name,
RealTupleType polarType)
throws RemoteException,
VisADException
name - The name for the Displayable.polarType - The type of the (rho, theta) polar coordinate
system.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected CrossHair(CrossHair that)
throws RemoteException,
VisADException
that - The other instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
public void setHairs(Real maximum)
throws VisADException,
RemoteException
maximum - The maximum distance from the center.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void setHairs(CrossHair crossHair)
throws VisADException,
RemoteException
crossHair - The other cross-hair.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public boolean equals(Object obj)
equals in class PolarLineDrawingobj - The other object.
true if and only if this CrossHair
is semantically identical to obj.public void addScalarMaps(LocalDisplay display)
ScalarMaps to a display. This
implementation does nothing.
display - The display to which to add the ScalarMap-s.
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 | |||||||||