|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MathMLTableRowElement
This interface extends the MathMLPresentationElement interface for the MathML table or matrix row element mtr.
Field Summary |
---|
Method Summary | |
---|---|
void |
deleteCell(int index)
A convenience method to delete a cell in the row. |
MathMLNodeList |
getCells()
A MathMLNodeList consisting of the cells of the row. |
String |
getColumnalign()
A string representing an override of the column alignment specified in the containing mtable. |
String |
getGroupalign()
A string specifying how the alignment groups within the cells of each row are to be aligned with the corresponding items above or below them in the same column. |
String |
getRowalign()
A string representing an override of the row alignment specified in the containing mtable. |
MathMLTableCellElement |
insertCell(MathMLTableCellElement newCell,
int index)
A convenience method to insert a new cell in the row. |
MathMLTableCellElement |
insertEmptyCell(int index)
A convenience method to insert a new (empty) cell in the row. |
MathMLTableCellElement |
setCell(MathMLTableCellElement newCell,
int index)
A convenience method to set the value of a cell in the row to newCell. |
void |
setColumnalign(String columnalign)
setter for the columnalign attribute. |
void |
setGroupalign(String groupalign)
setter for the groupalign attribute. |
void |
setRowalign(String rowalign)
setter for the rowalign attribute. |
Methods inherited from interface org.w3c.dom.mathml.MathMLElement |
---|
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXref |
Methods inherited from interface org.w3c.dom.Element |
---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Method Detail |
---|
String getRowalign()
void setRowalign(String rowalign)
rowalign
- new value for rowalign.getRowalign()
String getColumnalign()
void setColumnalign(String columnalign)
columnalign
- new value for columnalign.getColumnalign()
String getGroupalign()
void setGroupalign(String groupalign)
groupalign
- new value for groupalign.getGroupalign()
MathMLNodeList getCells()
MathMLTableCellElement insertEmptyCell(int index) throws DOMException
index
- Index of the cell before which the new cell is to be
inserted, where the first cell is numbered 0. If index is
equal to the current number of cells, the new cell is
appended as the last cell of the row. Note that the index
will differ from the index of the corresponding Node in the
collection returned by Node::childNodes if this is a
MathMLLabeledRowElement!
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the current
number of cells of this mtr element.MathMLTableCellElement insertCell(MathMLTableCellElement newCell, int index) throws DOMException
newCell
- A MathMLTableCellElement representing the new cell (mtd
element) to be inserted.index
- Index of the cell before which the new cell is to be
inserted, where the first cell is numbered 0. If index
equals the current number of cells, the new cell is appended
as the last cell of the row. Note that the index will differ
from the index of the corresponding Node in Node::childNodes
if this is a MathMLLabeledRowElement!
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the current
number of cells of this mtr element.MathMLTableCellElement setCell(MathMLTableCellElement newCell, int index)
newCell
- A MathMLTableCellElement representing the cell (mtd element)
that is to be inserted.index
- Index of the cell that is to be replaced by the new cell,
where the first cell is numbered 0. Note that the index will
differ from the index of the corresponding Node in the
collection returned by Node::childNodes if this is a
MathMLLabeledRowElement!
void deleteCell(int index)
index
- Index of cell to be deleted. Note that the count will differ
from the index-th child node if this is a
MathMLLabeledRowElement!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |