Interface ContinuousMapping<K,V>
-
- Type Parameters:
K
- Generic type of the attribute mapped.V
- Generic type of the VisualProperty used in this mapping.
- All Superinterfaces:
VisualMappingFunction<K,V>
public interface ContinuousMapping<K,V> extends VisualMappingFunction<K,V>
An interface describing a continuous mapping from attribute value to visual property.
Fully Supported Node Visual Properties
BasicVisualLexicon.NODE_FILL_COLOR
BasicVisualLexicon.NODE_BORDER_PAINT
BasicVisualLexicon.NODE_BORDER_WIDTH
BasicVisualLexicon.NODE_BORDER_TRANSPARENCY
BasicVisualLexicon.NODE_LABEL_COLOR
BasicVisualLexicon.NODE_LABEL_FONT_SIZE
BasicVisualLexicon.NODE_LABEL_WIDTH
BasicVisualLexicon.NODE_LABEL_TRANSPARENCY
BasicVisualLexicon.NODE_SIZE
BasicVisualLexicon.NODE_WIDTH
BasicVisualLexicon.NODE_HEIGHT
BasicVisualLexicon.NODE_TRANSPARENCY
BasicVisualLexicon.NODE_LABEL_FONT_FACE
Fully Supported Edge Visual Properties
BasicVisualLexicon.EDGE_PAINT
BasicVisualLexicon.EDGE_TRANSPARENCY
BasicVisualLexicon.EDGE_LABEL
BasicVisualLexicon.EDGE_LABEL_COLOR
BasicVisualLexicon.EDGE_LABEL_TRANSPARENCY
BasicVisualLexicon.EDGE_WIDTH
BasicVisualLexicon.EDGE_LABEL_FONT_SIZE
BasicVisualLexicon.EDGE_LABEL_WIDTH
BasicVisualLexicon.EDGE_LINE_TYPE
BasicVisualLexicon.EDGE_BEND
BasicVisualLexicon.EDGE_SOURCE_ARROW_SHAPE
BasicVisualLexicon.EDGE_TARGET_ARROW_SHAPE
BasicVisualLexicon.EDGE_TOOLTIP
Partially Supported Node Visual Properties
BasicVisualLexicon.NODE_SHAPE
BasicVisualLexicon.NODE_LABEL
BasicVisualLexicon.NODE_TOOLTIP
BasicVisualLexicon.NODE_BORDER_LINE_TYPE
BasicVisualLexicon.NODE_LABEL_FONT_FACE
BasicVisualLexicon.NODE_NESTED_NETWORK_IMAGE_VISIBLE
Partially Supported Edge Visual Properties
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 (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTINUOUS
A label string for this mapping.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPoint(K value, BoundaryRangeValues<V> brv)
Adds a New Data Point.List<ContinuousMappingPoint<K,V>>
getAllPoints()
Gets all Data Points.ContinuousMappingPoint<K,V>
getPoint(int index)
Gets Specified Point.int
getPointCount()
Gets Total Point Count.void
removePoint(int index)
Removes a Point from the List.-
Methods inherited from interface org.cytoscape.view.vizmap.VisualMappingFunction
apply, getMappedValue, getMappingColumnName, getMappingColumnType, getVisualProperty
-
-
-
-
Field Detail
-
CONTINUOUS
static final String CONTINUOUS
A label string for this mapping.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllPoints
List<ContinuousMappingPoint<K,V>> getAllPoints()
Gets all Data Points.- Returns:
- List of ContinuousMappingPoint objects.
-
addPoint
void addPoint(K value, BoundaryRangeValues<V> brv)
Adds a New Data Point.
-
removePoint
void removePoint(int index)
Removes a Point from the List.- Parameters:
index
- The index of the Point to remove.
-
getPointCount
int getPointCount()
Gets Total Point Count.- Returns:
- the total point count.
-
getPoint
ContinuousMappingPoint<K,V> getPoint(int index)
Gets Specified Point.- Parameters:
index
- Index Value.- Returns:
- ContinuousMappingPoint.
-
-