org.extremecomponents.table.cell
Class NumberCell

java.lang.Object
  extended byorg.extremecomponents.table.cell.BaseCell
      extended byorg.extremecomponents.table.cell.DisplayCell
          extended byorg.extremecomponents.table.cell.NumberCell
All Implemented Interfaces:
Cell

public class NumberCell
extends DisplayCell

Visually represents a column that will be displayed with a custom number format.

Author:
Jeff Johnston

Field Summary
 
Fields inherited from class org.extremecomponents.table.cell.BaseCell
column, EVEN, model, ODD, rowcount
 
Constructor Summary
NumberCell()
           
 
Method Summary
 void init(TableModel model, Column column, java.lang.Integer rowcount)
          Format the number so it can be displayed properly.
 
Methods inherited from class org.extremecomponents.table.cell.DisplayCell
html, value
 
Methods inherited from class org.extremecomponents.table.cell.BaseCell
destroy, endTD, isRowEven, isRowOdd, startTD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberCell

public NumberCell()
Method Detail

init

public void init(TableModel model,
                 Column column,
                 java.lang.Integer rowcount)
Format the number so it can be displayed properly.

Specified by:
init in interface Cell
Overrides:
init in class BaseCell


Copyright © 2004 sourceforge. All Rights Reserved.