|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.DataObject
pojos.ShapeData
pojos.RectangleData
public class RectangleData
Represents a rectangle in the Euclidean space R2.
Field Summary |
---|
Fields inherited from class pojos.ShapeData |
---|
READONLY_FLAG, settings |
Constructor Summary | |
---|---|
RectangleData()
Create a new instance of RectangleData, creating a new EllipseI Object. |
|
RectangleData(double x,
double y,
double width,
double height)
Create a new instance of the RectangleData, set the x, y coord and Width and height. |
|
RectangleData(omero.model.Shape shape)
Creates a new instance. |
Method Summary | |
---|---|
double |
getHeight()
Returns the height untransformed rectangle. |
String |
getText()
Returns the text of the shape. |
double |
getWidth()
Returns the width untransformed rectangle. |
double |
getX()
Returns the x-coordinate top-left corner of an untransformed rectangle. |
double |
getY()
Returns the top-left corner of an untransformed rectangle. |
void |
setHeight(double height)
set height of an untransformed rectangle. |
void |
setText(String text)
Sets the text of the shape. |
void |
setWidth(double width)
set width of an untransformed rectangle. |
void |
setX(double x)
set the x-coordinate top-left corner of an untransformed rectangle. |
void |
setY(double y)
set the y-coordinate top-left corner of an untransformed rectangle. |
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 |
---|
public RectangleData(omero.model.Shape shape)
shape
- The shape this object represents.public RectangleData()
public RectangleData(double x, double y, double width, double height)
x
- See Above.y
- See Above..width
- See Above.height
- See Above.Method Detail |
---|
public String getText()
public void setText(String text)
text
- See above.public double getX()
public void setX(double x)
x
- See above.public double getY()
public void setY(double y)
y
- See above.public double getWidth()
public void setWidth(double width)
width
- See above.public double getHeight()
public void setHeight(double height)
height
- See above.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.