|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.batik.dom.AbstractNode org.apache.batik.dom.AbstractParentNode org.apache.batik.dom.AbstractParentChildNode org.apache.batik.dom.AbstractElement org.apache.batik.dom.AbstractElementNS org.apache.batik.dom.GenericElementNS net.sourceforge.jeuclid.elements.AbstractJEuclidElement net.sourceforge.jeuclid.elements.presentation.AbstractContainer net.sourceforge.jeuclid.elements.presentation.general.Mstyle
public final class Mstyle
This class arrange an element lower to an other element.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractElement |
---|
AbstractElement.ElementTypeInfo, AbstractElement.Entry, AbstractElement.NamedNodeHashMap |
Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode |
---|
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
Field Summary | |
---|---|
static String |
ATTR_DISPLAYSTYLE
Attribute for displaystyle. |
static String |
ATTR_SCRIPTLEVEL
Attribute for scriptlevel. |
static String |
ATTR_SCRIPTMINSIZE
Attribute for scriptminsize. |
static String |
ATTR_SCRIPTSIZEMULTIPLIER
Attribute for scriptsizemultiplier. |
static String |
ELEMENT
The XML element from this class. |
Fields inherited from class net.sourceforge.jeuclid.elements.AbstractJEuclidElement |
---|
ATTR_CLASS, ATTR_DEPRECATED_BACKGROUND, ATTR_DEPRECATED_COLOR, ATTR_DEPRECATED_FONTFAMILY, ATTR_DEPRECATED_FONTSIZE, ATTR_DEPRECATED_FONTSTYLE, ATTR_DEPRECATED_FONTWEIGHT, ATTR_HREF, ATTR_ID, ATTR_MATHBACKGROUND, ATTR_MATHCOLOR, ATTR_MATHSIZE, ATTR_MATHVARIANT, ATTR_STYLE, ATTR_XREF, TRIVIAL_SPACE_MAX, URI |
Fields inherited from class org.apache.batik.dom.GenericElementNS |
---|
nodeName, readonly |
Fields inherited from class org.apache.batik.dom.AbstractElementNS |
---|
namespaceURI |
Fields inherited from class org.apache.batik.dom.AbstractElement |
---|
attributes, typeInfo |
Fields inherited from class org.apache.batik.dom.AbstractParentChildNode |
---|
nextSibling, parentNode, previousSibling |
Fields inherited from class org.apache.batik.dom.AbstractParentNode |
---|
childNodes |
Fields inherited from class org.apache.batik.dom.AbstractNode |
---|
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlers |
Constructor Summary | |
---|---|
Mstyle(String qname,
AbstractDocument odoc)
Default constructor. |
Method Summary | |
---|---|
String |
getBackground()
A string representation of a color or the string transparent; represents the background attribute for the mstyle element, if specified. |
LayoutContext |
getChildLayoutContext(int childNum,
LayoutContext context)
get the layout context for the given child. |
String |
getColor()
|
String |
getDisplaystyle()
Either true or false; a string representing the displaystyle attribute for the mstyle element, if specified. |
String |
getMediummathspace()
A string of the form number h-unit; represents the mediummathspace attribute for the mstyle element, if specified. |
String |
getNegativemediummathspace()
A string of the form number h-unit; represents the negativemediummathspace attribute for the mstyle element, if specified. |
String |
getNegativethickmathspace()
A string of the form number h-unit; represents the negativethickmathspace attribute for the mstyle element, if specified. |
String |
getNegativethinmathspace()
A string of the form number h-unit; represents the negativethinmathspace attribute for the mstyle element, if specified. |
String |
getNegativeverythickmathspace()
A string of the form number h-unit; represents the negativeverythickmathspace attribute for the mstyle element, if specified. |
String |
getNegativeverythinmathspace()
A string of the form number h-unit; represents the negativeverythinmathspace attribute for the mstyle element, if specified. |
String |
getNegativeveryverythickmathspace()
A string of the form number h-unit; represents the negativeveryverythickmathspace attribute for the mstyle element, if specified. |
String |
getNegativeveryverythinmathspace()
A string of the form number h-unit; represents the negativeveryverythinmathspace attribute for the mstyle element, if specified. |
String |
getScriptlevel()
A string of the form +/- unsigned integer; represents the scriptlevel attribute for the mstyle element, if specified. |
String |
getScriptminsize()
A string of the form number v-unit; represents the scriptminsize attribute for the mstyle element, if specified. |
String |
getScriptsizemultiplier()
A string of the form number; represents the scriptsizemultiplier attribute for the mstyle element, if specified. |
String |
getThickmathspace()
A string of the form number h-unit; represents the thickmathspace attribute for the mstyle element, if specified. |
String |
getThinmathspace()
A string of the form number h-unit; represents the thinmathspace attribute for the mstyle element, if specified. |
String |
getVerythickmathspace()
A string of the form number h-unit; represents the verythickmathspace attribute for the mstyle element, if specified. |
String |
getVerythinmathspace()
A string of the form number h-unit; represents the verythinmathspace attribute for the mstyle element, if specified. |
String |
getVeryverythickmathspace()
A string of the form number h-unit; represents the veryverythickmathspace attribute for the mstyle element, if specified. |
String |
getVeryverythinmathspace()
A string of the form number h-unit; represents the veryverythinmathspace attribute for the mstyle element, if specified. |
protected Node |
newNode()
|
void |
setBackground(String background)
setter for the background attribute. |
void |
setColor(String color)
|
void |
setDisplaystyle(String displaystyle)
setter for the displaystyle attribute. |
void |
setMediummathspace(String mediummathspace)
setter for the mediummathspace attribute. |
void |
setNegativemediummathspace(String negativemediummathspace)
setter for the negativemediummathspace attribute. |
void |
setNegativethickmathspace(String negativethickmathspace)
setter for the negativethickmathspace attribute. |
void |
setNegativethinmathspace(String negativethinmathspace)
setter for the negativethinmathspace attribute. |
void |
setNegativeverythickmathspace(String negativeverythickmathspace)
setter for the negativeverythickmathspace attribute. |
void |
setNegativeverythinmathspace(String negativeverythinmathspace)
setter for the negativeverythinmathspace attribute. |
void |
setNegativeveryverythickmathspace(String negativeveryverythickmathspace)
setter for the negativeveryverythickmathspace attribute. |
void |
setNegativeveryverythinmathspace(String negativeveryverythinmathspace)
setter for the negativeveryverythinmathspace attribute. |
void |
setScriptlevel(String scriptlevel)
setter for the scriptlevel attribute. |
void |
setScriptminsize(String scriptminsize)
setter for the scriptminsize attribute. |
void |
setScriptsizemultiplier(String scriptsizemultiplier)
setter for the scriptsizemultiplier attribute. |
void |
setThickmathspace(String thickmathspace)
setter for the thickmathspace attribute. |
void |
setThinmathspace(String thinmathspace)
setter for the thinmathspace attribute. |
void |
setVerythickmathspace(String verythickmathspace)
setter for the verythickmathspace attribute. |
void |
setVerythinmathspace(String verythinmathspace)
setter for the verythinmathspace attribute. |
void |
setVeryverythickmathspace(String veryverythickmathspace)
setter for the veryverythickmathspace attribute. |
void |
setVeryverythinmathspace(String veryverythinmathspace)
setter for the veryverythinmathspace attribute. |
Methods inherited from class net.sourceforge.jeuclid.elements.presentation.AbstractContainer |
---|
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclaration |
Methods inherited from class org.apache.batik.dom.GenericElementNS |
---|
copyInto, deepCopyInto, deepExport, export, getNodeName, isReadonly, setNodeName, setReadonly |
Methods inherited from class org.apache.batik.dom.AbstractElementNS |
---|
getNamespaceURI |
Methods inherited from class org.apache.batik.dom.AbstractParentChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling, setNextSibling, setParentNode, setPreviousSibling |
Methods inherited from class org.apache.batik.dom.AbstractParentNode |
---|
appendChild, checkAndRemove, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, removeChild, replaceChild |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Methods inherited from interface org.w3c.dom.mathml.MathMLContainer |
---|
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclaration |
Field Detail |
---|
public static final String ATTR_SCRIPTMINSIZE
public static final String ATTR_SCRIPTLEVEL
public static final String ATTR_SCRIPTSIZEMULTIPLIER
public static final String ATTR_DISPLAYSTYLE
public static final String ELEMENT
Constructor Detail |
---|
public Mstyle(String qname, AbstractDocument odoc)
qname
- Qualified name.odoc
- Owner Document.Method Detail |
---|
protected Node newNode()
newNode
in class GenericElementNS
public String getScriptlevel()
MathMLStyleElement
getScriptlevel
in interface MathMLStyleElement
public void setScriptlevel(String scriptlevel)
MathMLStyleElement
setScriptlevel
in interface MathMLStyleElement
scriptlevel
- script levelMathMLStyleElement.getScriptlevel()
public String getScriptminsize()
MathMLStyleElement
getScriptminsize
in interface MathMLStyleElement
public void setScriptminsize(String scriptminsize)
MathMLStyleElement
setScriptminsize
in interface MathMLStyleElement
scriptminsize
- Minimum of script sizeMathMLStyleElement.getScriptminsize()
public LayoutContext getChildLayoutContext(int childNum, LayoutContext context)
getChildLayoutContext
in interface JEuclidNode
getChildLayoutContext
in class AbstractJEuclidElement
childNum
- 0-based number of the child to check.context
- external context.
public String getBackground()
getBackground
in interface MathMLStyleElement
public String getColor()
public String getDisplaystyle()
getDisplaystyle
in interface MathMLStyleElement
public String getScriptsizemultiplier()
getScriptsizemultiplier
in interface MathMLStyleElement
public void setBackground(String background)
setBackground
in interface MathMLStyleElement
background
- new value for background.MathMLStyleElement.getBackground()
public void setColor(String color)
public void setDisplaystyle(String displaystyle)
setDisplaystyle
in interface MathMLStyleElement
displaystyle
- new value for displaystyle.MathMLStyleElement.getDisplaystyle()
public void setScriptsizemultiplier(String scriptsizemultiplier)
setScriptsizemultiplier
in interface MathMLStyleElement
scriptsizemultiplier
- new value for scriptsizemultiplier.MathMLStyleElement.getScriptsizemultiplier()
public String getMediummathspace()
getMediummathspace
in interface MathMLStyleElement
public String getNegativemediummathspace()
getNegativemediummathspace
in interface MathMLStyleElement
public String getNegativethickmathspace()
getNegativethickmathspace
in interface MathMLStyleElement
public String getNegativethinmathspace()
getNegativethinmathspace
in interface MathMLStyleElement
public String getNegativeverythickmathspace()
getNegativeverythickmathspace
in interface MathMLStyleElement
public String getNegativeverythinmathspace()
getNegativeverythinmathspace
in interface MathMLStyleElement
public String getNegativeveryverythickmathspace()
getNegativeveryverythickmathspace
in interface MathMLStyleElement
public String getNegativeveryverythinmathspace()
getNegativeveryverythinmathspace
in interface MathMLStyleElement
public String getThickmathspace()
getThickmathspace
in interface MathMLStyleElement
public String getThinmathspace()
getThinmathspace
in interface MathMLStyleElement
public String getVerythickmathspace()
getVerythickmathspace
in interface MathMLStyleElement
public String getVerythinmathspace()
getVerythinmathspace
in interface MathMLStyleElement
public String getVeryverythickmathspace()
getVeryverythickmathspace
in interface MathMLStyleElement
public String getVeryverythinmathspace()
getVeryverythinmathspace
in interface MathMLStyleElement
public void setMediummathspace(String mediummathspace)
setMediummathspace
in interface MathMLStyleElement
mediummathspace
- new value for mediummathspace.MathMLStyleElement.getMediummathspace()
public void setNegativemediummathspace(String negativemediummathspace)
setNegativemediummathspace
in interface MathMLStyleElement
negativemediummathspace
- new value for negativemediummathspace.MathMLStyleElement.getNegativemediummathspace()
public void setNegativethickmathspace(String negativethickmathspace)
setNegativethickmathspace
in interface MathMLStyleElement
negativethickmathspace
- new value for negativethickmathspace.MathMLStyleElement.getNegativethickmathspace()
public void setNegativethinmathspace(String negativethinmathspace)
setNegativethinmathspace
in interface MathMLStyleElement
negativethinmathspace
- new value for negativethinmathspace.MathMLStyleElement.getNegativethinmathspace()
public void setNegativeverythickmathspace(String negativeverythickmathspace)
setNegativeverythickmathspace
in interface MathMLStyleElement
negativeverythickmathspace
- new value for negativeverythickmathspace.MathMLStyleElement.getNegativeverythickmathspace()
public void setNegativeverythinmathspace(String negativeverythinmathspace)
setNegativeverythinmathspace
in interface MathMLStyleElement
negativeverythinmathspace
- new value for negativeverythinmathspace.MathMLStyleElement.getNegativeverythinmathspace()
public void setNegativeveryverythickmathspace(String negativeveryverythickmathspace)
setNegativeveryverythickmathspace
in interface MathMLStyleElement
negativeveryverythickmathspace
- new value for negativeveryverythickmathspace.MathMLStyleElement.getNegativeveryverythickmathspace()
public void setNegativeveryverythinmathspace(String negativeveryverythinmathspace)
setNegativeveryverythinmathspace
in interface MathMLStyleElement
negativeveryverythinmathspace
- new value for negativeveryverythinmathspace.MathMLStyleElement.getNegativeveryverythinmathspace()
public void setThickmathspace(String thickmathspace)
setThickmathspace
in interface MathMLStyleElement
thickmathspace
- new value for thickmathspace.MathMLStyleElement.getThickmathspace()
public void setThinmathspace(String thinmathspace)
setThinmathspace
in interface MathMLStyleElement
thinmathspace
- new value for thinmathspace.MathMLStyleElement.getThinmathspace()
public void setVerythickmathspace(String verythickmathspace)
setVerythickmathspace
in interface MathMLStyleElement
verythickmathspace
- new value for verythickmathspace.MathMLStyleElement.getVerythickmathspace()
public void setVerythinmathspace(String verythinmathspace)
setVerythinmathspace
in interface MathMLStyleElement
verythinmathspace
- new value for verythinmathspace.MathMLStyleElement.getVerythinmathspace()
public void setVeryverythickmathspace(String veryverythickmathspace)
setVeryverythickmathspace
in interface MathMLStyleElement
veryverythickmathspace
- new value for veryverythickmathspace.MathMLStyleElement.getVeryverythickmathspace()
public void setVeryverythinmathspace(String veryverythinmathspace)
setVeryverythinmathspace
in interface MathMLStyleElement
veryverythinmathspace
- new value for veryverythinmathspace.MathMLStyleElement.getVeryverythinmathspace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |