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
.
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 Summary
ConstructorDescriptionContinuousMappingPoint(K value, BoundaryRangeValues<V> range, ContinuousMapping<K,V> parentMapping, CyEventHelper eventHelper)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetRange()
Gets BoundaryRangeValues.getValue()
Gets Point Value.void
setRange(BoundaryRangeValues<V> range)
Sets BoundaryRangeValues.void
Sets Point Value.
-
Constructor Details
-
ContinuousMappingPoint
public ContinuousMappingPoint(K value, BoundaryRangeValues<V> range, ContinuousMapping<K,V> parentMapping, CyEventHelper eventHelper)Constructor.- Parameters:
value
- double.range
- BoundaryRangeValues object.
-
-
Method Details
-
getValue
Gets Point Value.- Returns:
- double value.
-
setValue
Sets Point Value.- Parameters:
value
- double value.
-
getRange
Gets BoundaryRangeValues.- Returns:
- BoundaryRangeValues Object.
-
setRange
Sets BoundaryRangeValues.- Parameters:
range
- BoundaryRangeValues Object.
-