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

cytoscape.visual.parsers
Class NodeShapeParser

java.lang.Object
  extended by cytoscape.visual.parsers.NodeShapeParser
All Implemented Interfaces:
ValueParser

public class NodeShapeParser
extends Object
implements ValueParser

Parses a String into a yFiles shape, which is represented by a byte identifier. The return value here is a Byte object wrapping the primitive byte identifier.


Constructor Summary
NodeShapeParser()
           
 
Method Summary
static boolean isValidShape(byte shape)
          Deprecated. Will be removed 5/2008
static boolean isValidShape(NodeShape shape)
          DOCUMENT ME!
 Byte parseNodeShape(String value)
          Deprecated. Will be removed 5/2008
 NodeShape parseNodeShapeEnum(String value)
          DOCUMENT ME!
 Object parseStringValue(String value)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeShapeParser

public NodeShapeParser()
Method Detail

parseStringValue

public Object parseStringValue(String value)
DOCUMENT ME!

Specified by:
parseStringValue in interface ValueParser
Parameters:
value - DOCUMENT ME!
Returns:
DOCUMENT ME!

parseNodeShape

@Deprecated
public Byte parseNodeShape(String value)
Deprecated. Will be removed 5/2008

DOCUMENT ME!

Parameters:
value - DOCUMENT ME!
Returns:
DOCUMENT ME!

parseNodeShapeEnum

public NodeShape parseNodeShapeEnum(String value)
DOCUMENT ME!

Parameters:
value - DOCUMENT ME!
Returns:
DOCUMENT ME!

isValidShape

public static boolean isValidShape(NodeShape shape)
DOCUMENT ME!

Parameters:
shape - DOCUMENT ME!
Returns:
DOCUMENT ME!

isValidShape

@Deprecated
public static boolean isValidShape(byte shape)
Deprecated. Will be removed 5/2008

DOCUMENT ME!

Parameters:
shape - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org