|
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.EdgeAppearanceCalculator
public class EdgeAppearanceCalculator
This class calculates the appearance of an Edge. It holds a default value and a (possibly null) calculator for each visual attribute.
Constructor Summary | |
---|---|
EdgeAppearanceCalculator()
Creates a new EdgeAppearanceCalculator object. |
|
EdgeAppearanceCalculator(EdgeAppearanceCalculator toCopy)
Copy constructor. |
|
EdgeAppearanceCalculator(String name,
Properties eacProps,
String baseKey,
CalculatorCatalog catalog)
Creates a new EdgeAppearanceCalculator and immediately customizes it by calling applyProperties with the supplied arguments. |
Method Summary | |
---|---|
void |
applyProperties(String name,
Properties eacProps,
String baseKey,
CalculatorCatalog catalog)
DOCUMENT ME! |
void |
calculateEdgeAppearance(EdgeAppearance appr,
Edge edge,
CyNetwork network)
Using the rules defined by the default values and calculators in this object, compute an appearance for the requested Edge in the supplied CyNetwork. |
EdgeAppearance |
calculateEdgeAppearance(Edge edge,
CyNetwork network)
Using the rules defined by the default values and calculators in this object, compute an appearance for the requested Edge in the supplied CyNetwork. |
Color |
calculateEdgeColor(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
Font |
calculateEdgeFont(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
String |
calculateEdgeLabel(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
LineType |
calculateEdgeLineType(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
Arrow |
calculateEdgeSourceArrow(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
Arrow |
calculateEdgeTargetArrow(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
String |
calculateEdgeToolTip(Edge edge,
CyNetwork network)
Deprecated. Use calculateEdgeAppearance() instead. This method will be removed Sept. 2007. |
Object |
clone()
Create deep copy of the object. |
Object |
clone(String vsName)
Make deep copy of this object |
Calculator |
getCalculator(byte type)
Deprecated. |
Calculator |
getCalculator(VisualPropertyType type)
DOCUMENT ME! |
List<Calculator> |
getCalculators()
DOCUMENT ME! |
EdgeAppearance |
getDefaultAppearance()
DOCUMENT ME! |
Color |
getDefaultEdgeColor()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
Font |
getDefaultEdgeFont()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
Font |
getDefaultEdgeFontFace()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
float |
getDefaultEdgeFontSize()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
String |
getDefaultEdgeLabel()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
LineType |
getDefaultEdgeLineType()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
Arrow |
getDefaultEdgeSourceArrow()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
Arrow |
getDefaultEdgeTargetArrow()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
String |
getDefaultEdgeToolTip()
Deprecated. Use getDefaultAppearance() instead. This method will be removed Sept. 2007. |
String |
getDescription()
DOCUMENT ME! |
EdgeColorCalculator |
getEdgeColorCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeFontFaceCalculator |
getEdgeFontFaceCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeFontSizeCalculator |
getEdgeFontSizeCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeLabelCalculator |
getEdgeLabelCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeLineTypeCalculator |
getEdgeLineTypeCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeArrowCalculator |
getEdgeSourceArrowCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeArrowCalculator |
getEdgeTargetArrowCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
EdgeToolTipCalculator |
getEdgeToolTipCalculator()
Deprecated. Use getCalculator(type) instead. This method will be removed Sept. 2007. |
Properties |
getProperties(String baseKey)
DOCUMENT ME! |
void |
removeCalculator(byte type)
Deprecated. |
void |
removeCalculator(VisualPropertyType type)
DOCUMENT ME! |
void |
setCalculator(Calculator c)
DOCUMENT ME! |
void |
setDefaultAppearance(EdgeAppearance appr)
DOCUMENT ME! |
void |
setDefaultEdgeColor(Color c)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeFont(Font f)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeFontFace(Font f)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeFontSize(float f)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeLabel(String s)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeLineType(LineType lt)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeSourceArrow(Arrow a)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeTargetArrow(Arrow a)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setDefaultEdgeToolTip(String s)
Deprecated. Use setDefaultAppearance() instead. This method will be removed Sept. 2007. |
void |
setEdgeColorCalculator(EdgeColorCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeFontFaceCalculator(EdgeFontFaceCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeFontSizeCalculator(EdgeFontSizeCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeLabelCalculator(EdgeLabelCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeLineTypeCalculator(EdgeLineTypeCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeSourceArrowCalculator(EdgeArrowCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeTargetArrowCalculator(EdgeArrowCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
void |
setEdgeToolTipCalculator(EdgeToolTipCalculator c)
Deprecated. Use setCalculator(calc) instead. This method will be removed Sept. 2007. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeAppearanceCalculator()
public EdgeAppearanceCalculator(EdgeAppearanceCalculator toCopy)
public EdgeAppearanceCalculator(String name, Properties eacProps, String baseKey, CalculatorCatalog catalog)
Method Detail |
---|
public Object clone()
public EdgeAppearance calculateEdgeAppearance(Edge edge, CyNetwork network)
public void calculateEdgeAppearance(EdgeAppearance appr, Edge edge, CyNetwork network)
public EdgeAppearance getDefaultAppearance()
public void setDefaultAppearance(EdgeAppearance appr)
appr
- DOCUMENT ME!public String getDescription()
public void applyProperties(String name, Properties eacProps, String baseKey, CalculatorCatalog catalog)
name
- DOCUMENT ME!eacProps
- DOCUMENT ME!baseKey
- DOCUMENT ME!catalog
- DOCUMENT ME!public Properties getProperties(String baseKey)
baseKey
- DOCUMENT ME!
public EdgeColorCalculator getEdgeColorCalculator()
public EdgeLineTypeCalculator getEdgeLineTypeCalculator()
public EdgeArrowCalculator getEdgeSourceArrowCalculator()
public EdgeArrowCalculator getEdgeTargetArrowCalculator()
public EdgeLabelCalculator getEdgeLabelCalculator()
public EdgeFontFaceCalculator getEdgeFontFaceCalculator()
public EdgeFontSizeCalculator getEdgeFontSizeCalculator()
public EdgeToolTipCalculator getEdgeToolTipCalculator()
public void setDefaultEdgeColor(Color c)
public void setDefaultEdgeLineType(LineType lt)
public void setDefaultEdgeSourceArrow(Arrow a)
public void setDefaultEdgeTargetArrow(Arrow a)
public void setDefaultEdgeLabel(String s)
public void setDefaultEdgeFont(Font f)
public void setDefaultEdgeFontFace(Font f)
public void setDefaultEdgeFontSize(float f)
public void setDefaultEdgeToolTip(String s)
public Color getDefaultEdgeColor()
public LineType getDefaultEdgeLineType()
public Arrow getDefaultEdgeSourceArrow()
public Arrow getDefaultEdgeTargetArrow()
public String getDefaultEdgeLabel()
public Font getDefaultEdgeFont()
public Font getDefaultEdgeFontFace()
public float getDefaultEdgeFontSize()
public String getDefaultEdgeToolTip()
public Color calculateEdgeColor(Edge edge, CyNetwork network)
public LineType calculateEdgeLineType(Edge edge, CyNetwork network)
public Arrow calculateEdgeSourceArrow(Edge edge, CyNetwork network)
public Arrow calculateEdgeTargetArrow(Edge edge, CyNetwork network)
public String calculateEdgeLabel(Edge edge, CyNetwork network)
public Font calculateEdgeFont(Edge edge, CyNetwork network)
public String calculateEdgeToolTip(Edge edge, CyNetwork network)
public void setEdgeColorCalculator(EdgeColorCalculator c)
public void setEdgeLineTypeCalculator(EdgeLineTypeCalculator c)
public void setEdgeSourceArrowCalculator(EdgeArrowCalculator c)
public void setEdgeTargetArrowCalculator(EdgeArrowCalculator c)
public void setEdgeLabelCalculator(EdgeLabelCalculator c)
public void setEdgeFontFaceCalculator(EdgeFontFaceCalculator c)
public void setEdgeFontSizeCalculator(EdgeFontSizeCalculator c)
public void setEdgeToolTipCalculator(EdgeToolTipCalculator c)
public Object clone(String vsName)
@Deprecated public Calculator getCalculator(byte type)
type
-
public Calculator getCalculator(VisualPropertyType type)
type
- DOCUMENT ME!
public List<Calculator> getCalculators()
@Deprecated public void removeCalculator(byte type)
type
- public void removeCalculator(VisualPropertyType type)
type
- DOCUMENT ME!public void setCalculator(Calculator c)
c
- DOCUMENT ME!
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |