cytoscape.visual.calculators
Class CalculatorFactory
java.lang.Object
cytoscape.visual.calculators.CalculatorFactory
public class CalculatorFactory
- extends Object
This class provides static factory methods for constructing instances of
Calculators as specified by arguments and static methods for getting names
and labels based on calculator type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalculatorFactory
public CalculatorFactory()
newCalculator
public static Calculator newCalculator(String name,
Properties calcProps,
String baseKey)
- Creates a caclculator defined by the type identified by the ".visualPropertyType"
property in the calcProps argument. If that isn't found, it looks for a
".class" property and then tries the old-school approach using reflection to create
a calculator.
Copyright 2010 Cytoscape Consortium. All rights reserved.