com.waveset.ui
Class Table.CompoundCell

java.lang.Object
  extended bycom.waveset.ui.Table.Cell
      extended bycom.waveset.ui.Table.CompoundCell
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
Table.GridCell
Enclosing class:
Table

Deprecated. - use com.waveset.ui.html.CompoundCell.

public static class Table.CompoundCell
extends Table.Cell

This is an object to represent a "compound" cell. This allows one to stuff more than one item into a cell.

The sort name is the sort name of the first sub-item.


Field Summary
protected  java.lang.Object[] _subItems
          Deprecated.  
 
Constructor Summary
Table.CompoundCell(java.lang.Object[] subItems)
          Deprecated.  
 
Method Summary
protected  void subItemToHTML(RequestState req, int index, java.lang.StringBuffer htmlBuf)
          Deprecated.  
protected  void subItemToHTML(RequestState req, java.lang.Object subItem, java.lang.StringBuffer htmlBuf)
          Deprecated.  
 java.lang.String toHTML(RequestState req)
          Deprecated. Don't be fooled: this is really an abstract method.
 java.lang.String toString()
          Deprecated.  
 
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

_subItems

protected java.lang.Object[] _subItems
Deprecated. 
Constructor Detail

Table.CompoundCell

public Table.CompoundCell(java.lang.Object[] subItems)
                   throws WavesetException
Deprecated. 
Method Detail

toHTML

public java.lang.String toHTML(RequestState req)
Deprecated. 
Description copied from class: Table.Cell
Don't be fooled: this is really an abstract method. Subclass AppletCell implements toHTML(response, request).

Overrides:
toHTML in class Table.Cell
Returns:
the cell contents in HTML form.

subItemToHTML

protected void subItemToHTML(RequestState req,
                             int index,
                             java.lang.StringBuffer htmlBuf)
Deprecated. 
Parameters:
index - - specifies the subitem to format. If this subitem is null, appends a non-breaking space.

subItemToHTML

protected void subItemToHTML(RequestState req,
                             java.lang.Object subItem,
                             java.lang.StringBuffer htmlBuf)
Deprecated. 
Parameters:
subItem - - specifies the subitem to format. If this subitem is null, appends a non-breaking space.

toString

public java.lang.String toString()
Deprecated. 
Returns:
the name to sort on. We return the sort key of the first sub-item (if any).