cytoscape.visual.calculators
Class AbstractCalculator.CalculatorUI.AttributeSelectorListener
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 JDialognetwork
- passed to the mapping to get data values for the new
attributemapIndex
- 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
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChanged
in interface ItemListener
Copyright 2010 Cytoscape Consortium. All rights reserved.