Cytoscape 2.7.0 (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()
          Returns a clone of this Appearance.
 boolean getNodeSizeLocked()
          Deprecated. Use VisualStyle.getDependency().check(VisualPropertyDependency.Definition.NODE_SIZE_LOCKED) instead. Will be removed Jan 2011.
 void setNodeSizeLocked(boolean b)
          Deprecated. Use VisualStyle.getDependency().set(VisualPropertyDependency.Definition.NODE_SIZE_LOCKED,b) instead. Will be removed Jan 2011.
 
Methods inherited from class cytoscape.visual.Appearance
applyAppearance, applyAppearance, applyBypass, applyDefaultProperties, copy, get, getDefaultProperties, getDescription, getDescription, set
 
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()
Description copied from class: Appearance
Returns a clone of this Appearance.

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

getNodeSizeLocked

@Deprecated
public boolean getNodeSizeLocked()
Deprecated. Use VisualStyle.getDependency().check(VisualPropertyDependency.Definition.NODE_SIZE_LOCKED) instead. Will be removed Jan 2011.

Returns whether or not the node height and width are locked.

Returns:
Whether or not the node height and width are locked.

setNodeSizeLocked

@Deprecated
public void setNodeSizeLocked(boolean b)
Deprecated. Use VisualStyle.getDependency().set(VisualPropertyDependency.Definition.NODE_SIZE_LOCKED,b) instead. Will be removed Jan 2011.

Sets whether or not the node height and width are locked.


www.cytoscape.org