visad.bio
Class MeasureList

java.lang.Object
  extended by visad.bio.MeasureList

public class MeasureList
extends java.lang.Object

MeasureList maintains a list of measurements between points in a field.


Constructor Summary
MeasureList(VisBio biovis)
          Constructs a list of measurements.
 
Method Summary
 void addLine()
          Adds a measurement line to the measurement list.
 void addLine(MeasureLine line, boolean updatePools)
          Adds the given measurement line to the measurement list.
 void addMarker()
          Adds a measurement marker to the measurement list.
 void addMarker(MeasurePoint point, boolean updatePools)
          Adds the given measurement marker to the measurement list.
 java.util.Vector getLines()
          Gets the list of measurement lines.
 java.util.Vector getPoints()
          Gets the list of measurement endpoints.
 boolean hasMeasurements()
          Gets whether this list has any measurements.
 void removeAll()
          Removes all measurements from the measurement list.
 void removeLine(MeasureLine line, boolean updatePools)
          Removes the given measurement line from the measurement list.
 void removeMarker(MeasurePoint point, boolean updatePools)
          Removes the given measurement marker from the measurement list.
 void removeSelected()
          Removes selected measurements from the measurement list.
 void setCurrent(boolean current)
          Sets whether this list is currently linked to the measurement pools.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasureList

public MeasureList(VisBio biovis)
            throws VisADException,
                   java.rmi.RemoteException
Constructs a list of measurements.

Throws:
VisADException
java.rmi.RemoteException
Method Detail

addLine

public void addLine()
Adds a measurement line to the measurement list.


addMarker

public void addMarker()
Adds a measurement marker to the measurement list.


addLine

public void addLine(MeasureLine line,
                    boolean updatePools)
Adds the given measurement line to the measurement list.


addMarker

public void addMarker(MeasurePoint point,
                      boolean updatePools)
Adds the given measurement marker to the measurement list.


removeLine

public void removeLine(MeasureLine line,
                       boolean updatePools)
Removes the given measurement line from the measurement list.


removeMarker

public void removeMarker(MeasurePoint point,
                         boolean updatePools)
Removes the given measurement marker from the measurement list.


removeSelected

public void removeSelected()
Removes selected measurements from the measurement list.


removeAll

public void removeAll()
Removes all measurements from the measurement list.


setCurrent

public void setCurrent(boolean current)
Sets whether this list is currently linked to the measurement pools.


getPoints

public java.util.Vector getPoints()
Gets the list of measurement endpoints.


getLines

public java.util.Vector getLines()
Gets the list of measurement lines.


hasMeasurements

public boolean hasMeasurements()
Gets whether this list has any measurements.