jigcell.compare.contrib
Class ObjectiveTemplate
java.lang.Object
javax.swing.TransferHandler
jigcell.compare.impl.Transferer
jigcell.compare.impl.DataSource
jigcell.compare.data.DataGenerator
jigcell.compare.data.EditableDataGenerator
jigcell.compare.data.ProgrammableDataGenerator
jigcell.compare.objective.Objective
jigcell.compare.contrib.ObjectiveHelper
jigcell.compare.contrib.ObjectiveTemplate
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, IDataGenerator, IDataSource, IEditableDataGenerator, IProgrammableDataGenerator, IReadableDataSource, IWriteableDataSource, IObjective
public class ObjectiveTemplate
- extends ObjectiveHelper
A DESCRIPTION OF YOUR CLASS.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
- Author:
- YOUR NAME HERE
- See Also:
- Serialized Form
|
Field Summary |
protected static java.lang.String |
DESCRIPTION_INPUT
Description for the input of this objective function |
protected static java.lang.String |
NAME_OBJECTIVE
Display name of this objective function |
| Fields inherited from class jigcell.compare.impl.Transferer |
CSV_FOOTER, CSV_LINEPOSTPEND, CSV_LINEPREPEND, CSV_LINESEPARATOR, HTML_FOOTER, HTML_HEADPOSTPEND, HTML_HEADPREPEND, HTML_HEADSEPARATOR, HTML_LINEPOSTPEND, HTML_LINEPREPEND, HTML_LINESEPARATOR |
| Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, MOVE, NONE |
| Methods inherited from class jigcell.compare.data.ProgrammableDataGenerator |
addEvaluationListener, clear, fireEvaluationError, fireEvaluationError, fireEvaluationStart, fireEvaluationStop, getAllowDescriptionQuery, getCallStack, getElement, getElement, getEvaluationLock, getInputTypeChecker, getInterface, getOutputTypeChecker, initializeSource, isCached, peekElement, peekInterface, propertyChange, removeEvaluationListener, setAllowDescriptionQuery, setInputTypeChecker, setInterfaceClass, setOutputTypeChecker, updateInterface |
| Methods inherited from class jigcell.compare.data.DataGenerator |
clone, compareByName, copy, generateGUID, getAttribute, getComment, getCopiedFrom, getName, getPredictedContents, getTransferData, isCopy, isCopyRelated, read, setCopyName, setName, toString |
| Methods inherited from class jigcell.compare.impl.DataSource |
addOption, addPropertyChangeListener, addPropertyChangeListener, configure, getOption, getOptions, getOptionType, getPropertyChangeListeners, getPropertyChangeListeners, getReadDescriptionOption, getReadIconOption, getState, getWriteDescriptionOption, getWriteIconOption, persistSource, removePropertyChangeListener, removePropertyChangeListener, setOptions, setOptionType, setReadDescriptionOption, setReadIconOption, setWriteDescriptionOption, setWriteIconOption, unpersistSource |
| Methods inherited from class jigcell.compare.impl.Transferer |
addExtension, addFlavor, createCSVTable, createFormattedTable, createHTMLTable, getExceptionRecorder, getExpectedClasses, getExpectedClasses, getExpectedClasses, getFlavors, getFlavors, getPreferredExtensions, getPreferredExtensions, getTransferClass, getTransferDataFlavors, getTransferFlavor, isDataFlavorSupported, transfer |
| Methods inherited from class javax.swing.TransferHandler |
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getSourceActions, getVisualRepresentation, importData |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jigcell.compare.objective.IObjective |
clear |
| Methods inherited from interface java.awt.datatransfer.Transferable |
getTransferData, getTransferDataFlavors, isDataFlavorSupported |
DESCRIPTION_INPUT
protected static final java.lang.String DESCRIPTION_INPUT
- Description for the input of this objective function
- See Also:
- Constant Field Values
NAME_OBJECTIVE
protected static final java.lang.String NAME_OBJECTIVE
- Display name of this objective function
- See Also:
- Constant Field Values
ObjectiveTemplate
public ObjectiveTemplate()
getCustomizableInstances
public static java.lang.Object getCustomizableInstances()
- Generates an instance.
copy
protected void copy(boolean shallow,
IDataGenerator target)
- Copies state for this generator.
- Overrides:
copy in class ProgrammableDataGenerator
- Parameters:
shallow - Whether the copy is shallowtarget - Generator to copy to
evaluate
protected double evaluate(IDataElement input1,
IDataElement input2)
- Evaluates and returns the associated element.
- Specified by:
evaluate in class ObjectiveHelper
createCustomizer
protected javax.swing.JComponent createCustomizer()
-
- Overrides:
createCustomizer in class ObjectiveHelper
- See Also:
ObjectiveHelper.createCustomizer(java.lang.String)