|
Cytoscape 2.5.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.OldStyleCalculatorIO
public class OldStyleCalculatorIO
This class provides methods to read property keys in the old vizmap format, construct suitable calculator objects, and install them in a supplied CalculatorCatalog. All of the calculators will have the name of the static member variable 'calcName', except that the borderColor calculator, the node height calculator, and the targetDecoration calculator will have a '2' appended to the name. (This is because in the old system, node.fillColor and node.borderColor were separate types, but are both NodeColorCalculators in the new system, and similarly with the node size and edge arrow calculators). In addition to the attribute specific calculators, this class will create a NodeAppearance and EdgeAppearanceCalculator, also named 'calcName', and set them to use the attribute calculators defined here.
Field Summary | |
---|---|
static String |
calcName
Deprecated. |
static boolean |
loaded
Deprecated. |
static String |
packageHeader
Deprecated. |
Constructor Summary | |
---|---|
OldStyleCalculatorIO()
Deprecated. |
Method Summary | |
---|---|
static void |
checkForCalculators(Properties props,
CalculatorCatalog catalog)
Deprecated. Use CalculatorIO instead. Will be removed 10/2007 |
static void |
loadCalculators(Properties props,
CalculatorCatalog catalog)
Deprecated. Use CalculatorIO instead. Will be removed 10/2007 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String packageHeader
public static String calcName
public static boolean loaded
Constructor Detail |
---|
public OldStyleCalculatorIO()
Method Detail |
---|
public static void checkForCalculators(Properties props, CalculatorCatalog catalog)
props
- a properties object, should come from cytoscape.propscatalog
- the catalog in which to store any found visual mappingspublic static void loadCalculators(Properties props, CalculatorCatalog catalog)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |