cytoscape.visual.parsers
Class ColorParser
java.lang.Object
cytoscape.visual.parsers.ColorParser
- All Implemented Interfaces:
- ValueParser
public class ColorParser
- extends Object
- implements ValueParser
Parses a String into a Color object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorParser
public ColorParser()
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
parseColor
public Color parseColor(String value)