Package org.w3c.dom.mathml
Interface MathMLUnderOverElement
- All Superinterfaces:
Element,MathMLElement,MathMLPresentationElement,Node
- All Known Implementing Classes:
AbstractUnderOver,Mover,Munder,Munderover
This interface extends the MathMLPresentationElement interface for the
MathML underscript, overscript and overscript-underscript pair elements
munder, mover and munderover.
-
Field Summary
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Method Summary
Modifier and TypeMethodDescriptionEither true or false if present; a string controlling whether overscript is drawn as an accent or as a limit, if specified; this is the element's accent attribute.Either true or false if present; a string controlling whether underscript is drawn as an accent or as a limit, if specified; this is the element's accentunder attribute.getBase()A MathMLElement representing the base of the script.A MathMLElement representing the overscript of the script.A MathMLElement representing the underscript of the script.voidsetter for the accent attribute.voidsetAccentunder(String accentunder) setter for the accentunder attribute.voidsetBase(MathMLElement base) setter for the base attribute.voidsetOverscript(MathMLElement overscript) setter for the overscript attribute.voidsetUnderscript(MathMLElement underscript) setter for the underscript attribute.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, setIdAttributeNSMethods inherited from interface org.w3c.dom.mathml.MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXrefMethods 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 Details
-
getAccentunder
String getAccentunder()Either true or false if present; a string controlling whether underscript is drawn as an accent or as a limit, if specified; this is the element's accentunder attribute. This must return null for an mover.- Returns:
- value of the accentunder attribute.
-
setAccentunder
setter for the accentunder attribute.- Parameters:
accentunder- new value for accentunder.- See Also:
-
getAccent
String getAccent()Either true or false if present; a string controlling whether overscript is drawn as an accent or as a limit, if specified; this is the element's accent attribute. This must return null for an munder.- Returns:
- value of the accent attribute.
-
setAccent
setter for the accent attribute.- Parameters:
accent- new value for accent.- See Also:
-
getBase
MathMLElement getBase()A MathMLElement representing the base of the script. This is the first child of the element.- Returns:
- value of the base attribute.
-
setBase
setter for the base attribute.- Parameters:
base- new value for base.- See Also:
-
getUnderscript
MathMLElement getUnderscript()A MathMLElement representing the underscript of the script. This is the second child of a munder or munderover; retrieval must return null for an mover.- Returns:
- value of the underscript attribute.
-
setUnderscript
setter for the underscript attribute.- Parameters:
underscript- new value for underscript.- Throws:
DOMException- HIERARCHY_REQUEST_ERR: Raised when the element is a mover.- See Also:
-
getOverscript
MathMLElement getOverscript()A MathMLElement representing the overscript of the script. This is the second child of a mover or the third child of a munderover; retrieval must return null for an munder.- Returns:
- value of the overscript attribute.
-
setOverscript
setter for the overscript attribute.- Parameters:
overscript- new value for overscript.- Throws:
DOMException- HIERARCHY_REQUEST_ERR: Raised when the element is a munder.- See Also:
-