Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.view.vizmap.mappings
Interface DiscreteMapping<K,V>

Type Parameters:
K -
V -
All Superinterfaces:
VisualMappingFunction<K,V>

public interface DiscreteMapping<K,V>
extends VisualMappingFunction<K,V>


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
static String DISCRETE
           
 
Method Summary
 Map<K,V> getAll()
          Gets all map values.
 V getMapValue(K key)
          Gets Value for Specified Key.
<T extends V>
void
putAll(Map<K,T> map)
          Adds All Members of Specified Map.
<T extends V>
void
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

DISCRETE

static final String DISCRETE
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.

getAll

Map<K,V> getAll()
Gets all map values.

Returns:
all map values.

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.