pojos
Class EllipseData

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

public class EllipseData
extends ShapeData

Represents an ellipse 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
EllipseData()
          Creates a new instance of EllipseData.
EllipseData(double cx, double cy, double rx, double ry)
          Creates a new instance of the EllipseData.
EllipseData(omero.model.Shape shape)
          Creates a new instance of Ellipse data from an existing shape.
 
Method Summary
 double getRadiusX()
          Returns the radius along the X-axis.
 double getRadiusY()
          Returns the radius along the Y-axis.
 String getText()
          Returns the text of the shape.
 double getX()
          Returns the x-coordinate of the center of the ellipse.
 double getY()
          Returns the y-coordinate of the center of the ellipse.
 void setRadiusX(double x)
          Sets the radius along the X-axis.
 void setRadiusY(double y)
          Sets the radius along the Y-axis.
 void setText(String text)
          Sets the text of the shape.
 void setX(double x)
          Sets the x-coordinate of the center of the ellipse.
 void setY(double y)
          Sets the y-coordinate of the center of the ellipse.
 
Methods inherited from class pojos.ShapeData
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, isVisible, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setVisible, setZ, toNumber, toPoints
 
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

EllipseData

public EllipseData(omero.model.Shape shape)
Creates a new instance of Ellipse data from an existing shape.

Parameters:
shape - The shape this object represents.

EllipseData

public EllipseData()
Creates a new instance of EllipseData.


EllipseData

public EllipseData(double cx,
                   double cy,
                   double rx,
                   double ry)
Creates a new instance of the EllipseData.

Parameters:
cx - The x-coordinate of the center of the Ellipse.
cy - The y-coordinate of the center of the Ellipse.
rx - The radius along the X-axis.
ry - The radius along the Y-axis.
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.

getX

public double getX()
Returns the x-coordinate of the center of the ellipse.

Returns:
See above.

setX

public void setX(double x)
Sets the x-coordinate of the center of the ellipse.

Parameters:
x - See above.

getY

public double getY()
Returns the y-coordinate of the center of the ellipse.

Returns:
See above.

setY

public void setY(double y)
Sets the y-coordinate of the center of the ellipse.

Parameters:
y - See above.

getRadiusX

public double getRadiusX()
Returns the radius along the X-axis.

Returns:
See above.

setRadiusX

public void setRadiusX(double x)
Sets the radius along the X-axis.

Parameters:
x - the value to set.

getRadiusY

public double getRadiusY()
Returns the radius along the Y-axis.

Returns:
See above.

setRadiusY

public void setRadiusY(double y)
Sets the radius along the Y-axis.

Parameters:
y - The value to set.


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

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