V - the type of the Visual Property.public interface DiscreteMappingGenerator<V>
Module: vizmap-gui-api
To use this in your app, include the following dependency in your POM:
<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>vizmap-gui-api</artifactId>
</dependency>| Modifier and Type | Method and Description | 
|---|---|
| <T> Map<T,V> | generateMap(Set<T> attributeSet)For a given set of attribute values, create discrete mapping. | 
| Class<V> | getDataType()Returns the type of the visual property. | 
<T> Map<T,V> generateMap(Set<T> attributeSet)
T - the type of the attribute values.attributeSet - the set of attribute values.Copyright 2011 Cytoscape Consortium. All rights reserved.