public class VisualROIProperties extends AbstractJIPipeParameterCollection
ROIEditor
that only contains properties for creating ROIJIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
VisualROIProperties() |
VisualROIProperties(VisualROIProperties other) |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(ij.gui.Roi roi,
JIPipeExpressionVariablesMap variables) |
void |
applyToRoiReference(ij.gui.Roi target,
JIPipeExpressionVariablesMap variables)
Note that this is without cloning the ROI
|
OptionalColorParameter |
getFillColor() |
OptionalColorParameter |
getLineColor() |
double |
getLineWidth() |
OptionalJIPipeExpressionParameter |
getRoiName() |
void |
setFillColor(OptionalColorParameter fillColor) |
void |
setLineColor(OptionalColorParameter lineColor) |
void |
setLineWidth(double lineWidth) |
void |
setRoiName(OptionalJIPipeExpressionParameter roiName) |
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public VisualROIProperties()
public VisualROIProperties(VisualROIProperties other)
public OptionalColorParameter getFillColor()
public void setFillColor(OptionalColorParameter fillColor)
public OptionalColorParameter getLineColor()
public void setLineColor(OptionalColorParameter lineColor)
public double getLineWidth()
public void setLineWidth(double lineWidth)
public OptionalJIPipeExpressionParameter getRoiName()
public void setRoiName(OptionalJIPipeExpressionParameter roiName)
public void applyToRoiReference(ij.gui.Roi target, JIPipeExpressionVariablesMap variables)
target
- targetpublic void applyTo(ij.gui.Roi roi, JIPipeExpressionVariablesMap variables)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.