Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

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. null will be returned if the argument is null or of an unrecognized class type.
static Interpolator newInterpolator(String typeName)
          Attempt to construct one of the standard interpolators.
 
Methods inherited from class java.lang.Object
equals, 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.


www.cytoscape.org