public interface VisualMappingFunctionFactory
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 | Method and Description |
---|---|
<K,V> VisualMappingFunction<K,V> |
createVisualMappingFunction(String attributeName,
Class<K> attrValueType,
VisualProperty<V> vp)
Create a new VisualMappingFunction.
|
Class<?> |
getMappingFunctionType()
Returns the type of this VisualMappingFunctionFactory.
|
<K,V> VisualMappingFunction<K,V> createVisualMappingFunction(String attributeName, Class<K> attrValueType, VisualProperty<V> vp)
K
- Data type of controlling attribute.V
- Data type of VisualProperty, such as
Double, String, etc.attributeName
- Controlling attribute name. This is a name of the column in a
data table.attrValueType
- Data type of controlling attribute.vp
- VisualProperty used in the new mappingClass<?> getMappingFunctionType()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.