public class SelectorPoint extends LineDrawing
DisplayableData.DragAdapter
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE
MANIPULABLE, renderer, VISIBLE
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
SelectorPoint(SelectorPoint that)
Construct a SelectorPoint from another instance
|
SelectorPoint(java.lang.String name,
visad.RealTuple initialValue)
Construct a SelectorPoint for the pointType specified with the
specified intial value.
|
SelectorPoint(java.lang.String name,
visad.RealTupleType pointType)
Construct a SelectorPoint for the pointType specified.
|
SelectorPoint(java.lang.String name,
java.lang.String markerText,
visad.RealTuple initialValue)
Construct a SelectorPoint.
|
SelectorPoint(java.lang.String name,
visad.VisADGeometryArray marker,
visad.RealTuple initialValue)
Construct a SelectorPoint for the pointType specified with the
|
Modifier and Type | Method and Description |
---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display.
|
protected void |
dataChange()
Called when the data changes.
|
visad.Set |
getAnimationSet(visad.RealType aniType,
boolean force)
_more_
|
boolean |
getAutoSize()
Get whether the marker is automatically resized as the
display is zoomed.
|
visad.VisADGeometryArray |
getMarker()
Get the marker for this selector point
|
visad.RealTuple |
getPoint()
Get the current point.
|
float |
getScale()
Get the scale of the ShapeControl.
|
static visad.VisADGeometryArray |
reduce(visad.VisADGeometryArray marker)
Reduce the size of the marker
|
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 markerText)
Set the marker text for this selector point
|
void |
setMarker(visad.VisADGeometryArray marker)
Set the marker for this selector point
|
void |
setPoint(visad.RealTuple value)
Set the point.
|
void |
setPoint(visad.RealTuple value,
visad.VisADGeometryArray marker)
_more_
|
void |
setPointSize(float newSize)
Set the size (scale) of the ShapeControl.
|
void |
setPointWithTime(visad.RealTuple value,
java.util.List times)
_more_
|
void |
setScale(float newScale)
_more_
|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setRGB, setRGB, setRGBA, setRGBA
addAction, destroy, getActive, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toString
addConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFront
public SelectorPoint(java.lang.String name, visad.RealTupleType pointType) throws visad.VisADException, java.rmi.RemoteException
name
- name of this SelectorPointpointType
- RealType that the point should map tovisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic SelectorPoint(java.lang.String name, visad.RealTuple initialValue) throws visad.VisADException, java.rmi.RemoteException
name
- name of this SelectorPointinitialValue
- RealTuple position for pointvisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic SelectorPoint(java.lang.String name, java.lang.String markerText, visad.RealTuple initialValue) throws visad.VisADException, java.rmi.RemoteException
name
- name of this SelectorPointmarkerText
- text for the markerinitialValue
- RealTuple position for pointvisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic SelectorPoint(java.lang.String name, visad.VisADGeometryArray marker, visad.RealTuple initialValue) throws visad.VisADException, java.rmi.RemoteException
name
- name of this SelectorPointmarker
- Shape to use for makerinitialValue
- RealTuple position for pointvisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic SelectorPoint(SelectorPoint that) throws visad.VisADException, java.rmi.RemoteException
that
- other instancevisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic visad.Set getAnimationSet(visad.RealType aniType, boolean force) throws visad.VisADException, java.rmi.RemoteException
getAnimationSet
in class DisplayableData
aniType
- _more_force
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_DisplayableData.hasDataObject()
public void setFixed(boolean x, boolean y, boolean z)
x
- x fixedy
- y fixedz
- z fixedpublic void setPoint(visad.RealTuple value) throws visad.VisADException, java.rmi.RemoteException
value
- new value for this pointvisad.VisADException
- VisAD errorjava.rmi.RemoteException
- remote errorpublic void setPoint(visad.RealTuple value, visad.VisADGeometryArray marker) throws visad.VisADException, java.rmi.RemoteException
value
- _more_marker
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public void setPointWithTime(visad.RealTuple value, java.util.List times) throws visad.VisADException, java.rmi.RemoteException
value
- _more_times
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public Displayable cloneForDisplay() throws visad.VisADException, java.rmi.RemoteException
cloneForDisplay
in class DisplayableData
visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public visad.RealTuple getPoint()
public void setMarker(java.lang.String markerText) throws visad.VisADException, java.rmi.RemoteException
markerText
- VisADGeometryArray for markerjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setMarker(visad.VisADGeometryArray marker) throws visad.VisADException, java.rmi.RemoteException
marker
- VisADGeometryArray for markerjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setPointSize(float newSize) throws visad.VisADException, java.rmi.RemoteException
setPointSize
in class LineDrawing
newSize
- size to use.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setScale(float newScale) throws visad.VisADException, java.rmi.RemoteException
newScale
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public float getScale()
public visad.VisADGeometryArray getMarker()
public void setAutoSize(boolean yesorno) throws visad.VisADException, java.rmi.RemoteException
yesorno
- true to automatically resize the marker.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic boolean getAutoSize()
protected void dataChange() throws visad.VisADException, java.rmi.RemoteException
dataChange
in class DisplayableData
java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic static visad.VisADGeometryArray reduce(visad.VisADGeometryArray marker)
marker
- marker to reduce