public final class MathSuperscriptElement extends BaseScript implements IMathSuperscriptElement
Specifies the superscript object, which consists of a base and a reduced-size superscript placed above and to the right
Example:IMathSuperscriptElement superscriptElement = new MathematicalText("N").setSuperscript("i");
Constructor and Description |
---|
MathSuperscriptElement(IMathElement baseArg,
IMathElement superScript)
Initializes a new instance of the MathSuperscriptElement class.
|
Modifier and Type | Method and Description |
---|---|
IMathElement[] |
getChildren()
Get children elements
|
IMathElement |
getSuperscript()
Superscript
|
getBase, getControlCharacterProperties
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, getParent_Immediate, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbar
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBase
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbar
public MathSuperscriptElement(IMathElement baseArg, IMathElement superScript)
Initializes a new instance of the MathSuperscriptElement class.
Example:IMathElement baseElement = new MathematicalText("X"); IMathElement superscript = new MathematicalText("i"); MathSuperscriptElement superscriptElement = new MathSuperscriptElement(baseElement, superscript);
public final IMathElement getSuperscript()
Superscript
Example:IMathElement baseElement = new MathematicalText("X"); IMathElement superscript = new MathematicalText("i"); MathSuperscriptElement superscriptElement = new MathSuperscriptElement(baseElement, superscript); IMathElement super = superscriptElement.getSuperscript();
getSuperscript
in interface IMathSuperscriptElement
public final IMathElement[] getChildren()
Get children elements
getChildren
in interface IMathElement
getChildren
in class MathElementBase
IMathElement