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>
An interface describing a continuous mapping from attribute value to visual property.
Fully Supported Node Visual Properties
BasicVisualLexicon.NODE_FILL_COLORBasicVisualLexicon.NODE_BORDER_PAINTBasicVisualLexicon.NODE_BORDER_WIDTHBasicVisualLexicon.NODE_BORDER_TRANSPARENCYBasicVisualLexicon.NODE_LABEL_COLORBasicVisualLexicon.NODE_LABEL_FONT_SIZEBasicVisualLexicon.NODE_LABEL_WIDTHBasicVisualLexicon.NODE_LABEL_TRANSPARENCYBasicVisualLexicon.NODE_SIZEBasicVisualLexicon.NODE_WIDTHBasicVisualLexicon.NODE_HEIGHTBasicVisualLexicon.NODE_TRANSPARENCYBasicVisualLexicon.NODE_LABEL_FONT_FACE
Fully Supported Edge Visual Properties
BasicVisualLexicon.EDGE_PAINTBasicVisualLexicon.EDGE_TRANSPARENCYBasicVisualLexicon.EDGE_LABELBasicVisualLexicon.EDGE_LABEL_COLORBasicVisualLexicon.EDGE_LABEL_TRANSPARENCYBasicVisualLexicon.EDGE_WIDTHBasicVisualLexicon.EDGE_LABEL_FONT_SIZEBasicVisualLexicon.EDGE_LABEL_WIDTHBasicVisualLexicon.EDGE_LINE_TYPEBasicVisualLexicon.EDGE_BENDBasicVisualLexicon.EDGE_SOURCE_ARROW_SHAPEBasicVisualLexicon.EDGE_TARGET_ARROW_SHAPEBasicVisualLexicon.EDGE_TOOLTIP
Partially Supported Node 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoint(K value, BoundaryRangeValues<V> brv) Adds a New Data Point.Gets all Data Points.getPoint(int index) Gets Specified Point.intGets Total Point Count.voidremovePoint(int index) Removes a Point from the List.Methods inherited from interface org.cytoscape.view.vizmap.VisualMappingFunction
apply, getMappedValue, getMappingColumnName, getMappingColumnType, getVisualProperty
-
Field Details
-
CONTINUOUS
A label string for this mapping.- See Also:
-
-
Method Details
-
getAllPoints
List<ContinuousMappingPoint<K,V>> getAllPoints()Gets all Data Points.- Returns:
- List of ContinuousMappingPoint objects.
-
addPoint
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
Gets Specified Point.- Parameters:
index- Index Value.- Returns:
- ContinuousMappingPoint.
-