Package qupath.lib.lazy.objects
Class MeasurementListValue
java.lang.Object
qupath.lib.lazy.objects.MeasurementListValue
- All Implemented Interfaces:
LazyNumericValue<PathObject>
,LazyValue<PathObject,
Number>
Value extracted from an object's measurement list.
-
Field Summary
Fields inherited from interface qupath.lib.lazy.interfaces.LazyValue
DEFAULT_DECIMAL_PLACES
-
Method Summary
Modifier and TypeMethodDescriptionOptional help text that explained the value.getName()
The name of the value.getValue
(PathObject pathObject) Calculate a value from the input.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qupath.lib.lazy.interfaces.LazyNumericValue
getMeasurementType
Methods inherited from interface qupath.lib.lazy.interfaces.LazyValue
getStringValue, getStringValue, isBoolean, isNumeric, isString
-
Method Details
-
getName
Description copied from interface:LazyValue
The name of the value. When showing a measurement table, this would be the column header.- Specified by:
getName
in interfaceLazyValue<PathObject,
Number> - Returns:
- the name of the value
-
getHelpText
Description copied from interface:LazyValue
Optional help text that explained the value. This may be displayed in a tooltip.- Specified by:
getHelpText
in interfaceLazyValue<PathObject,
Number> - Returns:
- the help text, or null if no help text is available
-
getValue
Description copied from interface:LazyValue
Calculate a value from the input.- Specified by:
getValue
in interfaceLazyValue<PathObject,
Number> - Parameters:
pathObject
- the input that should be measured- Returns:
- the output value
-