public class AreaProbe extends SelectorDisplayable
PROPERTY_POSITIONcnt, labelDISPLAY, parent, SCALAR_MAP_SET| Constructor and Description |
|---|
AreaProbe()
Construct an AreaProbe with the defaults
|
AreaProbe(visad.RealTuple position)
Construct an AreaProbe using the specified position
|
AreaProbe(visad.RealTuple position,
visad.Real constant)
Construct an AreaProbe using the specified position using the
supplied constant
|
| Modifier and Type | Method and Description |
|---|---|
visad.RealTuple |
getArea()
Get the Area as a RealTuple
|
static visad.RealTupleType |
getAreaType()
Get the MathType of the area
|
void |
setAutoSize(boolean yesorno)
Set whether the marker should automatically resize as the
display is zoomed.
|
void |
setManipulable(boolean manip)
set if area probe can be moved by the user with mouse cursor or not
|
void |
setPosition(double x1,
double y1,
double x2,
double y2)
Sets the position of the probe.
|
void |
setPosition(visad.RealTuple position)
Sets the position of the probe.
|
addPropertyChangeListener, getAutoSize, getFiringEvent, getOkToFireEvents, getPointSize, notifyListenersOfMove, removePropertyChangeListener, setOkToFireEvents, setPointSizeaddConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setPointMode, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringaddConstantMaps, addDataReferences, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRangepublic AreaProbe()
throws visad.VisADException,
java.rmi.RemoteException
java.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic AreaProbe(visad.RealTuple position)
throws visad.VisADException,
java.rmi.RemoteException
position - position for probejava.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic AreaProbe(visad.RealTuple position,
visad.Real constant)
throws visad.VisADException,
java.rmi.RemoteException
position - probe positionconstant - Z positionjava.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic void setManipulable(boolean manip)
throws visad.VisADException,
java.rmi.RemoteException
setManipulable in class CompositeDisplayablemanip - boolean true if can movejava.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic static visad.RealTupleType getAreaType()
throws visad.VisADException,
java.rmi.RemoteException
java.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic visad.RealTuple getArea()
throws visad.VisADException,
java.rmi.RemoteException
java.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic void setAutoSize(boolean yesorno)
throws visad.VisADException,
java.rmi.RemoteException
setAutoSize in class SelectorDisplayableyesorno - true to automatically resize the marker.java.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD errorpublic void setPosition(double x1,
double y1,
double x2,
double y2)
throws visad.VisADException,
java.rmi.RemoteException
PropertyChangeEvent for SelectorDisplayable.PROPERTY_POSITION.
This implementation uses setPosition(RealTuple) to actually
set the position of the probe.
x1 - x position of the upper left cornery1 - y position of the upper left cornerx2 - x position of the lower right cornery2 - y position of the lower right cornervisad.VisADException - if a VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public void setPosition(visad.RealTuple position)
throws visad.VisADException,
java.rmi.RemoteException
PropertyChangeEvent for SelectorDisplayable.PROPERTY_POSITION.position - The position of the probe.java.lang.NullPointerException - if the argument is null.visad.VisADException - if position.getType().equals(
RealTupleType.SpatialCartesian2DTuple)
is false or if another VisAD failure
occurs.java.rmi.RemoteException - if a Java RMI failure occurs.RealTupleType.SpatialCartesian2DTuple