|
Cytoscape 2.4.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.NodeAppearance
public class NodeAppearance
Objects of this class hold data describing the appearance of a Node.
Constructor Summary | |
---|---|
NodeAppearance()
|
Method Summary | |
---|---|
void |
applyAppearance(NodeView nodeView)
|
void |
applyAppearance(NodeView nodeView,
boolean optimizer)
Deprecated. use applyAppearance(nodeView) instead - now we always optimize. will be removed 10/2007 |
void |
applyBypass(Node n)
|
void |
applyDefaultProperties(Properties nacProps,
String baseKey)
|
Object |
clone()
|
void |
copy(NodeAppearance na)
|
Object |
get(byte type)
|
Color |
getBorderColor()
|
LineType |
getBorderLineType()
|
Properties |
getDefaultProperties(String baseKey)
|
String |
getDescription()
|
String |
getDescription(String prefix)
|
Color |
getFillColor()
|
Font |
getFont()
|
float |
getFontSize()
|
double |
getHeight()
|
String |
getLabel()
|
Color |
getLabelColor()
|
LabelPosition |
getLabelPosition()
|
boolean |
getNodeSizeLocked()
|
byte |
getShape()
|
double |
getSize()
|
String |
getToolTip()
|
double |
getWidth()
|
void |
set(byte type,
Object c)
|
void |
setBorderColor(Color c)
|
void |
setBorderLineType(LineType lt)
|
void |
setFillColor(Color c)
|
void |
setFont(Font f)
|
void |
setFontSize(float f)
|
void |
setHeight(double d)
Sets the height variable, but also the size variable if the node size is locked. |
void |
setJustHeight(double d)
Sets only the height variable. |
void |
setJustWidth(double d)
Sets only the height variable. |
void |
setLabel(String s)
|
void |
setLabelColor(Color c)
|
void |
setLabelPosition(LabelPosition c)
|
void |
setNodeSizeLocked(boolean b)
|
void |
setShape(byte s)
|
void |
setSize(double s)
|
void |
setToolTip(String s)
|
void |
setWidth(double d)
Sets the width variable, but also the size variable if the node size is locked. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeAppearance()
Method Detail |
---|
public Color getFillColor()
public void setFillColor(Color c)
public Color getBorderColor()
public void setBorderColor(Color c)
public LineType getBorderLineType()
public void setBorderLineType(LineType lt)
public byte getShape()
public void setShape(byte s)
public double getWidth()
public void setJustWidth(double d)
public void setWidth(double d)
public double getHeight()
public void setJustHeight(double d)
public void setHeight(double d)
public double getSize()
public void setSize(double s)
public String getLabel()
public void setLabel(String s)
public String getToolTip()
public void setToolTip(String s)
public Font getFont()
public void setFont(Font f)
public float getFontSize()
public void setFontSize(float f)
public Color getLabelColor()
public void setLabelColor(Color c)
public LabelPosition getLabelPosition()
public void setLabelPosition(LabelPosition c)
public void applyAppearance(NodeView nodeView, boolean optimizer)
public void applyAppearance(NodeView nodeView)
public void applyDefaultProperties(Properties nacProps, String baseKey)
public Properties getDefaultProperties(String baseKey)
public String getDescription(String prefix)
public String getDescription()
public Object get(byte type)
public void set(byte type, Object c)
public void copy(NodeAppearance na)
public Object clone()
clone
in class Object
public boolean getNodeSizeLocked()
public void setNodeSizeLocked(boolean b)
public void applyBypass(Node n)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |