Package fr.igred.omero.roi
Class PointWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.AnnotatableWrapper<T>
-
- fr.igred.omero.roi.ShapeWrapper<PointData>
-
- fr.igred.omero.roi.PointWrapper
-
- All Implemented Interfaces:
Annotatable
,RemoteObject
,Point
,Punctual
,Shape
public class PointWrapper extends ShapeWrapper<PointData> implements Point
Class containing an PointData.Wraps function calls to the PointData contained.
-
-
Field Summary
-
Fields inherited from class fr.igred.omero.roi.ShapeWrapper
ANNOTATION_LINK
-
Fields inherited from class fr.igred.omero.ObjectWrapper
data
-
-
Constructor Summary
Constructors Constructor Description PointWrapper()
Constructor of the PointWrapper class using a new empty PointData.PointWrapper(double x, double y)
Constructor of the PointWrapper class using a new empty ShapeData.PointWrapper(PointData point)
Constructor of the PointWrapper class using a PointData.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getText()
Gets the text on the ShapeData.double
getX()
Returns the x-coordinate of the punctual shape.double
getY()
Returns the y coordinate of the punctual shape.void
setText(java.lang.String text)
Sets the text on the ShapeData.void
setX(double x)
Sets the x-coordinate of the punctual shape.void
setY(double y)
Sets the y-coordinate of the punctual shape.Roi
toImageJ()
Converts shape to ImageJ ROI.-
Methods inherited from class fr.igred.omero.roi.ShapeWrapper
annotationLinkType, copyFromIJRoi, copyToIJRoi, getBoundingBox, getC, getFill, getFontSize, getStroke, getT, getZ, setC, setFill, setFontSize, setStroke, setT, setTransform, setZ, toAWTTransform
-
Methods inherited from class fr.igred.omero.AnnotatableWrapper
addAndReplaceFile, addAndReplaceTable, addKeyValuePair, addTag, addTag, getAnnotations, getFileAnnotations, getMapAnnotations, getMyRating, getTable, getTags, rate, removeLink, unlink
-
Methods inherited from class fr.igred.omero.ObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface fr.igred.omero.Annotatable
addAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, linkIfNotLinked, rate, unlink
-
Methods inherited from interface fr.igred.omero.roi.Point
asDataObject, toAWTShape
-
Methods inherited from interface fr.igred.omero.roi.Punctual
getCoordinates, setCoordinates, setCoordinates
-
Methods inherited from interface fr.igred.omero.RemoteObject
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
Methods inherited from interface fr.igred.omero.roi.Shape
createTransformedAWTShape, getBoundingBox, getC, getCZT, getFill, getFontSize, getStroke, getT, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setTransform, setTransform, setZ, toAWTTransform
-
-
-
-
Constructor Detail
-
PointWrapper
public PointWrapper(PointData point)
Constructor of the PointWrapper class using a PointData.- Parameters:
point
- The PointData to wrap.
-
PointWrapper
public PointWrapper()
Constructor of the PointWrapper class using a new empty PointData.
-
PointWrapper
public PointWrapper(double x, double y)
Constructor of the PointWrapper class using a new empty ShapeData.- Parameters:
x
- x-coordinate of the shape.y
- y-coordinate of the shape.
-
-
Method Detail
-
getText
public java.lang.String getText()
Gets the text on the ShapeData.
-
setText
public void setText(java.lang.String text)
Sets the text on the ShapeData.
-
getX
public double getX()
Returns the x-coordinate of the punctual shape.
-
setX
public void setX(double x)
Sets the x-coordinate of the punctual shape.
-
getY
public double getY()
Returns the y coordinate of the punctual shape.
-
setY
public void setY(double y)
Sets the y-coordinate of the punctual shape.
-
-