|
||||||||||
| 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.DisplayableData
ucar.visad.display.LineDrawing
ucar.visad.display.IndicatorPoint
public class IndicatorPoint
Displayable to encompass a manipulable point that can be moved around the display. If you want to limit the movement to one axis, then construct the RealTuple with one element whose RealType corresponds to that axis.
| Field Summary |
|---|
| Fields inherited from class ucar.visad.display.LineDrawing |
|---|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZE |
| Fields inherited from class ucar.visad.display.DisplayableData |
|---|
MANIPULABLE, VISIBLE |
| Fields inherited from class ucar.visad.display.Displayable |
|---|
DISPLAY, parent, SCALAR_MAP_SET |
| Constructor Summary | |
|---|---|
IndicatorPoint(IndicatorPoint that)
Construct a IndicatorPoint from another instance |
|
IndicatorPoint(String name,
RealTuple initialValue)
Construct a IndicatorPoint for the pointType specified with the |
|
IndicatorPoint(String name,
RealTupleType pointType)
Construct a IndicatorPoint for the pointType specified. |
|
| Method Summary | |
|---|---|
Displayable |
cloneForDisplay()
Returns a clone of this instance suitable for another VisAD display. |
protected void |
dataChange()
Called when the data changes. |
RealTuple |
getPoint()
Get the current point. |
void |
setPoint(RealTuple value)
Set the point |
| Methods inherited from class ucar.visad.display.LineDrawing |
|---|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBA |
| Methods inherited from class ucar.visad.display.DisplayableData |
|---|
addAction, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IndicatorPoint(String name,
RealTupleType pointType)
throws VisADException,
RemoteException
name - name of this IndicatorPointpointType - RealType that the point should map to
VisADException - VisAD error
RemoteException - remote error
public IndicatorPoint(String name,
RealTuple initialValue)
throws VisADException,
RemoteException
name - name of this IndicatorPointinitialValue - initial point
VisADException - VisAD error
RemoteException - remote error
public IndicatorPoint(IndicatorPoint that)
throws VisADException,
RemoteException
that - other instance
VisADException - VisAD error
RemoteException - remote error| Method Detail |
|---|
public void setPoint(RealTuple value)
throws VisADException,
RemoteException
value - new value for this point
VisADException - VisAD error
RemoteException - remote error
public Displayable cloneForDisplay()
throws VisADException,
RemoteException
cloneForDisplay in class DisplayableDataVisADException - VisAD failure.
RemoteException - Java RMI failure.public RealTuple getPoint()
protected void dataChange()
throws VisADException,
RemoteException
dataChange in class DisplayableDataRemoteException - Java RMI error
VisADException - problem creating VisAD object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||