public class ZSelector extends SelectorDisplayable
PROPERTY_POSITION
cnt, label
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
ZSelector(double x,
double y,
double z)
Construct a ZSelector with default color blue.
|
ZSelector(double x,
double y,
double z,
java.awt.Color color)
Construct a ZSelector.
|
ZSelector(ZSelector that)
Construct a ZSelector from another instance
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
visad.Real |
getPosition()
Get the z value from this selector, the z value in the VisAd
-1 to 1 scale.
|
visad.Real |
getZSelectorPosition()
Get the z value from this selector, the z value in the VisAd
-1 to 1 scale.
|
void |
setZValue(double newZValue)
Set the location along the Z Axis where you want to place the selector.
|
addPropertyChangeListener, getAutoSize, getFiringEvent, getOkToFireEvents, getPointSize, notifyListenersOfMove, removePropertyChangeListener, setAutoSize, setOkToFireEvents, setPointSize
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, 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, toString
addConstantMaps, 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, setSelectedRange
public ZSelector(double x, double y, double z) throws visad.VisADException, java.rmi.RemoteException
x
- x position in VisAd -1 to 1 scaley
- y position in VisAd -1 to 1 scalez
- z position in VisAd -1 to 1 scalevisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic ZSelector(double x, double y, double z, java.awt.Color color) throws visad.VisADException, java.rmi.RemoteException
x
- x position in VisAd -1 to 1 scaley
- y position in VisAd -1 to 1 scalez
- z position in VisAd -1 to 1 scalecolor
- the Java Color of the box.visad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic ZSelector(ZSelector that) throws visad.VisADException, java.rmi.RemoteException
that
- other instancevisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic visad.Real getZSelectorPosition() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic visad.Real getPosition() throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic void setZValue(double newZValue) throws visad.VisADException, java.rmi.RemoteException
newZValue
- position along Z axis where component should be
located in the VisAd -1 to 1 scale.visad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic Displayable cloneForDisplay() throws visad.VisADException, java.rmi.RemoteException
cloneForDisplay
in class CompositeDisplayable
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.