cytoscape.visual
Class EdgeAppearance
java.lang.Object
cytoscape.visual.EdgeAppearance
- All Implemented Interfaces:
- Cloneable
public class EdgeAppearance
- extends Object
- implements Cloneable
Objects of this class hold data describing the appearance of an Edge.
EdgeAppearance
public EdgeAppearance()
getColor
public Color getColor()
setColor
public void setColor(Color c)
getLineType
public LineType getLineType()
setLineType
public void setLineType(LineType lt)
getSourceArrow
public Arrow getSourceArrow()
setSourceArrow
public void setSourceArrow(Arrow a)
getTargetArrow
public Arrow getTargetArrow()
setTargetArrow
public void setTargetArrow(Arrow a)
getLabel
public String getLabel()
setLabel
public void setLabel(String s)
getToolTip
public String getToolTip()
setToolTip
public void setToolTip(String s)
getFont
public Font getFont()
setFont
public void setFont(Font f)
getFontSize
public float getFontSize()
setFontSize
public void setFontSize(float f)
getLabelColor
public Color getLabelColor()
setLabelColor
public void setLabelColor(Color c)
applyAppearance
public void applyAppearance(EdgeView edgeView,
boolean optimizer)
- Deprecated. Use applyAppearance(edgeView) instead - now we always optimize.
Will be removed 10/2007
applyAppearance
public void applyAppearance(EdgeView edgeView)
applyDefaultProperties
public void applyDefaultProperties(Properties eacProps,
String baseKey)
getDefaultProperties
public Properties getDefaultProperties(String baseKey)
getDescription
public String getDescription(String prefix)
getDescription
public String getDescription()
get
public Object get(byte type)
set
public void set(byte type,
Object c)
copy
public void copy(EdgeAppearance ea)
clone
public Object clone()
- Overrides:
clone
in class Object
applyBypass
public void applyBypass(Edge e)