Home / Development / Documentation / 2.0.44 / LabelTextColorAdapter
TreeGraph 2
 


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

java.lang.Object
  extended by info.bioinfweb.treegraph.gui.dialogs.specialformats.AbstractLabelAdapter
      extended by info.bioinfweb.treegraph.document.format.adapters.color.LabelTextColorAdapter
All Implemented Interfaces:
ColorAdapter

public class LabelTextColorAdapter
extends AbstractLabelAdapter
implements ColorAdapter

Since:
2.0.23
Author:
Ben Stöver

Constructor Summary
LabelTextColorAdapter(String id)
           
 
Method Summary
 Color getColor(Node node)
           
 void setColor(Color color, Node node)
           
 String toString()
           
 
Methods inherited from class info.bioinfweb.treegraph.gui.dialogs.specialformats.AbstractLabelAdapter
getID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelTextColorAdapter

public LabelTextColorAdapter(String id)
Method Detail

setColor

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

getColor

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

toString

public String toString()
Overrides:
toString in class Object