Interface DiscreteMapping<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 DiscreteMapping<K,V> extends VisualMappingFunction<K,V>
An interface describing a discrete mapping from attribute value to visual property.Fully Supported Node Visual Properties
BasicVisualLexicon.NODE_FILL_COLORBasicVisualLexicon.NODE_BORDER_LINE_TYPEBasicVisualLexicon.NODE_BORDER_PAINTBasicVisualLexicon.NODE_BORDER_WIDTHBasicVisualLexicon.NODE_BORDER_TRANSPARENCYBasicVisualLexicon.NODE_LABELBasicVisualLexicon.NODE_LABEL_COLORBasicVisualLexicon.NODE_LABEL_FONT_FACEBasicVisualLexicon.NODE_LABEL_FONT_SIZEBasicVisualLexicon.NODE_LABEL_WIDTHBasicVisualLexicon.NODE_LABEL_TRANSPARENCYBasicVisualLexicon.NODE_SIZEBasicVisualLexicon.NODE_WIDTHBasicVisualLexicon.NODE_HEIGHTBasicVisualLexicon.NODE_TRANSPARENCYBasicVisualLexicon.NODE_SHAPEBasicVisualLexicon.NODE_TOOLTIPBasicVisualLexicon.NODE_LABEL_FONT_FACEBasicVisualLexicon.NODE_NESTED_NETWORK_IMAGE_VISIBLE
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_FONT_FACEBasicVisualLexicon.EDGE_LABEL_WIDTHBasicVisualLexicon.EDGE_LINE_TYPEBasicVisualLexicon.EDGE_BENDBasicVisualLexicon.EDGE_SOURCE_ARROW_SHAPEBasicVisualLexicon.EDGE_TARGET_ARROW_SHAPEBasicVisualLexicon.EDGE_TOOLTIP
Partially Supported Visual Properties
Module:
vizmap-apiTo 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<K,V>getAll()Gets all map values.VgetMapValue(K key)Gets Value for Specified Key.<T extends V>
voidputAll(Map<K,T> map)Adds All Members of Specified Map.<T extends V>
voidputMapValue(K key, T value)Puts New Key/Value in Map.-
Methods inherited from interface org.cytoscape.view.vizmap.VisualMappingFunction
apply, getMappedValue, getMappingColumnName, getMappingColumnType, getVisualProperty
-
-
-
-
Field Detail
-
DISCRETE
static final String DISCRETE
A label string describing the mapping.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMapValue
V getMapValue(K key)
Gets Value for Specified Key.- Parameters:
key- String Key.- Returns:
- Object.
-
putMapValue
<T extends V> void putMapValue(K key, T value)
Puts New Key/Value in Map.- Parameters:
key- Key Object.value- Value Object.
-
putAll
<T extends V> void putAll(Map<K,T> map)
Adds All Members of Specified Map.- Parameters:
map- Map.
-
-