pojos
Class PointData

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

public class PointData
extends ShapeData

Represents a point 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
PointData()
          Create a new instance of PointData, creating a new pointI Object.
PointData(double x, double y)
          Create a new instance of the PointData,
PointData(omero.model.Shape shape)
          Creates a new instance.
 
Method Summary
 String getText()
          Returns the text of the shape.
 double getX()
          Returns the x-coordinate of the shape.
 double getY()
          Returns the y coordinate of the shape.
 void setText(String text)
          Sets the text of the shape.
 void setX(double x)
          set the x-coordinate of the shape.
 void setY(double y)
          set the y-coordinate of the shape.
 
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

PointData

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

Parameters:
shape - The shape to host.

PointData

public PointData()
Create a new instance of PointData, creating a new pointI Object.


PointData

public PointData(double x,
                 double y)
Create a new instance of the PointData,

Parameters:
x - x-coordinate of the shape.
y - y-coordinate of the shape.
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 shape.

Returns:
See above.

setX

public void setX(double x)
set the x-coordinate of the shape.

Parameters:
x - See above.

getY

public double getY()
Returns the y coordinate of the shape.

Returns:
See above.

setY

public void setY(double y)
set the y-coordinate of the shape.

Parameters:
y - See above.


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

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