jigcell.compare.objectiveui
Class WOSSInterface

java.lang.Object
  extended by jigcell.compare.ui.CustomizableInterface
      extended by jigcell.compare.objectiveui.ObjectiveInterface
          extended by jigcell.compare.objectiveui.WOSSInterface
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.util.EventListener, ICustomizableInterface

public class WOSSInterface
extends ObjectiveInterface
implements java.awt.event.ActionListener, java.awt.event.ItemListener

Interface for a WOSSObjective.

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

Author:
Nicholas Allen

Field Summary
protected  WOSSObjective generator
          Generator
protected  ListComboBoxModel interpolationsModel
          Interpolations box model
protected static java.lang.String LABEL_EDITDIMENSIONWEIGHTS
          Label used to indicate dimension weights will be edited
protected static java.lang.String LABEL_EDITELEMENTWEIGHTS
          Label used to indicate element weights will be edited
protected static java.lang.String LABEL_EDITINTERPOLATION
          Interpolation name label
 
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
WOSSInterface(IProgrammableDataGenerator generator)
          Creates a new interface for a WOSSObjective.
 
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.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

LABEL_EDITDIMENSIONWEIGHTS

protected static final java.lang.String LABEL_EDITDIMENSIONWEIGHTS
Label used to indicate dimension weights will be edited

See Also:
Constant Field Values

LABEL_EDITELEMENTWEIGHTS

protected static final java.lang.String LABEL_EDITELEMENTWEIGHTS
Label used to indicate element weights will be edited

See Also:
Constant Field Values

LABEL_EDITINTERPOLATION

protected static final java.lang.String LABEL_EDITINTERPOLATION
Interpolation name label

See Also:
Constant Field Values

interpolationsModel

protected ListComboBoxModel interpolationsModel
Interpolations box model


generator

protected WOSSObjective generator
Generator

Constructor Detail

WOSSInterface

public WOSSInterface(IProgrammableDataGenerator generator)
Creates a new interface for a WOSSObjective.

Parameters:
generator - Generator
Method Detail

actionPerformed

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

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