pojos
Class TextData

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

public class TextData
extends ShapeData

Represents a Text 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
TextData()
          Creates a new instance of TextData, creating a new TextI Object.
TextData(omero.model.Shape shape)
          Creates a new instance of Text data from an existing shape.
TextData(String text, double x, double y)
          Creates a new instance of the TextData, sets the centre and major, minor axes.
 
Method Summary
 String getText()
          Returns the text of the shape.
 double getX()
          Returns the x-coordinate text field.
 double getY()
          Returns the y-coordinate text field.
 void setText(String text)
          Sets the text of the shape.
 void setX(double x)
          Sets the x-coordinate of the text field.
 void setY(double y)
          Sets the y-coordinate of the text field.
 
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

TextData

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

Parameters:
shape - The shape this object represents.

TextData

public TextData()
Creates a new instance of TextData, creating a new TextI Object.


TextData

public TextData(String text,
                double x,
                double y)
Creates a new instance of the TextData, sets the centre and major, minor axes.

Parameters:
text - Object text.
x - X-Coordinate of the text.
y - Y-Coordinate of the text.
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 text field.

Returns:
See above.

setX

public void setX(double x)
Sets the x-coordinate of the text field.

Parameters:
x - See above.

getY

public double getY()
Returns the y-coordinate text field.

Returns:
See above.

setY

public void setY(double y)
Sets the y-coordinate of the text field.

Parameters:
y - See above.


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

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