cytoscape.visual.mappings
Class InterpolatorFactory
java.lang.Object
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.
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. |
InterpolatorFactory
public InterpolatorFactory()
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.