cytoscape.visual.parsers
Class NodeShapeParser
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeShapeParser
public NodeShapeParser()
parseStringValue
public Object parseStringValue(String value)
- Description copied from interface:
ValueParser
- Parse the argument into an onject. Returns null if the String is
not parsable.
- Specified by:
parseStringValue
in interface ValueParser
parseNodeShape
public Byte parseNodeShape(String value)