Cytoscape 2.8.0 API

cytoscape.visual.mappings.discrete
Class RandomColorListener

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

public class RandomColorListener
extends Object
implements ActionListener

User wants to Seed the Discrete Mapper with Random Color Values.


Constructor Summary
RandomColorListener(DiscreteMapping dm, TreeSet mappedKeys)
          Constructs a ValueChangeListener.
 
Method Summary
 void actionPerformed(ActionEvent e)
          User wants to Seed the Discrete Mapper with Random Color Values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomColorListener

public RandomColorListener(DiscreteMapping dm,
                           TreeSet mappedKeys)
Constructs a ValueChangeListener.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
User wants to Seed the Discrete Mapper with Random Color Values.

Specified by:
actionPerformed in interface ActionListener

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.