info.bioinfweb.treegraph.document.format.adapters.color
Class NodeTextColorAdapter

java.lang.Object
  extended by info.bioinfweb.treegraph.document.format.adapters.color.NodeTextColorAdapter
All Implemented Interfaces:
ColorAdapter

public class NodeTextColorAdapter
extends java.lang.Object
implements ColorAdapter

Since:
2.0.23
Author:
Ben Stöver

Constructor Summary
NodeTextColorAdapter()
           
 
Method Summary
 java.awt.Color getColor(Node node)
           
 void setColor(java.awt.Color color, Node node)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeTextColorAdapter

public NodeTextColorAdapter()
Method Detail

setColor

public void setColor(java.awt.Color color,
                     Node node)
Specified by:
setColor in interface ColorAdapter

getColor

public java.awt.Color getColor(Node node)
Specified by:
getColor in interface ColorAdapter

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object