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 associatedBoundaryRangeValues
.
public final class ContinuousMappingPoint<K,V> extends Object
Encapsulates a ContinuousMapping Point with a single point value and associatedBoundaryRangeValues
.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>
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
Constructors Constructor Description ContinuousMappingPoint(K value, BoundaryRangeValues<V> range, ContinuousMapping<K,V> parentMapping, CyEventHelper eventHelper)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundaryRangeValues<V>
getRange()
Gets BoundaryRangeValues.K
getValue()
Gets Point Value.void
setRange(BoundaryRangeValues<V> range)
Sets BoundaryRangeValues.void
setValue(K value)
Sets Point Value.
-
-
-
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.
-
-