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_COLOR
BasicVisualLexicon.NODE_BORDER_LINE_TYPE
BasicVisualLexicon.NODE_BORDER_PAINT
BasicVisualLexicon.NODE_BORDER_WIDTH
BasicVisualLexicon.NODE_BORDER_TRANSPARENCY
BasicVisualLexicon.NODE_LABEL
BasicVisualLexicon.NODE_LABEL_COLOR
BasicVisualLexicon.NODE_LABEL_FONT_FACE
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_SHAPE
BasicVisualLexicon.NODE_TOOLTIP
BasicVisualLexicon.NODE_LABEL_FONT_FACE
BasicVisualLexicon.NODE_NESTED_NETWORK_IMAGE_VISIBLE
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_FONT_FACE
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 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, getVisualProperty
static 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.