Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual
Class EdgeAppearance

java.lang.Object
  extended by 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.


Constructor Summary
EdgeAppearance()
           
 
Method Summary
 void applyAppearance(EdgeView edgeView)
           
 void applyAppearance(EdgeView edgeView, boolean optimizer)
          Deprecated. Use applyAppearance(edgeView) instead - now we always optimize. Will be removed 10/2007
 void applyBypass(Edge e)
           
 void applyDefaultProperties(Properties eacProps, String baseKey)
           
 Object clone()
           
 void copy(EdgeAppearance ea)
           
 Object get(byte type)
           
 Color getColor()
           
 Properties getDefaultProperties(String baseKey)
           
 String getDescription()
           
 String getDescription(String prefix)
           
 Font getFont()
           
 float getFontSize()
           
 String getLabel()
           
 Color getLabelColor()
           
 LineType getLineType()
           
 Arrow getSourceArrow()
           
 Arrow getTargetArrow()
           
 String getToolTip()
           
 void set(byte type, Object c)
           
 void setColor(Color c)
           
 void setFont(Font f)
           
 void setFontSize(float f)
           
 void setLabel(String s)
           
 void setLabelColor(Color c)
           
 void setLineType(LineType lt)
           
 void setSourceArrow(Arrow a)
           
 void setTargetArrow(Arrow a)
           
 void setToolTip(String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeAppearance

public EdgeAppearance()
Method Detail

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)

www.cytoscape.org