|
||||||||||
| 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.CompositeDisplayable
ucar.visad.display.SelectorDisplayable
ucar.visad.display.LineProbe
public class LineProbe
Class for a probe.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.SelectorDisplayable |
|---|
PROPERTY_POSITION |
| Fields inherited from class ucar.visad.display.CompositeDisplayable |
|---|
cnt, label |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
LineProbe()
Default Constructor |
|
LineProbe(double x,
double y,
double z)
Construct a new LineProbe using the x, y, and z positions |
|
LineProbe(RealTuple position)
Construct a new LineProbe at the position |
|
LineProbe(RealTuple position,
Real constant)
Construct a new LineProbe at the position using a constant Z value |
|
| Method Summary | |
|---|---|
float |
getPointScale()
Get the point's scale |
RealTuple |
getPosition()
Get the position of the SelectorPoint. |
void |
setAutoSize(boolean yesorno)
Set whether the marker should automatically resize as the display is zoomed. |
void |
setManipulable(boolean manip)
set if linprobe can be moved by the user with mouse cursor or not |
void |
setMarker(String markerText)
Set the marker text for this selector point |
void |
setMarker(VisADGeometryArray marker)
Set the marker for this selector point |
void |
setPointSize(float newSize)
Set the size (scale) of the ShapeControl. |
void |
setPosition(double x,
double y)
Sets the position of the probe. |
void |
setPosition(RealTuple position)
Sets the position of the probe. |
| Methods inherited from class ucar.visad.display.SelectorDisplayable |
|---|
addPropertyChangeListener, getAutoSize, getFiringEvent, getOkToFireEvents, getPointSize, notifyListenersOfMove, removePropertyChangeListener, setOkToFireEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LineProbe()
throws VisADException,
RemoteException
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public LineProbe(double x,
double y,
double z)
throws VisADException,
RemoteException
x - x positiony - y positionz - z position
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public LineProbe(RealTuple position)
throws VisADException,
RemoteException
position - x/y position for the probe
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public LineProbe(RealTuple position,
Real constant)
throws VisADException,
RemoteException
position - x/y position for the probeconstant - z position of the selector point
RemoteException - Java RMI error
VisADException - problem creating VisAD object| Method Detail |
|---|
public void setManipulable(boolean manip)
throws VisADException,
RemoteException
manip - boolean true if can move
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public RealTuple getPosition()
throws VisADException,
RemoteException
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setAutoSize(boolean yesorno)
throws VisADException,
RemoteException
setAutoSize in class SelectorDisplayableyesorno - true to automatically resize the marker.
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setPosition(double x,
double y)
throws VisADException,
RemoteException
PropertyChangeEvent for SelectorDisplayable.PROPERTY_POSITION.
This implementation uses setPosition(RealTuple) to actually
set the position of the probe.
x - The X-axis position for the probe.y - The Y-axis position for the probe.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
public void setPosition(RealTuple position)
throws VisADException,
RemoteException
PropertyChangeEvent for SelectorDisplayable.PROPERTY_POSITION.
position - The position of the probe.
NullPointerException - if the argument is null.
VisADException - if position.getType().equals(
RealTupleType.SpatialCartesian2DTuple)
is false or if another VisAD failure
occurs.
RemoteException - if a Java RMI failure occurs.RealTupleType.SpatialCartesian2DTuple
public void setMarker(String markerText)
throws VisADException,
RemoteException
markerText - VisADGeometryArray for marker
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setMarker(VisADGeometryArray marker)
throws VisADException,
RemoteException
marker - VisADGeometryArray for marker
RemoteException - Java RMI error
VisADException - problem creating VisAD object
public void setPointSize(float newSize)
throws VisADException,
RemoteException
setPointSize in class SelectorDisplayablenewSize - size to use.
RemoteException - Java RMI error
VisADException - problem creating VisAD objectpublic float getPointScale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||