java.lang.Object | |
↳ | vars.annotation.ui.imagepanel.Measurement |
Bean class for holding information about a measurement
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Predicate<Association> | IS_MEASUREMENT_PREDICATE | Filter for the distance measurement association | |||||||||
Function<ILink, Measurement> | LINK_TO_MEASUREMENT_TRANSFORM | Transform to convert association to measurements | |||||||||
String | MEASUREMENT_LINKNAME |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Transforms the measurement into an ILink object.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Filter for the distance measurement association
Transform to convert association to measurements
x0 | x-coordinate of the starting point |
---|---|
y0 | y-coordinate of the starting point |
x1 | x-coordinate of the ending point |
y1 | y-coordinate of the ending point |
comment | Some description about the measurement |
Transforms the measurement into an ILink object. The link can be converted to an Association using:
AnnotationFactory f = // get an annotationFactory object Association = f.newAssociation(measurement.toLink());