public class LaTeXFormula
extends java.lang.Object
getNormal()
to get the normal
state of the formula and getHighlighted()
to get the highlighted state.Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanParameter(int index)
Gets a parameter as a boolean.
|
java.lang.String |
getExpression()
Gets the latex expression.
|
float |
getFloatParameter(int index)
Gets a parameter as a float.
|
org.scilab.forge.jlatexmath.TeXIcon |
getHighlighted()
Gets the highlighted formula.
|
int |
getIntParameter(int index)
Gets a parameter as a integer.
|
org.scilab.forge.jlatexmath.TeXIcon |
getNormal()
Gets the normal formula.
|
int |
getParameterCount()
Gets the number of parameters that the formula has.
|
java.lang.String |
getParameters()
Gets the parameter string of the formula.
|
AlgorithmStep |
getStep()
Gets the corresponding step.
|
java.lang.String |
getStringParameter(int index)
Gets a parameter as a string.
|
java.lang.String |
toString() |
public final AlgorithmStep getStep()
public final java.lang.String getExpression()
public final java.lang.String getParameters()
public final int getParameterCount()
public final java.lang.String getStringParameter(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- the index of the parameterjava.lang.ArrayIndexOutOfBoundsException
- index < 0 || index >= getParameterCount()
)public final int getIntParameter(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- the index of the parameterjava.lang.ArrayIndexOutOfBoundsException
- index < 0 || index >= getParameterCount()
)public final float getFloatParameter(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- the index of the parameterjava.lang.ArrayIndexOutOfBoundsException
- index < 0 || index >= getParameterCount()
)public final boolean getBooleanParameter(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- the index of the parameterjava.lang.ArrayIndexOutOfBoundsException
- index < 0 || index >= getParameterCount()
)public final org.scilab.forge.jlatexmath.TeXIcon getNormal()
public final org.scilab.forge.jlatexmath.TeXIcon getHighlighted()
public java.lang.String toString()
toString
in class java.lang.Object