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, waitMethods inherited from interface qupath.lib.lazy.interfaces.LazyNumericValue
getMeasurementTypeMethods inherited from interface qupath.lib.lazy.interfaces.LazyValue
getStringValue, getStringValue, isBoolean, isNumeric, isString
-
Method Details
-
getName
Description copied from interface:LazyValueThe name of the value. When showing a measurement table, this would be the column header.- Specified by:
getNamein interfaceLazyValue<PathObject,Number> - Returns:
- the name of the value
-
getHelpText
Description copied from interface:LazyValueOptional help text that explained the value. This may be displayed in a tooltip.- Specified by:
getHelpTextin interfaceLazyValue<PathObject,Number> - Returns:
- the help text, or null if no help text is available
-
getValue
Description copied from interface:LazyValueCalculate a value from the input.- Specified by:
getValuein interfaceLazyValue<PathObject,Number> - Parameters:
pathObject- the input that should be measured- Returns:
- the output value
-