Note: This class is new and its interface subject to change.
@param < C> the type that this Cell representsCell
is a Rectangle
containing other Element
s. A Cell
must be added to a Table
. The Table
will place the Cell
in a Row
.
Example:
@see Rectangle @see Element @see Table @see RowTable table = new Table(3); table.setBorderWidth(1); table.setBorderColor(new Color(0, 0, 255)); table.setCellpadding(5); table.setCellspacing(5); Cell cell = new Cell("header"); cell.setHeader(true); cell.setColspan(3); table.addCell(cell); cell = new Cell("example cell with colspan 1 and rowspan 2"); cell.setRowspan(2); cell.setBorderColor(new Color(255, 0, 0)); table.addCell(cell); table.addCell("1.1"); table.addCell("2.1"); table.addCell("1.2"); table.addCell("2.2");
Contains all of the informations concerning a given cell from an array. The content of the cell is stored as multiple paragraphs.
Standard properties include: none. @author Fromentin Xavier, Schnell Michaël, Dervin Cyrielle, Brabant Quentin @version 1.0 @see Array
1) row 2) column family 3) column qualifier 4) timestamp 5) type 6) MVCC version 7) valueUniqueness is determined by the combination of row, column family, column qualifier, timestamp, and type. The natural comparator will perform a bitwise comparison on row, column family, and column qualifier. Less intuitively, it will then treat the greater timestamp as the lesser value with the goal of sorting newer cells first. This interface does not include methods that allocate new byte[]'s such as those used in client or debugging code. These should be placed in a sub-interface or the {@link CellUtil} class. Cell implements Comparable
Cells can be numeric, formula-based or string-based (text). The cell type specifies this. String cells cannot conatin numbers and numeric cells cannot contain strings (at least according to our model). Client apps should do the conversions themselves. Formula cells have the formula string, as well as the formula result, which can be numeric or string.
Cells should have their number (0 based) before being added to a row.
Represents a table cell.
A cell is used only when the content is placed as content of the column tag and need to be evaluated during iteration.
@author Fabrizio Giustina @version $Revision: 1190 $ ($Author: fgiust $)Cell
represents a single cell within a CellGrid
. A cell may be either live or dead.
@author Jeff Brown
@version $Id: Cell.java,v 1.3 2005/05/08 19:54:48 mproctor Exp $
@see CellState
@see CellGrid
Table provides methods to get/set/modify the cell content and cell properties.
Default {@link #getZclass}: z-cell. @author jumperchen @since 5.0.0
Title: WHEX
Description:
Copyright: Copyright (c) 2003
Company:
@author igor @version 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|