Cytoscape 2.8.0 API

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(NodeShape shape)
          DOCUMENT ME!
 NodeShape parseNodeShapeEnum(String value)
          DOCUMENT ME!
 NodeShape parseStringValue(String value)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeShapeParser

public NodeShapeParser()
Method Detail

parseStringValue

public NodeShape parseStringValue(String value)
DOCUMENT ME!

Specified by:
parseStringValue in interface ValueParser
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!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.