com.waveset.ui
Class Table.ColorTextCell

java.lang.Object
  extended bycom.waveset.ui.Table.Cell
      extended bycom.waveset.ui.Table.ColorTextCell
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
Table

public static class Table.ColorTextCell
extends Table.Cell

This is an object to represent a colored text cell. It has a display name (which is the text), and a color.


Field Summary
 java.lang.String _color
           
 java.lang.String _displayName
           
 
Constructor Summary
Table.ColorTextCell(java.lang.String displayName, java.lang.String color)
           
 
Method Summary
 java.lang.String toHTML(RequestState req)
          return the actual cell contents in HTML form
 java.lang.String toString()
           
 
Methods inherited from class com.waveset.ui.Table.Cell
clone, getPrimaryKey, setPrimaryKey
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_displayName

public java.lang.String _displayName

_color

public java.lang.String _color
Constructor Detail

Table.ColorTextCell

public Table.ColorTextCell(java.lang.String displayName,
                           java.lang.String color)
Method Detail

toHTML

public java.lang.String toHTML(RequestState req)
return the actual cell contents in HTML form

Overrides:
toHTML in class Table.Cell

toString

public java.lang.String toString()
Returns:
the name to display, and sort on.