Class AbstractVisualMappingFunction<K,V>

Type Parameters:
K - Generic type of the attribute mapped.
V - Generic type of the VisualProperty used in this mapping.
All Implemented Interfaces:

public abstract class AbstractVisualMappingFunction<K,V> extends Object implements VisualMappingFunction<K,V>
A base class for visual mapping functions where all fields are immutable.

Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Module: vizmap-api

To use this in your app, include the following dependency in your POM:

  • Field Details

    • columnName

      protected final String columnName
      Mapping attribute name.
    • columnType

      protected final Class<K> columnType
      Type of attribute.
    • vp

      protected final VisualProperty<V> vp
      Visual Property used in this mapping.
    • eventHelper

      protected final CyEventHelper eventHelper
  • Constructor Details

    • AbstractVisualMappingFunction

      public AbstractVisualMappingFunction(String columnName, Class<K> columnType, VisualProperty<V> vp, CyEventHelper eventHelper)
      Constructs this AbstractVisualMappingFunction.
      columnName - Mapping attribute column name.
      columnType - Type of attribute column.
      vp - Visual Property used in this mapping.
  • Method Details