cytoscape.visual.mappings.discrete
Class ValueChangeListener
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueChangeListener
public ValueChangeListener(DiscreteMapping dm,
Object key)
- Constructs a ValueChangeListener.
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