Package | Description |
---|---|
org.scijava.batch | |
org.scijava.batch.input | |
org.scijava.command | |
org.scijava.module | |
org.scijava.script | |
org.scijava.widget |
Modifier and Type | Method and Description |
---|---|
default List<ModuleItem<?>> |
BatchService.batchableInputs(ModuleInfo moduleInfo)
A collection of input
ModuleItem s of the given ModuleInfo
that are supported (i.e. |
Modifier and Type | Method and Description |
---|---|
<I> void |
FileBatchService.fillInput(Module module,
ModuleItem<?> moduleItem,
I inputObject) |
<I> void |
BatchService.fillInput(Module module,
ModuleItem<?> moduleItem,
I inputObject)
Fill a provided ModuleItem with a given input object
|
boolean |
FileBatchService.supportsItem(ModuleItem<?> moduleItem)
Returns true if
type is a File . |
boolean |
BatchService.supportsItem(ModuleItem<?> moduleItem)
Returns true if
type can be populated with batch inputs provided
by this service |
Modifier and Type | Method and Description |
---|---|
ModuleItem<?> |
BatchInput.moduleItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
FileBatchInputProvider.canProvide(ModuleItem<?> item) |
boolean |
BatchInputProvider.canProvide(ModuleItem<?> moduleItem)
Check if a given
ModuleItem can be populated by this input provider. |
String |
FileBatchInputProvider.getTargetWidgetStyle(ModuleItem<?> item) |
String |
BatchInputProvider.getTargetWidgetStyle(ModuleItem<?> moduleItem) |
void |
FileBatchInputProvider.populateInput(Module module,
ModuleItem<?> moduleItem,
File inputObject) |
void |
BatchInputProvider.populateInput(Module module,
ModuleItem<?> moduleItem,
I inputObject) |
Constructor and Description |
---|
BatchInput(Class<?> srcClass,
ModuleItem<?> destItem) |
BatchInput(Type srcType,
ModuleItem<?> destItem) |
Modifier and Type | Class and Description |
---|---|
class |
CommandModuleItem<T>
ModuleItem implementation describing an input or output of a command. |
Modifier and Type | Method and Description |
---|---|
protected <T> ModuleItem<T> |
InteractiveCommand.asType(ModuleItem<?> item,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
Iterable<ModuleItem<?>> |
CommandInfo.inputs() |
Iterable<ModuleItem<?>> |
CommandInfo.outputs() |
Modifier and Type | Method and Description |
---|---|
protected <T> ModuleItem<T> |
InteractiveCommand.asType(ModuleItem<?> item,
Class<T> type) |
protected <T> void |
InteractiveCommand.update(ModuleItem<T> item,
T newValue) |
protected void |
InteractiveCommand.updateInput(ModuleItem<?> item) |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableModuleItem<T>
ModuleItem extension allowing manipulation of its metadata. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModuleItem<T>
Abstract superclass of
ModuleItem implementations. |
class |
DefaultMutableModuleItem<T>
Default
MutableModuleItem implementation, for use with custom
MutableModule implementations. |
Modifier and Type | Method and Description |
---|---|
ModuleItem<?> |
ModuleInfo.getInput(String name)
Gets the input item with the given name.
|
ModuleItem<?> |
AbstractModuleInfo.getInput(String name) |
<T> ModuleItem<T> |
ModuleInfo.getInput(String name,
Class<T> type)
Gets the input item with the given name and type.
|
<T> ModuleItem<T> |
AbstractModuleInfo.getInput(String name,
Class<T> type) |
ModuleItem<?> |
ModuleInfo.getOutput(String name)
Gets the output item with the given name.
|
ModuleItem<?> |
AbstractModuleInfo.getOutput(String name) |
<T> ModuleItem<T> |
ModuleInfo.getOutput(String name,
Class<T> type)
Gets the output item with the given name and type.
|
<T> ModuleItem<T> |
AbstractModuleInfo.getOutput(String name,
Class<T> type) |
<T> ModuleItem<T> |
ModuleService.getSingleInput(Module module,
Class<T> type)
Checks the given module for a solitary unresolved fillable input of the
given type, returning the relevant
ModuleItem if found, or null if
not exactly one unresolved fillable input of that type. |
<T> ModuleItem<T> |
DefaultModuleService.getSingleInput(Module module,
Class<T> type) |
ModuleItem<?> |
ModuleService.getSingleInput(Module module,
Collection<Class<?>> types)
As
ModuleService.getSingleInput(Module, Class) but will match with a set of
potential classes, at the cost of generic parameter safety. |
ModuleItem<?> |
DefaultModuleService.getSingleInput(Module module,
Collection<Class<?>> types) |
<T> ModuleItem<T> |
ModuleService.getSingleOutput(Module module,
Class<T> type)
Checks the given module for a solitary unresolved output of the given type,
returning the relevant
ModuleItem if found, or null if not exactly
one unresolved output of that type. |
<T> ModuleItem<T> |
DefaultModuleService.getSingleOutput(Module module,
Class<T> type) |
ModuleItem<?> |
ModuleService.getSingleOutput(Module module,
Collection<Class<?>> types)
As
ModuleService.getSingleOutput(Module, Class) but will match with a set of
potential classes, at the cost of generic parameter safety. |
ModuleItem<?> |
DefaultModuleService.getSingleOutput(Module module,
Collection<Class<?>> types) |
Modifier and Type | Method and Description |
---|---|
protected List<ModuleItem<?>> |
AbstractModuleInfo.inputList()
Gets
AbstractModuleInfo.outputMap , initializing if needed. |
protected Map<String,ModuleItem<?>> |
AbstractModuleInfo.inputMap()
Gets
AbstractModuleInfo.inputMap , initializing if needed. |
Iterable<ModuleItem<?>> |
ModuleInfo.inputs()
Gets the list of input items.
|
Iterable<ModuleItem<?>> |
AbstractModuleInfo.inputs() |
protected List<ModuleItem<?>> |
AbstractModuleInfo.outputList()
Gets
AbstractModuleInfo.outputList , initializing if needed. |
protected Map<String,ModuleItem<?>> |
AbstractModuleInfo.outputMap()
Gets
AbstractModuleInfo.inputList , initializing if needed. |
Iterable<ModuleItem<?>> |
ModuleInfo.outputs()
Gets the list of output items.
|
Iterable<ModuleItem<?>> |
AbstractModuleInfo.outputs() |
Modifier and Type | Method and Description |
---|---|
void |
MutableModuleInfo.addInput(ModuleItem<?> input)
Adds an input to the list.
|
default void |
MutableModule.addInput(ModuleItem<?> input)
Adds an input to the list.
|
void |
DefaultMutableModuleInfo.addInput(ModuleItem<?> input) |
void |
MutableModuleInfo.addOutput(ModuleItem<?> output)
Adds an output to the list.
|
default void |
MutableModule.addOutput(ModuleItem<?> output)
Adds an output to the list.
|
void |
DefaultMutableModuleInfo.addOutput(ModuleItem<?> output) |
<T> T |
ModuleService.getDefaultValue(ModuleItem<T> item)
Gets the default value of the given
ModuleItem . |
<T> T |
DefaultModuleService.getDefaultValue(ModuleItem<T> item) |
<T> T |
ModuleService.load(ModuleItem<T> item)
Returns the value, if any, stored in the
PrefService for the given
ModuleItem . |
<T> T |
DefaultModuleService.load(ModuleItem<T> item) |
protected void |
AbstractModuleInfo.registerInput(ModuleItem<?> input)
Adds an input.
|
protected void |
AbstractModuleInfo.registerOutput(ModuleItem<?> output)
Adds an output.
|
void |
MutableModuleInfo.removeInput(ModuleItem<?> input)
Removes an input from the list.
|
default void |
MutableModule.removeInput(ModuleItem<?> input)
Removes an input from the list.
|
void |
DefaultMutableModuleInfo.removeInput(ModuleItem<?> input) |
void |
MutableModuleInfo.removeOutput(ModuleItem<?> output)
Removes an output from the list.
|
default void |
MutableModule.removeOutput(ModuleItem<?> output)
Removes an output from the list.
|
void |
DefaultMutableModuleInfo.removeOutput(ModuleItem<?> output) |
<T> void |
ModuleService.save(ModuleItem<T> item,
T value)
Registers the given value for the given
ModuleItem using the
PrefService . |
<T> void |
DefaultModuleService.save(ModuleItem<T> item,
T value) |
Constructor and Description |
---|
DefaultMutableModuleItem(ModuleInfo info,
ModuleItem<T> item)
Creates a new module item with the same values as the given item.
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptInfo.registerInput(ModuleItem<?> input) |
void |
ScriptInfo.registerOutput(ModuleItem<?> output) |
Modifier and Type | Method and Description |
---|---|
ModuleItem<?> |
WidgetModel.getItem()
Gets the module input's associated item descriptor.
|
ModuleItem<?> |
DefaultWidgetModel.getItem() |
Modifier and Type | Method and Description |
---|---|
default WidgetModel |
WidgetService.createModel(InputPanel<?,?> inputPanel,
Module module,
ModuleItem<?> item,
List<?> objectPool)
Create a
WidgetModel for the given module input. |
static boolean |
WidgetStyle.isStyle(ModuleItem<?> item,
String target)
Check whether a given
ModuleItem has the target style. |
Constructor and Description |
---|
DefaultWidgetModel(Context context,
InputPanel<?,?> inputPanel,
Module module,
ModuleItem<?> item,
List<?> objectPool) |
Copyright © 2015–2022 SciJava. All rights reserved.