public interface IModule
Modifier and Type | Method and Description |
---|---|
boolean |
fromXML(String xml)
Restores module from XML string representation.
|
String[] |
getInputNames()
Gets input image names.
|
IPluginLauncher |
getLauncher()
Gets associated launcher
|
String |
getName()
Gets name of module.
|
String[] |
getOutputNames()
Gets output names.
|
void |
input(ItemWrapper image)
Furnish default input image
|
void |
input(ItemWrapper image,
String name)
Furnish named input image
|
void |
setName(String name)
Sets name of module.
|
void |
setOutputListener(IOutputListener listener)
Listen for default output image.
|
void |
setOutputListener(String name,
IOutputListener listener)
Listen for named output image.
|
String |
toXML()
Saves module as XML string representation.
|
String getName()
void setName(String name)
IPluginLauncher getLauncher()
String toXML()
boolean fromXML(String xml)
xml
- String[] getInputNames()
String[] getOutputNames()
void input(ItemWrapper image)
void input(ItemWrapper image, String name)
void setOutputListener(IOutputListener listener)
void setOutputListener(String name, IOutputListener listener)
Copyright © 2015–2022 SciJava. All rights reserved.