|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MathMLMatrixrowElement
The matrixrow element is the container element for the elements of a matrix.
Field Summary |
---|
Method Summary | |
---|---|
void |
deleteEntry(int index)
A convenience method to delete an entry. |
MathMLContentElement |
getEntry(int index)
A convenience method to retrieve the contents of an entry by index. |
int |
getNEntries()
The number of entries in the row. |
MathMLContentElement |
insertEntry(MathMLContentElement newEntry,
int index)
A convenience method to insert an entry before the current index-th entry of the row. |
MathMLContentElement |
removeEntry(int index)
A convenience method to remove an entry from the row and return the removed entry to the caller. |
MathMLContentElement |
setEntry(MathMLContentElement newEntry,
int index)
A convenience method to set the contents of the entry at position index in the row to newEntry. |
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 |
---|
int getNEntries()
MathMLContentElement getEntry(int index) throws DOMException
index
- Position of the entry in the row. The first entry is
numbered 1.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the number
of entries in the row.MathMLContentElement insertEntry(MathMLContentElement newEntry, int index) throws DOMException
newEntry
- The MathMLContentElement to be representing the new entry to
be inserted into the row.index
- The index before which newEntry is to be inserted in the
row. The first entry is numbered 1.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the number
of entries in the row.MathMLContentElement setEntry(MathMLContentElement newEntry, int index) throws DOMException
newEntry
- The MathMLContentElement representing the element that is to
be the index-th entry.index
- The index of the entry that is to be set equal to newEntry.
The first entry is numbered 1.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than one more
than the number of elements in the row.void deleteEntry(int index) throws DOMException
index
- Position of the entry to be deleted in the row. The first
entry is numbered 1.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the number
of entries in the row.MathMLContentElement removeEntry(int index) throws DOMException
index
- Position of the entry to be removed from the row. The first
entry is numbered 1.
DOMException
- INDEX_SIZE_ERR: Raised if index is greater than the number
of entries in the row.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |