|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
public class DefaultMutableModule
Default MutableModule
implementation, intended for subclassing.
Constructor Summary | |
---|---|
DefaultMutableModule()
|
|
DefaultMutableModule(MutableModuleInfo info)
|
Method Summary | ||
---|---|---|
void |
addInput(ModuleItem<?> input)
Adds an input to the list. |
|
|
addInput(String name,
Class<T> type)
Adds an input to the list. |
|
void |
addOutput(ModuleItem<?> output)
Adds an output to the list. |
|
|
addOutput(String name,
Class<T> type)
Adds an output to the list. |
|
MutableModuleInfo |
getInfo()
Gets metadata about this module. |
|
void |
removeInput(ModuleItem<?> input)
Removes an input from the list. |
|
void |
removeOutput(ModuleItem<?> output)
Removes an output from the list. |
|
void |
run()
|
Methods inherited from class org.scijava.module.AbstractModule |
---|
cancel, getDelegateObject, getInput, getInputs, getOutput, getOutputs, initialize, isResolved, preview, setInput, setInputs, setOutput, setOutputs, setResolved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.scijava.module.Module |
---|
cancel, getDelegateObject, getInput, getInputs, getOutput, getOutputs, initialize, isResolved, preview, setInput, setInputs, setOutput, setOutputs, setResolved |
Constructor Detail |
---|
public DefaultMutableModule()
public DefaultMutableModule(MutableModuleInfo info)
Method Detail |
---|
public <T> MutableModuleItem<T> addInput(String name, Class<T> type)
MutableModule
addInput
in interface MutableModule
public void addInput(ModuleItem<?> input)
MutableModule
addInput
in interface MutableModule
public <T> MutableModuleItem<T> addOutput(String name, Class<T> type)
MutableModule
addOutput
in interface MutableModule
public void addOutput(ModuleItem<?> output)
MutableModule
addOutput
in interface MutableModule
public void removeInput(ModuleItem<?> input)
MutableModule
removeInput
in interface MutableModule
public void removeOutput(ModuleItem<?> output)
MutableModule
removeOutput
in interface MutableModule
public MutableModuleInfo getInfo()
Module
getInfo
in interface Module
getInfo
in interface MutableModule
public void run()
run
in interface Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |