Cytoscape 2.8.0 API

cytoscape.visual.converter
Interface ValueToStringConverter

All Known Implementing Classes:
ColorConverter, FontConverter, NodeShapeConverter, ObjectPositionConverter

public interface ValueToStringConverter

Provide special type of toString for the given class.

Author:
kono

Method Summary
 Class<?> getType()
          Class supported by this converter.
 String toString(Object value)
          Convert given value to VizMap compatible string.
 

Method Detail

toString

String toString(Object value)
Convert given value to VizMap compatible string.

Parameters:
value -
Returns:
VizMap conversion of given object. Otherwise, returns empty String.

getType

Class<?> getType()
Class supported by this converter.

Returns:
Class of supported type.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.