public static class ReadoutProbe.PointSelector extends ucar.visad.display.SelectorDisplayable
PointProbe that whose
mouse movement is limited to the x- and y- axes.
To change the position of the instance along the z-axis, try something
like the following:
new PointSelector().setZ(zPosition).
| Modifier and Type | Field and Description |
|---|---|
private ucar.visad.display.SelectorPoint |
point
pointSelector
|
private boolean |
settingPosition
flag for whether we're in the process of setting the position
|
| Constructor and Description |
|---|
PointSelector()
Construct a point pointSelector.
|
PointSelector(double x,
double y)
Construct a point pointSelector at the location specified.
|
PointSelector(visad.RealTuple position)
Construct a pointSelector at the position specified.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getPointScale()
Get the point scale
|
visad.RealTuple |
getPosition()
Get the position of the pointSelector.
|
ucar.visad.display.SelectorPoint |
getSelectorPoint()
Get the selector point
|
void |
setAutoSize(boolean yesorno)
Set whether the marker should automatically resize as the
display is zoomed.
|
void |
setFixed(boolean x,
boolean y,
boolean z)
Set if any of the axis movements are fixed
|
void |
setMarker(java.lang.String marker)
Set the type of marker used for the pointSelector.
|
void |
setMarker(visad.VisADGeometryArray marker)
Set the type of marker used for the pointSelector.
|
void |
setPosition(double x,
double y)
Set the pointSelector's x/y position
|
void |
setPosition(visad.RealTuple position)
Set the pointSelector's position.
|
void |
setZ(double newz) |
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, setManipulable, 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, setSelectedRangeprivate ucar.visad.display.SelectorPoint point
private volatile boolean settingPosition
public PointSelector() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.public PointSelector(double x, double y) throws visad.VisADException, java.rmi.RemoteException
x - X position.y - Y position.visad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.public PointSelector(visad.RealTuple position) throws visad.VisADException, java.rmi.RemoteException
position - Position of the pointSelector.visad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.public ucar.visad.display.SelectorPoint getSelectorPoint()
public void setFixed(boolean x, boolean y, boolean z)
x - x fixedy - y fixedz - z fixedpublic void setZ(double newz)
public float getPointScale()
public void setMarker(visad.VisADGeometryArray marker) throws visad.VisADException, java.rmi.RemoteException
marker - marker as a VisADGeometryArrayjava.rmi.RemoteException - Java RMI errorvisad.VisADException - Problem creating VisAD object.public void setMarker(java.lang.String marker) throws visad.VisADException, java.rmi.RemoteException
marker - ShapeUtility marker.visad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.public void setAutoSize(boolean yesorno) throws visad.VisADException, java.rmi.RemoteException
setAutoSize in class ucar.visad.display.SelectorDisplayableyesorno - true to automatically resize the marker.visad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.public visad.RealTuple getPosition()
public void setPosition(double x, double y) throws visad.VisADException, java.rmi.RemoteException
x - X position.y - X position.visad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.public void setPosition(visad.RealTuple position) throws visad.VisADException, java.rmi.RemoteException
position - Position of the pointSelectorvisad.VisADException - Problem creating VisAD object.java.rmi.RemoteException - Java RMI error.