|
Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.visual.calculators.CalculatorFactory
public class CalculatorFactory
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.
Constructor Summary | |
---|---|
CalculatorFactory()
|
Method Summary | |
---|---|
static String |
getPropertyLabel(byte type)
Returns the property label for calculators of a given type. |
static String |
getTypeName(byte type)
Returns the type name for calculators of a given type. |
static Calculator |
newCalculator(String name,
Properties calcProps,
String baseKey)
Attempt to construct an instance of Calculator as defined by the supplied arguments. |
static Calculator |
newCalculator(String name,
Properties calcProps,
String baseKey,
String intClassName)
Deprecated. Use othe newCalculator - we don't need the base interface class name any more. Will be removed 10/2007. |
static Calculator |
newDefaultCalculator(byte type,
String calcName,
ObjectMapping mapper)
Creates a new default Calculator based on type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalculatorFactory()
Method Detail |
---|
public static Calculator newCalculator(String name, Properties calcProps, String baseKey, String intClassName)
public static Calculator newCalculator(String name, Properties calcProps, String baseKey)
public static Calculator newDefaultCalculator(byte type, String calcName, ObjectMapping mapper)
public static String getTypeName(byte type)
public static String getPropertyLabel(byte type)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |