com.anwrt.hl.model
Class CorrelatedRow

java.lang.Object
  extended by com.anwrt.hl.model.CorrelatedRow

public class CorrelatedRow
extends java.lang.Object

Object used to add data into a AwtCorrelatedDataContainer
creation 6 août 2009

Author:
David FRANCOIS

Constructor Summary
CorrelatedRow(int size)
          Default constructor
 
Method Summary
 void addCell(java.lang.Object o)
          Add a cell in the row.
 java.lang.Object[] getCells()
           
 int getIndex()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelatedRow

public CorrelatedRow(int size)
Default constructor

Parameters:
size - Size of the row.
Method Detail

addCell

public void addCell(java.lang.Object o)
             throws AwtException
Add a cell in the row.

Parameters:
o - Object to be added
Throws:
AwtException - If the row is full.

getCells

public java.lang.Object[] getCells()
Returns:
Returns all inserted objects as an array

size

public int size()
Returns:
Return the size of the row.

getIndex

public int getIndex()
Returns:
Returns the number of objects inserted