Class ContinuousMappingPoint<K,V>

java.lang.Object
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.

Module: vizmap-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>vizmap-api</artifactId>
</dependency>
  • Constructor Details

  • Method Details

    • 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.