Package omero.gateway.model
Class PolylineData
- java.lang.Object
-
- omero.gateway.model.DataObject
-
- omero.gateway.model.ShapeData
-
- omero.gateway.model.PolylineData
-
public class PolylineData extends ShapeData
Represents an Polyline shape in the Euclidean space R2.- Since:
- 3.0-Beta4
-
-
Field Summary
-
Fields inherited from class omero.gateway.model.ShapeData
READONLY_FLAG, settings
-
-
Constructor Summary
Constructors Constructor Description PolylineData()
Creates a new instance of polyline, creating a new PolylineI Object.PolylineData(java.util.List<java.awt.geom.Point2D.Double> points)
Create a new instance of the PolylineData, set the points in the polyline.PolylineData(omero.model.Shape shape)
Creates a new instance.
-
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()
Returns the text of the shape.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 of the shape.-
Methods inherited from class omero.gateway.model.ShapeData
fromPoints, getC, getROICoordinate, getShapeSettings, getT, getTransform, getZ, isClientObject, isReadOnly, parsePointsToIntegerList, parsePointsToPoint2DList, setC, setClientObject, setDirty, setReadOnly, setROICoordinate, setShapeSettings, setT, setTransform, setZ, toNumber, toPoints
-
Methods inherited from class omero.gateway.model.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setId, setValue, setVersion, timeOfEvent, toString
-
-
-
-
Constructor Detail
-
PolylineData
public PolylineData(omero.model.Shape shape)
Creates a new instance.- Parameters:
shape
- The shape this object represents.
-
PolylineData
public PolylineData()
Creates a new instance of polyline, creating a new PolylineI Object.
-
PolylineData
public PolylineData(java.util.List<java.awt.geom.Point2D.Double> points)
Create a new instance of the PolylineData, set the points in the polyline.- Parameters:
points
- See Above.
-
-
Method Detail
-
getText
public java.lang.String getText()
Returns the text of the shape.- Returns:
- See above.
-
setText
public void setText(java.lang.String text)
Sets the text of the shape.- Parameters:
text
- See above.
-
getPoints
public java.util.List<java.awt.geom.Point2D.Double> getPoints()
Returns the points in the Polyline.- Returns:
- See above.
-
setPoints
public void setPoints(java.util.List<java.awt.geom.Point2D.Double> points)
Sets the points in the polyline.- Parameters:
points
- The points to set.
-
-