Package fr.igred.omero.roi
Class PolylineWrapper
- java.lang.Object
- 
- fr.igred.omero.GenericObjectWrapper<T>
- 
- fr.igred.omero.AnnotatableWrapper<T>
- 
- fr.igred.omero.roi.GenericShapeWrapper<PolylineData>
- 
- fr.igred.omero.roi.PolylineWrapper
 
 
 
 
- 
 public class PolylineWrapper extends GenericShapeWrapper<PolylineData> Class containing an PolylineData.Wraps function calls to the PolylineData contained. 
- 
- 
Field Summary- 
Fields inherited from class fr.igred.omero.roi.GenericShapeWrapperANNOTATION_LINK
 - 
Fields inherited from class fr.igred.omero.GenericObjectWrapperdata
 
- 
 - 
Constructor SummaryConstructors 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(List<Point2D.Double> points)Constructor of the RectangleWrapper class using a new LineData.PolylineWrapper(PolylineData polyline)Constructor of the PolylineWrapper class using a PolylineData.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Point2D.Double>getPoints()Returns the points in the Polyline.StringgetText()Gets the text on the ShapeData.voidsetPoints(List<Point2D.Double> points)Sets the points in the polyline.voidsetText(String text)Sets the text on the ShapeData.ShapetoAWTShape()Converts the shape to anShape.- 
Methods inherited from class fr.igred.omero.roi.GenericShapeWrapperannotationLinkType, asShapeData, copyFromIJRoi, copyToIJRoi, createTransformedAWTShape, getBoundingBox, getC, getFill, getFontSize, getStroke, getT, getZ, link, setC, setCZT, setFill, setFontSize, setStroke, setT, setTransform, setTransform, setZ, toAWTTransform, toImageJ
 - 
Methods inherited from class fr.igred.omero.AnnotatableWrapperaddAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addFileAnnotation, addKeyValuePair, addMapAnnotation, addPairKeyValue, addTable, addTag, addTag, addTag, addTags, addTags, copyAnnotationLinks, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValue, isLinked, link, link, linkIfNotLinked, rate, removeLink, unlink
 - 
Methods inherited from class fr.igred.omero.GenericObjectWrapperasDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, saveAndUpdate, toString, wrap, wrap
 
- 
 
- 
- 
- 
Constructor Detail- 
PolylineWrapperpublic PolylineWrapper(PolylineData polyline) Constructor of the PolylineWrapper class using a PolylineData.- Parameters:
- polyline- The PolylineData to wrap.
 
 - 
PolylineWrapperpublic PolylineWrapper() Constructor of the RectangleWrapper class using a new empty LineData.
 - 
PolylineWrapperpublic PolylineWrapper(Roi ijRoi) Constructor of the PolylineWrapper class using an ImageJ PolygonRoi.- Parameters:
- ijRoi- An ImageJ ROI.
 
 - 
PolylineWrapperpublic PolylineWrapper(List<Point2D.Double> points) Constructor of the RectangleWrapper class using a new LineData.- Parameters:
- points- the points in the polyline.
 
 
- 
 - 
Method Detail- 
getTextpublic String getText() Gets the text on the ShapeData.- Specified by:
- getTextin class- GenericShapeWrapper<PolylineData>
- Returns:
- the text
 
 - 
setTextpublic void setText(String text) Sets the text on the ShapeData.- Specified by:
- setTextin class- GenericShapeWrapper<PolylineData>
- Parameters:
- text- the text
 
 - 
toAWTShapepublic Shape toAWTShape() Converts the shape to anShape.- Specified by:
- toAWTShapein class- GenericShapeWrapper<PolylineData>
- Returns:
- The converted AWT Shape.
 
 - 
getPointspublic List<Point2D.Double> getPoints() Returns the points in the Polyline.- Returns:
- See above.
 
 - 
setPointspublic void setPoints(List<Point2D.Double> points) Sets the points in the polyline.- Parameters:
- points- The points to set.
 
 
- 
 
-