pojos
Class PolylineData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.ShapeData
          extended by pojos.PolylineData

public class PolylineData
extends ShapeData

Represents an Polyline shape in the Euclidean space R2.

Since:
3.0-Beta4
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Field Summary
 
Fields inherited from class pojos.ShapeData
READONLY_FLAG, settings
 
Constructor Summary
PolylineData()
          Create a new instance of polyline, creating a new PolylineI Object.
PolylineData(List<Point2D.Double> points, List<Point2D.Double> points1, List<Point2D.Double> points2, List<Integer> maskList)
          Create a new instance of the PolylineData, set the points in the polyline.
PolylineData(omero.model.Shape shape)
          Creates a new instance.
 
Method Summary
 List<Integer> getMaskPoints()
          Returns the points in the Polyline.
 List<Point2D.Double> getPoints()
          Returns the points in the Polyline.
 List<Point2D.Double> getPoints1()
          Returns the points in the Polyline.
 List<Point2D.Double> getPoints2()
          Returns the points in the Polyline.
 String getText()
          Returns the text of the shape.
 void setPoints(List<Point2D.Double> points, List<Point2D.Double> points1, List<Point2D.Double> points2, List<Integer> maskList)
          Set the points in the polyline.
 void setText(String text)
          Sets the text of the shape.
 
Methods inherited from class pojos.ShapeData
getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setZ
 
Methods inherited from class pojos.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setId, setValue, setVersion, timeOfEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolylineData

public PolylineData(omero.model.Shape shape)
Creates a new instance.

Parameters:
shape - The shape this object represents.

PolylineData

public PolylineData()
Create a new instance of polyline, creating a new PolylineI Object.


PolylineData

public PolylineData(List<Point2D.Double> points,
                    List<Point2D.Double> points1,
                    List<Point2D.Double> points2,
                    List<Integer> maskList)
Create a new instance of the PolylineData, set the points in the polyline.

Parameters:
points - See Above.
Method Detail

getText

public String getText()
Returns the text of the shape.

Returns:
See above.

setText

public void setText(String text)
Sets the text of the shape.

Parameters:
text - See above.

getPoints

public List<Point2D.Double> getPoints()
Returns the points in the Polyline.

Returns:
See above.

getPoints1

public List<Point2D.Double> getPoints1()
Returns the points in the Polyline.

Returns:
See above.

getPoints2

public List<Point2D.Double> getPoints2()
Returns the points in the Polyline.

Returns:
See above.

getMaskPoints

public List<Integer> getMaskPoints()
Returns the points in the Polyline.

Returns:
See above.

setPoints

public void setPoints(List<Point2D.Double> points,
                      List<Point2D.Double> points1,
                      List<Point2D.Double> points2,
                      List<Integer> maskList)
Set the points in the polyline.

Parameters:
points - See above.


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.