Package fr.igred.omero.roi
Class PolylineWrapper
- java.lang.Object
-
- fr.igred.omero.ObjectWrapper<T>
-
- fr.igred.omero.AnnotatableWrapper<T>
-
- fr.igred.omero.roi.ShapeWrapper<PolylineData>
-
- fr.igred.omero.roi.PolylineWrapper
-
- All Implemented Interfaces:
Annotatable
,RemoteObject
,Polygonal
,Polyline
,Shape
public class PolylineWrapper extends ShapeWrapper<PolylineData> implements Polyline
Class containing an PolylineData.Wraps function calls to the PolylineData 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 PolylineWrapper()
Constructor of the RectangleWrapper class using a new empty LineData.PolylineWrapper(Roi ijRoi)
Constructor of the PolylineWrapper class using an ImageJ PolygonRoi.PolylineWrapper(java.util.List<java.awt.geom.Point2D.Double> points)
Constructor of the RectangleWrapper class using a new LineData.PolylineWrapper(PolylineData polyline)
Constructor of the PolylineWrapper class using a PolylineData.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.awt.geom.Point2D.Double>
getPoints()
Returns the points in the Polyline.java.lang.String
getText()
Gets the text on the ShapeData.void
setPoints(java.util.List<java.awt.geom.Point2D.Double> points)
Sets the points in the polyline.void
setText(java.lang.String text)
Sets the text on the ShapeData.-
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, toImageJ
-
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.Polyline
asDataObject, toAWTShape
-
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, toImageJ
-
-
-
-
Constructor Detail
-
PolylineWrapper
public PolylineWrapper(PolylineData polyline)
Constructor of the PolylineWrapper class using a PolylineData.- Parameters:
polyline
- The PolylineData to wrap.
-
PolylineWrapper
public PolylineWrapper()
Constructor of the RectangleWrapper class using a new empty LineData.
-
PolylineWrapper
public PolylineWrapper(Roi ijRoi)
Constructor of the PolylineWrapper class using an ImageJ PolygonRoi.- Parameters:
ijRoi
- An ImageJ ROI.
-
PolylineWrapper
public PolylineWrapper(java.util.List<java.awt.geom.Point2D.Double> points)
Constructor of the RectangleWrapper class using a new LineData.- Parameters:
points
- the points in the polyline.
-
-