Table node that holds a 2-dimensional array of table cells.
(First row has number 1, first column has number 1. Column 0 of each row contains a "new row starting node" for the
related
tag)
-
-
Constructor Summary
Constructors
| Constructor |
Description |
TableNode(java.lang.String nodeName,
java.lang.String nodeText) |
|
-
Method Summary
-
Methods inherited from class de.hybris.platform.commons.translator.nodes.AbstractNode
addAttribute, addAttributes, addChildNode, addChildNodes, getAttributeByName, getAttributes, getChildNodeByName, getChildNodes, getNodeName, getNodeText, getParentNode, getStyleClass, isOpenTag, setAttributes, setChildNodes, setNodeName, setNodeText, setParentNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setCell
public void setCell(AbstractNode cell,
int colNumber,
int rowNumber)
set cell (node) to position x,y ((x,y-1) in the TableNode's array) we set cell even if it is a row cell
- Parameters:
cell -
colNumber -
rowNumber -
-
getCell
public AbstractNode getCell(int colNumber,
int rowNumber)
get cell (node) from position x,y ((x,y-1) from the TableNode's array)
- Parameters:
colNumber -
rowNumber -
-
getCols
public int getCols()
-
getRows
public int getRows()