Package org.w3c.dom.mathml
Interface MathMLStyleElement
- All Superinterfaces:
Element,MathMLContainer,MathMLElement,MathMLPresentationContainer,MathMLPresentationElement,Node
- All Known Implementing Classes:
Mstyle
This interface extends the MathMLElement interface for the MathML style
element mstyle. While the mstyle element may contain any attributes
allowable on any MathML presentation element, only attributes specific to
the mstyle element are included in the interface below. Other attributes
should be accessed using the methods on the base Element class,
particularly the Element::getAttribute and Element::setAttribute methods,
or even the Node::attributes attribute to access all of them at once. Not
only does this obviate a lengthy list below, but it seems likely that most
implementations will find this a considerably more useful interface to a
MathMLStyleElement.
-
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 TypeMethodDescriptionA string representation of a color or the string transparent; represents the background attribute for the mstyle element, if specified.Either true or false; a string representing the displaystyle attribute for the mstyle element, if specified.A string of the form number h-unit; represents the mediummathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativemediummathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativethickmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativethinmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativeverythickmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativeverythinmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativeveryverythickmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the negativeveryverythinmathspace attribute for the mstyle element, if specified.A string of the form +/- unsigned integer; represents the scriptlevel attribute for the mstyle element, if specified.A string of the form number v-unit; represents the scriptminsize attribute for the mstyle element, if specified.A string of the form number; represents the scriptsizemultiplier attribute for the mstyle element, if specified.A string of the form number h-unit; represents the thickmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the thinmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the verythickmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the verythinmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the veryverythickmathspace attribute for the mstyle element, if specified.A string of the form number h-unit; represents the veryverythinmathspace attribute for the mstyle element, if specified.voidsetBackground(String background) setter for the background attribute.voidsetDisplaystyle(String displaystyle) setter for the displaystyle attribute.voidsetMediummathspace(String mediummathspace) setter for the mediummathspace attribute.voidsetNegativemediummathspace(String negativemediummathspace) setter for the negativemediummathspace attribute.voidsetNegativethickmathspace(String negativethickmathspace) setter for the negativethickmathspace attribute.voidsetNegativethinmathspace(String negativethinmathspace) setter for the negativethinmathspace attribute.voidsetNegativeverythickmathspace(String negativeverythickmathspace) setter for the negativeverythickmathspace attribute.voidsetNegativeverythinmathspace(String negativeverythinmathspace) setter for the negativeverythinmathspace attribute.voidsetNegativeveryverythickmathspace(String negativeveryverythickmathspace) setter for the negativeveryverythickmathspace attribute.voidsetNegativeveryverythinmathspace(String negativeveryverythinmathspace) setter for the negativeveryverythinmathspace attribute.voidsetScriptlevel(String scriptlevel) setter for the scriptlevel attribute.voidsetScriptminsize(String scriptminsize) setter for the scriptminsize attribute.voidsetScriptsizemultiplier(String scriptsizemultiplier) setter for the scriptsizemultiplier attribute.voidsetThickmathspace(String thickmathspace) setter for the thickmathspace attribute.voidsetThinmathspace(String thinmathspace) setter for the thinmathspace attribute.voidsetVerythickmathspace(String verythickmathspace) setter for the verythickmathspace attribute.voidsetVerythinmathspace(String verythinmathspace) setter for the verythinmathspace attribute.voidsetVeryverythickmathspace(String veryverythickmathspace) setter for the veryverythickmathspace attribute.voidsetVeryverythinmathspace(String veryverythinmathspace) setter for the veryverythinmathspace 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.MathMLContainer
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclarationMethods 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
-
getScriptlevel
String getScriptlevel()A string of the form +/- unsigned integer; represents the scriptlevel attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the scriptlevel attribute.
-
setScriptlevel
setter for the scriptlevel attribute.- Parameters:
scriptlevel- new value for scriptlevel.- See Also:
-
getDisplaystyle
String getDisplaystyle()Either true or false; a string representing the displaystyle attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the displaystyle attribute.
-
setDisplaystyle
setter for the displaystyle attribute.- Parameters:
displaystyle- new value for displaystyle.- See Also:
-
getScriptsizemultiplier
String getScriptsizemultiplier()A string of the form number; represents the scriptsizemultiplier attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the scriptsizemultiplier attribute.
-
setScriptsizemultiplier
setter for the scriptsizemultiplier attribute.- Parameters:
scriptsizemultiplier- new value for scriptsizemultiplier.- See Also:
-
getScriptminsize
String getScriptminsize()A string of the form number v-unit; represents the scriptminsize attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the scriptminsize attribute.
-
setScriptminsize
setter for the scriptminsize attribute.- Parameters:
scriptminsize- new value for scriptminsize.- See Also:
-
getBackground
String getBackground()A string representation of a color or the string transparent; represents the background attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the background attribute.
-
setBackground
setter for the background attribute.- Parameters:
background- new value for background.- See Also:
-
getVeryverythinmathspace
String getVeryverythinmathspace()A string of the form number h-unit; represents the veryverythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the veryverythinmathspace attribute.
-
setVeryverythinmathspace
setter for the veryverythinmathspace attribute.- Parameters:
veryverythinmathspace- new value for veryverythinmathspace.- See Also:
-
getVerythinmathspace
String getVerythinmathspace()A string of the form number h-unit; represents the verythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the verythinmathspace attribute.
-
setVerythinmathspace
setter for the verythinmathspace attribute.- Parameters:
verythinmathspace- new value for verythinmathspace.- See Also:
-
getThinmathspace
String getThinmathspace()A string of the form number h-unit; represents the thinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the thinmathspace attribute.
-
setThinmathspace
setter for the thinmathspace attribute.- Parameters:
thinmathspace- new value for thinmathspace.- See Also:
-
getMediummathspace
String getMediummathspace()A string of the form number h-unit; represents the mediummathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the mediummathspace attribute.
-
setMediummathspace
setter for the mediummathspace attribute.- Parameters:
mediummathspace- new value for mediummathspace.- See Also:
-
getThickmathspace
String getThickmathspace()A string of the form number h-unit; represents the thickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the thickmathspace attribute.
-
setThickmathspace
setter for the thickmathspace attribute.- Parameters:
thickmathspace- new value for thickmathspace.- See Also:
-
getVerythickmathspace
String getVerythickmathspace()A string of the form number h-unit; represents the verythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the verythickmathspace attribute.
-
setVerythickmathspace
setter for the verythickmathspace attribute.- Parameters:
verythickmathspace- new value for verythickmathspace.- See Also:
-
getVeryverythickmathspace
String getVeryverythickmathspace()A string of the form number h-unit; represents the veryverythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the veryverythickmathspace attribute.
-
setVeryverythickmathspace
setter for the veryverythickmathspace attribute.- Parameters:
veryverythickmathspace- new value for veryverythickmathspace.- See Also:
-
getNegativeveryverythinmathspace
String getNegativeveryverythinmathspace()A string of the form number h-unit; represents the negativeveryverythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeveryverythinmathspace attribute.
-
setNegativeveryverythinmathspace
setter for the negativeveryverythinmathspace attribute.- Parameters:
negativeveryverythinmathspace- new value for negativeveryverythinmathspace.- See Also:
-
getNegativeverythinmathspace
String getNegativeverythinmathspace()A string of the form number h-unit; represents the negativeverythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeverythinmathspace attribute.
-
setNegativeverythinmathspace
setter for the negativeverythinmathspace attribute.- Parameters:
negativeverythinmathspace- new value for negativeverythinmathspace.- See Also:
-
getNegativethinmathspace
String getNegativethinmathspace()A string of the form number h-unit; represents the negativethinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativethinmathspace attribute.
-
setNegativethinmathspace
setter for the negativethinmathspace attribute.- Parameters:
negativethinmathspace- new value for negativethinmathspace.- See Also:
-
getNegativemediummathspace
String getNegativemediummathspace()A string of the form number h-unit; represents the negativemediummathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativemediummathspace attribute.
-
setNegativemediummathspace
setter for the negativemediummathspace attribute.- Parameters:
negativemediummathspace- new value for negativemediummathspace.- See Also:
-
getNegativethickmathspace
String getNegativethickmathspace()A string of the form number h-unit; represents the negativethickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativethickmathspace attribute.
-
setNegativethickmathspace
setter for the negativethickmathspace attribute.- Parameters:
negativethickmathspace- new value for negativethickmathspace.- See Also:
-
getNegativeverythickmathspace
String getNegativeverythickmathspace()A string of the form number h-unit; represents the negativeverythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeverythickmathspace attribute.
-
setNegativeverythickmathspace
setter for the negativeverythickmathspace attribute.- Parameters:
negativeverythickmathspace- new value for negativeverythickmathspace.- See Also:
-
getNegativeveryverythickmathspace
String getNegativeveryverythickmathspace()A string of the form number h-unit; represents the negativeveryverythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeveryverythickmathspace attribute.
-
setNegativeveryverythickmathspace
setter for the negativeveryverythickmathspace attribute.- Parameters:
negativeveryverythickmathspace- new value for negativeveryverythickmathspace.- See Also:
-