|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- Generic type of the attribute mapped.V
- Generic type of the VisualProperty used in this mapping.public interface DiscreteMapping<K,V>
An interface describing a discrete mapping from attribute value to visual property.
Field Summary | |
---|---|
static String |
DISCRETE
A label string describing the mapping. |
Method Summary | ||
---|---|---|
Map<K,V> |
getAll()
Gets all map values. |
|
V |
getMapValue(K key)
Gets Value for Specified Key. |
|
|
putAll(Map<K,T> map)
Adds All Members of Specified Map. |
|
|
putMapValue(K key,
T value)
Puts New Key/Value in Map. |
Methods inherited from interface org.cytoscape.view.vizmap.VisualMappingFunction |
---|
apply, getMappingColumnName, getMappingColumnType, getMappingTable, getVisualProperty |
Field Detail |
---|
static final String DISCRETE
Method Detail |
---|
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.Map<K,V> getAll()
|
Cytoscape 3.0.0-beta1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |