Cytoscape 2.8.0 API

cytoscape.visual.mappings
Class InterpolatorFactory

java.lang.Object
  extended by cytoscape.visual.mappings.InterpolatorFactory

public class InterpolatorFactory
extends Object

Provides static factory methods for constructing known interpolators from a recognized name, for example from a properties object.


Constructor Summary
InterpolatorFactory()
           
 
Method Summary
static String getName(Interpolator fInt)
          Given an Interpolator, returns an identifying name as recognized by the newInterpolator method.
static Interpolator newInterpolator(String typeName)
          Attempt to construct one of the standard interpolators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpolatorFactory

public InterpolatorFactory()
Method Detail

newInterpolator

public static Interpolator newInterpolator(String typeName)
Attempt to construct one of the standard interpolators. The argument should be the simple class name of a known interpolator (i.e., no package information).


getName

public static String getName(Interpolator fInt)
Given an Interpolator, returns an identifying name as recognized by the newInterpolator method. null will be returned if the argument is null or of an unrecognized class type.


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.