jigcell.compare.objectiveui
Class ScriptEvaluationInterface

java.lang.Object
  extended by jigcell.compare.ui.CustomizableInterface
      extended by jigcell.compare.objectiveui.ObjectiveInterface
          extended by jigcell.compare.objectiveui.ScriptEvaluationInterface
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener, javax.swing.event.DocumentListener, ICustomizableInterface

public class ScriptEvaluationInterface
extends ObjectiveInterface
implements javax.swing.event.DocumentListener

Interface for an ScriptEvaluationObjective.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Field Summary
protected  ScriptEvaluationObjective generator
          Generator
protected  javax.swing.text.Document scriptDocument
          Script document
protected  boolean updating
          Whether the interface is currently being updated
 
Fields inherited from class jigcell.compare.ui.CustomizableInterface
customizers, DESCRIPTION_INPUT, DESCRIPTION_OUTPUT, LOCK_CUSTOMIZERS, manager, menuManager, multipleViewSupport, PATH_DESCRIPTION_INPUT, PATH_DESCRIPTION_OUTPUT, PATH_HELP, popup, POPUP_DEFAULT, PROPERTY_CUSTOMIZERNAME
 
Fields inherited from interface jigcell.compare.ICustomizableInterface
DIMENSION_HELP, OPTION_INPUTDESCRIPTION, OPTION_OUTPUTDESCRIPTION
 
Constructor Summary
ScriptEvaluationInterface(IProgrammableDataGenerator generator)
          Creates a new interface for an ScriptEvaluationObjective.
 
Method Summary
 void changedUpdate(javax.swing.event.DocumentEvent e)
           
protected  javax.swing.JComponent createCustomizer()
          Generates a new customizer for the generator.
 void insertUpdate(javax.swing.event.DocumentEvent e)
           
 void removeUpdate(javax.swing.event.DocumentEvent e)
           
 void updateInterface(java.lang.String propertyName)
          Updates customizers based on the generator state.
 
Methods inherited from class jigcell.compare.objectiveui.ObjectiveInterface
createCustomizer, destroyCustomizer
 
Methods inherited from class jigcell.compare.ui.CustomizableInterface
createPopup, decorateCustomizer, getCompare, getInputDescription, getOutputDescription, hasMultipleViewSupport, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, setInputDescription, setMultipleViewSupport, setOutputDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

updating

protected boolean updating
Whether the interface is currently being updated


scriptDocument

protected javax.swing.text.Document scriptDocument
Script document


generator

protected ScriptEvaluationObjective generator
Generator

Constructor Detail

ScriptEvaluationInterface

public ScriptEvaluationInterface(IProgrammableDataGenerator generator)
Creates a new interface for an ScriptEvaluationObjective.

Parameters:
generator - Generator
Method Detail

changedUpdate

public void changedUpdate(javax.swing.event.DocumentEvent e)
Specified by:
changedUpdate in interface javax.swing.event.DocumentListener

insertUpdate

public void insertUpdate(javax.swing.event.DocumentEvent e)
Specified by:
insertUpdate in interface javax.swing.event.DocumentListener

removeUpdate

public void removeUpdate(javax.swing.event.DocumentEvent e)
Specified by:
removeUpdate in interface javax.swing.event.DocumentListener

updateInterface

public void updateInterface(java.lang.String propertyName)
Updates customizers based on the generator state.

Specified by:
updateInterface in interface ICustomizableInterface
Overrides:
updateInterface in class CustomizableInterface
Parameters:
propertyName - Name of the property that changed or null to indicate that all properties may have changed

createCustomizer

protected javax.swing.JComponent createCustomizer()
Generates a new customizer for the generator.

Specified by:
createCustomizer in class CustomizableInterface