|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProgrammableDataGenerator
A data generator that can derive its value from some programmatic evaluation.
Additionally a public static method is required to be implemented:
A single or collection of prototypical generators that can be customized.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jigcell.compare.IDataSource |
|---|
IDataSource.Option |
| Field Summary | |
|---|---|
static java.lang.String |
METHOD_GENERATE
Name of the static method to be invoked for customizable generators |
static java.lang.String |
OPTION_COMPARE
The Comparator this generator is acting as a part of |
static java.lang.String |
OPTION_INPUTTYPECHECKER
Option for a type checker that can validate the input |
static java.lang.String |
OPTION_OUTPUTTYPECHECKER
Option for a type checker that can validate the output |
| Fields inherited from interface jigcell.compare.IDataGenerator |
|---|
ATTRIBUTE_COMMENT, ATTRIBUTE_GUID, PROPERTY_GENERATOR_EDIT, RESOURCE_GENERATORS |
| Fields inherited from interface jigcell.compare.IReadableDataSource |
|---|
OPTION_READDESCRIPTION, OPTION_READICON |
| Fields inherited from interface jigcell.compare.IDataSource |
|---|
OPTION_NAME |
| Fields inherited from interface jigcell.compare.IWriteableDataSource |
|---|
OPTION_WRITEDESCRIPTION, OPTION_WRITEICON |
| Method Summary | |
|---|---|
void |
addEvaluationListener(IEvaluationListener listener)
Adds a listener to this generator. |
IEvaluationCallStack |
getCallStack()
The call stack for the current evaluation. |
IDataElement |
getElement(IEvaluationCallStack callStack)
A DataElement corresponding to this object. |
EDU.oswego.cs.dl.util.concurrent.Sync |
getEvaluationLock()
Lock for preventing concurrent access during evaluation. |
ITypeChecker |
getInputTypeChecker()
Type checker that can validate the input to this generator. |
ICustomizableInterface |
getInterface()
The customizable interface for this generator. |
ITypeChecker |
getOutputTypeChecker()
Type checker that can validate the output from this generator. |
IDataElement |
peekElement()
The element for this generator if no one holds a lock and it is available according to isCached. |
void |
removeEvaluationListener(IEvaluationListener listener)
Removes a listener from this generator. |
| Methods inherited from interface jigcell.compare.IEditableDataGenerator |
|---|
clear, setComment, setCopyName, setElement, setName |
| Methods inherited from interface jigcell.compare.IDataGenerator |
|---|
copy, getAttribute, getComment, getCopiedFrom, getElement, isCached, isCopy, isCopyRelated, setAttribute |
| Methods inherited from interface jigcell.compare.IReadableDataSource |
|---|
getPredictedContents, getReadDescriptionOption, getReadIconOption, read, setReadDescriptionOption, setReadIconOption |
| Methods inherited from interface jigcell.compare.IDataSource |
|---|
addOption, clone, configure, getName, getOption, getState, setOption, setState |
| Methods inherited from interface java.awt.datatransfer.Transferable |
|---|
getTransferData, getTransferDataFlavors, isDataFlavorSupported |
| Methods inherited from interface jigcell.compare.IWriteableDataSource |
|---|
getPredictedCompatibility, getPredictedCompatibility, getWriteDescriptionOption, getWriteIconOption, setWriteDescriptionOption, setWriteIconOption, write |
| Field Detail |
|---|
static final java.lang.String METHOD_GENERATE
static final java.lang.String OPTION_COMPARE
static final java.lang.String OPTION_INPUTTYPECHECKER
static final java.lang.String OPTION_OUTPUTTYPECHECKER
| Method Detail |
|---|
void addEvaluationListener(IEvaluationListener listener)
listener - ListenerIEvaluationCallStack getCallStack()
IDataElement getElement(IEvaluationCallStack callStack)
EDU.oswego.cs.dl.util.concurrent.Sync getEvaluationLock()
ITypeChecker getInputTypeChecker()
ICustomizableInterface getInterface()
ITypeChecker getOutputTypeChecker()
IDataElement peekElement()
void removeEvaluationListener(IEvaluationListener listener)
listener - Listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||