public abstract class InteractiveImageCommand extends InteractiveCommand
InteractiveCommand which supports syncing
DatasetView and Dataset inputs in addition to only
Displays.
See the BrightnessContrast and Threshold commands in
ij-commands for examples.
| Modifier and Type | Field and Description |
|---|---|
protected ImageDisplayService |
imageDisplayService |
moduleService, pluginService| Constructor and Description |
|---|
InteractiveImageCommand(String... listenerNames)
Creates a new interactive image command.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
updateInput(ModuleItem<?> item) |
asType, cancel, log, onEvent, preview, updatecancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancelgetDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInput, addInput, addOutput, addOutput, removeInput, removeOutput, rungetDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputprotected ImageDisplayService imageDisplayService
public InteractiveImageCommand(String... listenerNames)
listenerNames - The list of names of inputs to keep in sync when the
active display changes. Each input must be a Display,
DatasetView or Dataset.protected void updateInput(ModuleItem<?> item)
updateInput in class InteractiveCommandCopyright © 2014–2022 ImageJ. All rights reserved.