|
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.CalculatorIO
public class CalculatorIO
This class defines static methods for reading calculator definitions from a properties object and installing them into a CalculatorCatalog, and for constructing a properties object that describes all the calculators in a CalculatorCatalog.
Field Summary | |
---|---|
static String |
dirHeader
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeArrowBaseKey
Deprecated. Will become private 10/2007. Use VisualPropertyType.getPropertyLabel() instead. |
static String |
edgeArrowClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeColorBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
edgeColorClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeFontFaceBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
edgeFontFaceClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeFontSizeBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
edgeFontSizeClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeLabelBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
edgeLabelClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeLineTypeBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
edgeLineTypeClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
edgeToolTipBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
edgeToolTipClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeColorBaseKey
Deprecated. Will become private 10/2007. Use VisualPropertyType.getPropertyLabel() instead. |
static String |
nodeColorClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeFontFaceBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
nodeFontFaceClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeFontSizeBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
nodeFontSizeClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeLabelBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
nodeLabelClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeLineTypeBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
nodeLineTypeClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeShapeBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
nodeShapeClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeSizeBaseKey
Deprecated. Will become private 10/2007. Use VisualPropertyType.getPropertyLabel() instead. |
static String |
nodeSizeClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
static String |
nodeToolTipBaseKey
Deprecated. Use Calculator.getPropertyLabel(). Will be removed 10/2007 |
static String |
nodeToolTipClassName
Deprecated. Implement this yourself. Will be removed 10/2007 |
Constructor Summary | |
---|---|
CalculatorIO()
|
Method Summary | |
---|---|
static Properties |
getProperties(CalculatorCatalog catalog)
Given a CalculatorCatalog, assembles a Properties object representing all of the calculators contained in the catalog. |
static void |
loadCalculators(Properties props,
CalculatorCatalog catalog)
Equivalent to loadCalculators(props, catalog, true); |
static void |
loadCalculators(Properties props,
CalculatorCatalog catalog,
boolean overWrite)
Loads calculators from their description in a Properties object into a supplied CalculatorCatalog object. |
static void |
removeDuplicate(Calculator c,
CalculatorCatalog catalog)
Deprecated. WTF? Use CalculatorCatalog.removeCalculator() Will be removed 10/2007 |
static void |
renameAsNeeded(Calculator c,
CalculatorCatalog catalog)
Given a Calculator of a given type and a CalculatorCatalog, checks for an existing catalog with the same name and type. |
static void |
storeCatalog(CalculatorCatalog catalog,
File outFile)
Writes the contents of a CalculatorCatalog to the specified file as a properties file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final String nodeColorBaseKey
@Deprecated public static final String nodeSizeBaseKey
@Deprecated public static final String edgeArrowBaseKey
public static final String dirHeader
public static final String nodeColorClassName
public static final String nodeLineTypeBaseKey
public static final String nodeLineTypeClassName
public static final String nodeShapeBaseKey
public static final String nodeShapeClassName
public static final String nodeSizeClassName
public static final String nodeLabelBaseKey
public static final String nodeLabelClassName
public static final String nodeToolTipBaseKey
public static final String nodeToolTipClassName
public static final String nodeFontFaceBaseKey
public static final String nodeFontFaceClassName
public static final String nodeFontSizeBaseKey
public static final String nodeFontSizeClassName
public static final String edgeColorBaseKey
public static final String edgeColorClassName
public static final String edgeLineTypeBaseKey
public static final String edgeLineTypeClassName
public static final String edgeArrowClassName
public static final String edgeLabelBaseKey
public static final String edgeLabelClassName
public static final String edgeToolTipBaseKey
public static final String edgeToolTipClassName
public static final String edgeFontFaceBaseKey
public static final String edgeFontFaceClassName
public static final String edgeFontSizeBaseKey
public static final String edgeFontSizeClassName
Constructor Detail |
---|
public CalculatorIO()
Method Detail |
---|
public static void storeCatalog(CalculatorCatalog catalog, File outFile)
public static Properties getProperties(CalculatorCatalog catalog)
public static void loadCalculators(Properties props, CalculatorCatalog catalog)
public static void loadCalculators(Properties props, CalculatorCatalog catalog, boolean overWrite)
public static void renameAsNeeded(Calculator c, CalculatorCatalog catalog)
public static void removeDuplicate(Calculator c, CalculatorCatalog catalog)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |