|
|||||||||
| 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 MutableModulepublic void addInput(ModuleItem<?> input)
MutableModule
addInput in interface MutableModule
public <T> MutableModuleItem<T> addOutput(String name,
Class<T> type)
MutableModule
addOutput in interface MutableModulepublic void addOutput(ModuleItem<?> output)
MutableModule
addOutput in interface MutableModulepublic void removeInput(ModuleItem<?> input)
MutableModule
removeInput in interface MutableModulepublic void removeOutput(ModuleItem<?> output)
MutableModule
removeOutput in interface MutableModulepublic MutableModuleInfo getInfo()
Module
getInfo in interface ModulegetInfo in interface MutableModulepublic void run()
run in interface Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||