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

cytoscape.visual
Class NodeAppearance

java.lang.Object
  extended by cytoscape.visual.Appearance
      extended by cytoscape.visual.NodeAppearance

public class NodeAppearance
extends Appearance

Objects of this class hold data describing the appearance of a Node.


Constructor Summary
NodeAppearance()
          Constructor.
 
Method Summary
 Object clone()
          Clone.
 Object get(byte b)
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 Color getBorderColor()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 LineType getBorderLineType()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 Color getFillColor()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 Font getFont()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 float getFontSize()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 double getHeight()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 String getLabel()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 Color getLabelColor()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 LabelPosition getLabelPosition()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 NodeShape getNodeShape()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 byte getShape()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 double getSize()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 String getToolTip()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 double getWidth()
          Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.
 void set(byte b, Object o)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setBorderColor(Color c)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setBorderLineType(LineType lt)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setFillColor(Color c)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setFont(Font f)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setFontSize(float f)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setHeight(double d)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setJustHeight(double d)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setJustWidth(double d)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008. Sets only the height variable.
 void setLabel(String s)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setLabelColor(Color c)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setLabelPosition(LabelPosition c)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setNodeShape(NodeShape s)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setShape(byte s)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setSize(double s)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setToolTip(String s)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 void setWidth(double d)
          Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.
 
Methods inherited from class cytoscape.visual.Appearance
applyAppearance, applyAppearance, applyBypass, applyDefaultProperties, copy, get, getDefaultProperties, getDescription, getDescription, getNodeSizeLocked, set, setNodeSizeLocked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAppearance

public NodeAppearance()
Constructor.

Method Detail

clone

public Object clone()
Clone.

Overrides:
clone in class Appearance
Returns:
A clone of this Appearance.

getFillColor

public Color getFillColor()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setFillColor

public void setFillColor(Color c)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getBorderColor

public Color getBorderColor()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setBorderColor

public void setBorderColor(Color c)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getBorderLineType

public LineType getBorderLineType()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setBorderLineType

public void setBorderLineType(LineType lt)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getShape

public byte getShape()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


getNodeShape

public NodeShape getNodeShape()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setShape

public void setShape(byte s)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


setNodeShape

public void setNodeShape(NodeShape s)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getWidth

public double getWidth()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setJustWidth

public void setJustWidth(double d)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008. Sets only the height variable.


setWidth

public void setWidth(double d)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.

Sets the width variable, but also the size variable if the node size is locked. This is to support deprecated code that used setting width/height for setting uniform size as well.


getHeight

public double getHeight()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setJustHeight

public void setJustHeight(double d)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.

Sets only the height variable.


setHeight

public void setHeight(double d)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.

Sets the height variable, but also the size variable if the node size is locked. This is to support deprecated code that used setting width/height for setting uniform size as well.


getSize

public double getSize()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setSize

public void setSize(double s)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getLabel

public String getLabel()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setLabel

public void setLabel(String s)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getToolTip

public String getToolTip()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setToolTip

public void setToolTip(String s)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getFont

public Font getFont()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setFont

public void setFont(Font f)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getFontSize

public float getFontSize()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setFontSize

public void setFontSize(float f)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getLabelColor

public Color getLabelColor()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setLabelColor

public void setLabelColor(Color c)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


getLabelPosition

public LabelPosition getLabelPosition()
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


setLabelPosition

public void setLabelPosition(LabelPosition c)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


get

public Object get(byte b)
Deprecated. Use Appearance.get(VisualPropertyType) instead. Will be removed 5/2008.


set

public void set(byte b,
                Object o)
Deprecated. Use Appearance.set(VisualPropertyType,Object) instead. Will be removed 5/2008.


www.cytoscape.org