jigcell.compare.transformui
Class InputInterface

java.lang.Object
  extended by jigcell.compare.ui.CustomizableInterface
      extended by jigcell.compare.transformui.TransformInterface
          extended by jigcell.compare.transformui.InputInterface
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.util.EventListener, ICustomizableInterface

public class InputInterface
extends TransformInterface
implements java.awt.event.ItemListener

Interface for an InputTransform.

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

Author:
Nicholas Allen

Field Summary
protected  InputTransform generator
          Generator
protected static java.lang.String LABEL_NEXTSTATEMENT
          Label for next statement
protected static java.lang.String LABEL_RESULTNAME
          Label for the result name
protected static java.lang.String LABEL_RUNNABLE
          Label for runnable state
protected  javax.swing.text.Document resultNameDocument
          Inputting name of the result to publish
protected  ListComboBoxModel statementModel
          Model for transform list
 
Fields inherited from class jigcell.compare.transformui.TransformInterface
constraints, layout, MENUITEM_DELETE, MENUITEM_INSERTAFTER, MENUITEM_INSERTBEFORE, oldPrevious
 
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
InputInterface(IProgrammableDataGenerator generator)
          Creates a new interface for an InputTransform.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  javax.swing.JComponent createCustomizer()
          Generates a new customizer for the generator.
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void updateInterface(java.lang.String propertyName)
          Updates customizers based on the generator state.
 
Methods inherited from class jigcell.compare.transformui.TransformInterface
createCustomizer, createPopup, destroyCustomizer, hasMultipleViewSupport
 
Methods inherited from class jigcell.compare.ui.CustomizableInterface
decorateCustomizer, getCompare, getInputDescription, getOutputDescription, 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

LABEL_NEXTSTATEMENT

protected static final java.lang.String LABEL_NEXTSTATEMENT
Label for next statement

See Also:
Constant Field Values

LABEL_RESULTNAME

protected static final java.lang.String LABEL_RESULTNAME
Label for the result name

See Also:
Constant Field Values

LABEL_RUNNABLE

protected static final java.lang.String LABEL_RUNNABLE
Label for runnable state

See Also:
Constant Field Values

resultNameDocument

protected javax.swing.text.Document resultNameDocument
Inputting name of the result to publish


generator

protected InputTransform generator
Generator


statementModel

protected ListComboBoxModel statementModel
Model for transform list

Constructor Detail

InputInterface

public InputInterface(IProgrammableDataGenerator generator)
Creates a new interface for an InputTransform.

Parameters:
generator - Generator
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class TransformInterface

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

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 TransformInterface
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