K - Generic type of the attribute mapped.V - Generic type of the VisualProperty used in this mapping.public interface DiscreteMapping<K,V> extends VisualMappingFunction<K,V>
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_VISIBLEFully 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_TOOLTIPPartially Supported 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>| Modifier and Type | Field and Description |
|---|---|
static String |
DISCRETE
A label string describing the mapping.
|
| Modifier and Type | Method and Description |
|---|---|
Map<K,V> |
getAll()
Gets all map values.
|
V |
getMapValue(K key)
Gets Value for Specified Key.
|
<T extends V> |
putAll(Map<K,T> map)
Adds All Members of Specified Map.
|
<T extends V> |
putMapValue(K key,
T value)
Puts New Key/Value in Map.
|
apply, getMappedValue, getMappingColumnName, getMappingColumnType, getVisualPropertystatic final String DISCRETE
V getMapValue(K key)
key - String Key.<T extends V> void putMapValue(K key, T value)
key - Key Object.value - Value Object.<T extends V> void putAll(Map<K,T> map)
map - Map.Copyright 2011-2015 Cytoscape Consortium. All rights reserved.