Cytoscape 3.0.1 API

org.cytoscape.view.vizmap.mappings
Class ContinuousMappingPoint<K,V>

java.lang.Object
  extended by org.cytoscape.view.vizmap.mappings.ContinuousMappingPoint<K,V>
Type Parameters:
K - Generic type of the attribute mapped.
V - The generic type of associated BoundaryRangeValues.

public final class ContinuousMappingPoint<K,V>
extends Object

Encapsulates a ContinuousMapping Point with a single point value and associated BoundaryRangeValues.


Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Constructor Summary
ContinuousMappingPoint(K value, BoundaryRangeValues<V> range, ContinuousMapping<K,V> parentMapping, CyEventHelper eventHelper)
          Constructor.
 
Method Summary
 BoundaryRangeValues<V> getRange()
          Gets BoundaryRangeValues.
 K getValue()
          Gets Point Value.
 void setRange(BoundaryRangeValues<V> range)
          Sets BoundaryRangeValues.
 void setValue(K value)
          Sets Point Value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuousMappingPoint

public ContinuousMappingPoint(K value,
                              BoundaryRangeValues<V> range,
                              ContinuousMapping<K,V> parentMapping,
                              CyEventHelper eventHelper)
Constructor.

Parameters:
value - double.
range - BoundaryRangeValues object.
Method Detail

getValue

public K getValue()
Gets Point Value.

Returns:
double value.

setValue

public void setValue(K value)
Sets Point Value.

Parameters:
value - double value.

getRange

public BoundaryRangeValues<V> getRange()
Gets BoundaryRangeValues.

Returns:
BoundaryRangeValues Object.

setRange

public void setRange(BoundaryRangeValues<V> range)
Sets BoundaryRangeValues.

Parameters:
range - BoundaryRangeValues Object.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.