|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MathMLMultiScriptsElement
This interface extends the MathMLPresentationElement interface for the MathML multiscripts (including prescripts or tensors) element mmultiscripts.
Field Summary |
---|
Method Summary | |
---|---|
MathMLElement |
getBase()
A MathMLElement representing the base of the script. |
int |
getNumprescriptcolumns()
The number of script/subscript columns preceding (to the left of) the base. |
int |
getNumscriptcolumns()
The number of script/subscript columns following (to the right of) the base. |
MathMLNodeList |
getPrescripts()
A NodeList representing the prescripts of the script, which appear in the order described by the expression (prescript presuperscript)*. |
MathMLElement |
getPreSubScript(int colIndex)
A convenience method to retrieve pre-subscript children of the element, referenced by column index . |
MathMLElement |
getPreSuperScript(int colIndex)
A convenience method to retrieve pre-superscript children of the element, referenced by column index . |
MathMLNodeList |
getScripts()
A MathMLNodeList representing the scripts of the script, which appear in the order described by the expression (script superscript)*. |
MathMLElement |
getSubScript(int colIndex)
A convenience method to retrieve subscript children of the element, referenced by column index. |
String |
getSubscriptshift()
A string representing the minimum amount to shift the baseline of the subscripts down, if specified; this is the element's subscriptshift attribute. |
MathMLElement |
getSuperScript(int colIndex)
A convenience method to retrieve superscript children of the element, referenced by column index . |
String |
getSuperscriptshift()
A string representing the minimum amount to shift the baseline of the superscripts up, if specified; this is the element's superscriptshift attribute. |
MathMLElement |
insertPreSubScriptBefore(int colIndex,
MathMLElement newScript)
A convenience method to insert a pre-subscript before the position referenced by column index. |
MathMLElement |
insertPreSuperScriptBefore(int colIndex,
MathMLElement newScript)
A convenience method to insert a pre-superscript before the position referenced by column index. |
MathMLElement |
insertSubScriptBefore(int colIndex,
MathMLElement newScript)
A convenience method to insert a subscript before the position referenced by column index. |
MathMLElement |
insertSuperScriptBefore(int colIndex,
MathMLElement newScript)
A convenience method to insert a superscript before the position referenced by column index. |
void |
setBase(MathMLElement base)
setter for the base attribute. |
MathMLElement |
setPreSubScriptAt(int colIndex,
MathMLElement newScript)
A convenience method to set the pre-subscript child at the position referenced by colIndex. |
MathMLElement |
setPreSuperScriptAt(int colIndex,
MathMLElement newScript)
A convenience method to set the pre-superscript child at the position referenced by colIndex. |
MathMLElement |
setSubScriptAt(int colIndex,
MathMLElement newScript)
A convenience method to set the subscript child at the position referenced by colIndex. |
void |
setSubscriptshift(String subscriptshift)
setter for the subscriptshift attribute. |
MathMLElement |
setSuperScriptAt(int colIndex,
MathMLElement newScript)
A convenience method to set the superscript child at the position referenced by colIndex. |
void |
setSuperscriptshift(String superscriptshift)
setter for the superscriptshift 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 getSubscriptshift()
void setSubscriptshift(String subscriptshift)
subscriptshift
- new value for subscriptshift.getSubscriptshift()
String getSuperscriptshift()
void setSuperscriptshift(String superscriptshift)
superscriptshift
- new value for superscriptshift.getSuperscriptshift()
MathMLElement getBase()
void setBase(MathMLElement base)
base
- new value for base.getBase()
MathMLNodeList getPrescripts()
MathMLNodeList getScripts()
int getNumprescriptcolumns()
int getNumscriptcolumns()
MathMLElement getPreSubScript(int colIndex)
colIndex
- Column index of prescript (where 1 represents the leftmost
prescript column).
MathMLElement getSubScript(int colIndex)
colIndex
- Column index of script (where 1 represents the leftmost
script column, the first to the right of the base).
MathMLElement getPreSuperScript(int colIndex)
colIndex
- Column index of pre-superscript (where 1 represents the
leftmost prescript column).
MathMLElement getSuperScript(int colIndex)
colIndex
- Column index of script (where 1 represents the leftmost
script column, the first to the right of the base)
MathMLElement insertPreSubScriptBefore(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of pre-subscript (where 1 represents the
leftmost prescript column).newScript
- A MathMLElement representing the element to be inserted as a
pre-subscript.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a pre-subscript. INDEX_SIZE_ERR:
Raised if colIndex is greater than the number of
pre-scripts of the element.MathMLElement setPreSubScriptAt(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of pre-subscript (where 1 represents the
leftmost prescript column).newScript
- MathMLElement representing the element that is to be set as
the colIndex-th pre-subscript child of this element.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a pre-subscript. INDEX_SIZE_ERR:
Raised if colIndex is greater than one more than the number
of pre-scripts of the element.MathMLElement insertSubScriptBefore(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of subscript, where 1 represents the leftmost
script column (the first to the right of the base).newScript
- A MathMLElement representing the element to be inserted as a
subscript.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a subscript. INDEX_SIZE_ERR: Raised
if colIndex is greater than the number of scripts of the
element.MathMLElement setSubScriptAt(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of subscript, where 1 represents the leftmost
script column (the first to the right of the base).newScript
- MathMLElement representing the element that is to be set as
the colIndex-th subscript child of this element.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a subscript. INDEX_SIZE_ERR: Raised
if colIndex is greater than one more than the number of
scripts of the element.MathMLElement insertPreSuperScriptBefore(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of pre-superscript (where 1 represents the
leftmost prescript column).newScript
- A MathMLElement representing the element to be inserted as a
pre-superscript.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a pre-superscript. INDEX_SIZE_ERR:
Raised if colIndex is greater than the number of
pre-scripts of the element.MathMLElement setPreSuperScriptAt(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of pre-superscript (where 1 represents the
leftmost prescript column).newScript
- MathMLElement representing the element that is to be set as
the colIndex-th pre-superscript child of this element.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a pre-superscript. INDEX_SIZE_ERR:
Raised if colIndex is greater than one more than the number
of pre-scripts of the element.MathMLElement insertSuperScriptBefore(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of superscript, where 1 represents the leftmost
script column (the first to the right of the base).newScript
- A MathMLElement representing the element to be inserted as a
superscript.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a superscript. INDEX_SIZE_ERR:
Raised if colIndex is greater than the number of scripts of
the element.MathMLElement setSuperScriptAt(int colIndex, MathMLElement newScript) throws DOMException
colIndex
- Column index of superscript, where 1 represents the leftmost
script column (the first to the right of the base).newScript
- MathMLElement representing the element that is to be set as
the colIndex-th superscript child of this element.
DOMException
- HIERARCHY_REQUEST_ERR: Raised if newScript represents an
element that cannot be a superscript. INDEX_SIZE_ERR:
Raised if colIndex is greater than one more than the number
of scripts of the element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |