Interface MathMLGlyphElement
- All Superinterfaces:
Element, MathMLElement, MathMLPresentationElement, Node
- All Known Implementing Classes:
MathMLGlyphElementImpl
This interface provides support for the mglyph element, used to display
non-standard symbols.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields inherited from interface 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 TypeMethodDescriptiongetAlt()Returns the alternative text for the glyph.Returns the font family from which the glyph should be taken.intgetIndex()Returns the index of the glyph within the specified font.voidSets the alternative text for the glyph.voidsetFontfamily(String fontfamily) Sets the font family from which the glyph should be taken.voidsetIndex(int index) Sets the index of the glyph within the specified font.Methods inherited from interface Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXrefMethods inherited from interface 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
-
getAlt
-
setAlt
Sets the alternative text for the glyph.- Parameters:
alt- the alternative text string to set.
-
getFontfamily
String getFontfamily()Returns the font family from which the glyph should be taken.- Returns:
- the font family string.
-
setFontfamily
Sets the font family from which the glyph should be taken.- Parameters:
fontfamily- the font family string to set.
-
getIndex
int getIndex()Returns the index of the glyph within the specified font.- Returns:
- the integer index of the glyph.
-
setIndex
void setIndex(int index) Sets the index of the glyph within the specified font.- Parameters:
index- the integer index to set.
-