Cytoscape 2.8.0 API

cytoscape.visual.mappings.discrete
Class DiscreteRangeCalculator<T,V>

java.lang.Object
  extended by cytoscape.visual.mappings.discrete.DiscreteRangeCalculator<T,V>

public class DiscreteRangeCalculator<T,V>
extends Object

Range Calculator for the Discrete Mapper.


Constructor Summary
DiscreteRangeCalculator(SortedMap<T,V> map, String attrName)
          Constructor.
 
Method Summary
 V calculateRangeValue(Map<String,Object> attrBundle)
          Calculates Range Value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscreteRangeCalculator

public DiscreteRangeCalculator(SortedMap<T,V> map,
                               String attrName)
Constructor.

Parameters:
map - Discrete Map.
attrName - Controlling Attribute Name.
Method Detail

calculateRangeValue

public V calculateRangeValue(Map<String,Object> attrBundle)
Calculates Range Value.

Parameters:
attrBundle - Attribute Bundle.
Returns:
Object.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.