Cytoscape 2.8.0 API

cytoscape.visual.converter
Class ColorConverter

java.lang.Object
  extended by cytoscape.visual.converter.ColorConverter
All Implemented Interfaces:
ValueToStringConverter

public class ColorConverter
extends Object
implements ValueToStringConverter


Constructor Summary
ColorConverter()
           
 
Method Summary
 Class<?> getType()
          Class supported by this converter.
 String toString(Object value)
          Convert given value to VizMap compatible string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorConverter

public ColorConverter()
Method Detail

toString

public String toString(Object value)
Description copied from interface: ValueToStringConverter
Convert given value to VizMap compatible string.

Specified by:
toString in interface ValueToStringConverter
Returns:
VizMap conversion of given object. Otherwise, returns empty String.

getType

public Class<?> getType()
Description copied from interface: ValueToStringConverter
Class supported by this converter.

Specified by:
getType in interface ValueToStringConverter
Returns:
Class of supported type.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.