edu.jhu.tmaj.client.arraybuilder.data
Class ColorCodedString

java.lang.Object
  extended by edu.jhu.tmaj.client.arraybuilder.data.ColorCodedString
All Implemented Interfaces:
java.lang.Comparable

public final class ColorCodedString
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
ColorCodedString(java.lang.String name, java.awt.Color color)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 java.awt.Color getColor()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorCodedString

public ColorCodedString(java.lang.String name,
                        java.awt.Color color)
Method Detail

getName

public java.lang.String getName()

getColor

public java.awt.Color getColor()

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable