Cytoscape 2.8.0 API

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.


Field Summary
 
Fields inherited from class cytoscape.visual.Appearance
vizProps
 
Constructor Summary
NodeAppearance()
          Constructor.
 
Method Summary
 Object clone()
          Returns a clone of this Appearance.
 Properties getDefaultProperties(String baseKey)
          Returns a Properties object that defines 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, getDescription, getDescription, set
 
Methods inherited from class java.lang.Object
equals, finalize, 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.

getDefaultProperties

public Properties getDefaultProperties(String baseKey)
Description copied from class: Appearance
Returns a Properties object that defines this appearance.

Overrides:
getDefaultProperties in class Appearance
Parameters:
baseKey - The key to use to identify the specific properties for this appearance.
Returns:
A Properties object that defines 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.


Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.