Cytoscape 2.8.0 API

cytoscape.visual.calculators
Class AbstractCalculator.CalculatorUI.AttributeSelectorListener

java.lang.Object
  extended by cytoscape.visual.calculators.AbstractCalculator.CalculatorUI.AttributeSelectorListener
All Implemented Interfaces:
ItemListener, EventListener
Enclosing class:
AbstractCalculator.CalculatorUI

protected class AbstractCalculator.CalculatorUI.AttributeSelectorListener
extends Object
implements ItemListener

AttributeSelectorListener listens for events on the JComboBoxes that select the controlling attribute for mappers contained in each calculator.


Constructor Summary
protected AbstractCalculator.CalculatorUI.AttributeSelectorListener(JDialog parent, CyNetwork network, int mapIndex, int yPos, JPanel mapperUI)
          Constructs an AttributeSelectorListener for the ObjectMapping at index mapIndex.
 
Method Summary
 void itemStateChanged(ItemEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCalculator.CalculatorUI.AttributeSelectorListener

protected AbstractCalculator.CalculatorUI.AttributeSelectorListener(JDialog parent,
                                                                    CyNetwork network,
                                                                    int mapIndex,
                                                                    int yPos,
                                                                    JPanel mapperUI)
Constructs an AttributeSelectorListener for the ObjectMapping at index mapIndex.

Parameters:
parent - parent JDialog
network - passed to the mapping to get data values for the new attribute
mapIndex - Index of the mapping in the AbstractCalculator.mappings Vector to report changes in the selected attribute to.
yPos - Position to add the mapping UI into master GBG when updating mapping UI.
mapperUI - Current mapper UI panel
Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent e)
Specified by:
itemStateChanged in interface ItemListener

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.