jigcell.compare.objectiveui
Class BooleanRelationalInterface

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

public class BooleanRelationalInterface
extends ObjectiveInterface
implements java.awt.event.ItemListener

Interface for a BooleanRelationalObjective.

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

Author:
Nicholas Allen

Field Summary
protected  BooleanRelationalObjective generator
          Generator
protected static java.lang.String LABEL_EDITRELATION
          Relation name label
protected  ListComboBoxModel relationsModel
          Relations box model
 
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
BooleanRelationalInterface(IProgrammableDataGenerator generator)
          Creates a new interface for a BooleanRelationalObjective.
 
Method Summary
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_EDITRELATION

protected static final java.lang.String LABEL_EDITRELATION
Relation name label

See Also:
Constant Field Values

generator

protected BooleanRelationalObjective generator
Generator


relationsModel

protected ListComboBoxModel relationsModel
Relations box model

Constructor Detail

BooleanRelationalInterface

public BooleanRelationalInterface(IProgrammableDataGenerator generator)
Creates a new interface for a BooleanRelationalObjective.

Parameters:
generator - Generator
Method Detail

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