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

cytoscape.visual.parsers
Class ColorParser

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

public class ColorParser
extends Object
implements ValueParser

Parses a String into a Color object.


Constructor Summary
ColorParser()
           
 
Method Summary
 Color parseColor(String value)
           
 Object parseStringValue(String value)
          Parse the argument into an onject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorParser

public ColorParser()
Method Detail

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)

www.cytoscape.org