Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual.mappings.discrete
Class ValueChangeListener

java.lang.Object
  extended by cytoscape.visual.mappings.discrete.ValueChangeListener
All Implemented Interfaces:
ItemListener, EventListener

public class ValueChangeListener
extends Object
implements ItemListener

Listens to a ValueDisplayer and updates the underlying DiscreteMapping class.


Constructor Summary
ValueChangeListener(DiscreteMapping dm, Object key)
          Constructs a ValueChangeListener.
 
Method Summary
 void itemStateChanged(ItemEvent e)
          The ValueDisplayer being reflected by this listener was changed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueChangeListener

public ValueChangeListener(DiscreteMapping dm,
                           Object key)
Constructs a ValueChangeListener.

Method Detail

itemStateChanged

public void itemStateChanged(ItemEvent e)
The ValueDisplayer being reflected by this listener was changed. Make the appropriate changes to the underlying data in the mapper.

Specified by:
itemStateChanged in interface ItemListener

www.cytoscape.org