public class MathematicalTextFactory extends java.lang.Object implements IMathematicalTextFactory
Allows to create a MathematicalText element
Constructor and Description |
---|
MathematicalTextFactory() |
Modifier and Type | Method and Description |
---|---|
IMathematicalText |
createMathematicalText()
Create empty mathematical text element
|
IMathematicalText |
createMathematicalText(char mathSymbol)
Create mathematical text element with the specified value
|
IMathematicalText |
createMathematicalText(java.lang.String mathText)
Create empty mathematical text element with the specified value
|
IMathematicalText |
createMathematicalText(java.lang.String mathText,
IPortionFormat portionFormat)
Create empty mathematical text element with the specified value and formatting properties
|
public final IMathematicalText createMathematicalText()
Create empty mathematical text element
createMathematicalText
in interface IMathematicalTextFactory
public final IMathematicalText createMathematicalText(char mathSymbol)
Create mathematical text element with the specified value
createMathematicalText
in interface IMathematicalTextFactory
mathSymbol
- single symbol to use as text valuepublic final IMathematicalText createMathematicalText(java.lang.String mathText)
Create empty mathematical text element with the specified value
createMathematicalText
in interface IMathematicalTextFactory
mathText
- text valuepublic final IMathematicalText createMathematicalText(java.lang.String mathText, IPortionFormat portionFormat)
Create empty mathematical text element with the specified value and formatting properties
createMathematicalText
in interface IMathematicalTextFactory
mathText
- text valueportionFormat
- text format settings